20.06.2014, 07:53
@BeforeCheck / @CustomCommand added.
Usage example: https://github.com/Shoebill/example-...19ef24e33323d5
Usage example: https://github.com/Shoebill/example-...19ef24e33323d5
Code:
@BeforeCheck public boolean checkPremission(Player p, String cmd, String params) { return p.isAdmin(); } @CustomCommand public boolean customHandler(Player p, String cmd, String params) { // If the command has been processed, return true return false; }