Adding a message + fixing perm bug

This commit is contained in:
Ad5001 2017-03-05 22:01:59 +01:00
父節點 dffd800ac8
當前提交 d6ed965925
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: F05C5A0D59BC40DD
共有 2 個文件被更改,包括 8 次插入1 次删除

查看文件

@ -20,5 +20,10 @@ commands:
hideandseek:
description: Main HideAndSeek management command
usage: /hideandseek <sub command> [parameters]
permissions: []
permission: hideandseek.cmd
aliases: [hide&seek, h&s]
permissions:
hideandseek.cmd:
default: op
description: /hideandseek permission
...

查看文件

@ -187,6 +187,8 @@ A
$p->sendPopup("§lHider: You have 1 minute to hide yourself so seekers won't find you ! Don't get caught for " . $this->getSeekTime() . " minutes to win !");
}
}
} else {
$sender->sendMessage(self::PREFIX . "§cThere must be atleast 2 players in your game to force start it.");
}
return true;
} else {