Added title command and API for resetting title duration

This commit is contained in:
TheDiamondYT1
2017-04-27 16:38:51 +01:00
committed by Dylan K. Taylor
parent 84ec944b6b
commit 653b6b55a9
4 changed files with 125 additions and 2 deletions

View File

@ -124,6 +124,7 @@ abstract class DefaultPermissions{
self::registerPermission(new Permission(self::ROOT . ".command.spawnpoint", "Allows the user to change player's spawnpoint", Permission::DEFAULT_OP), $commands);
self::registerPermission(new Permission(self::ROOT . ".command.setworldspawn", "Allows the user to change the world spawn", Permission::DEFAULT_OP), $commands);
self::registerPermission(new Permission(self::ROOT . ".command.transferserver", "Allows the user to transfer self to another server", Permission::DEFAULT_OP), $commands);
self::registerPermission(new Permission(self::ROOT . ".command.title", "Allows the user to send a title to the specified player", Permission::DEFAULT_OP), $commands);
$commands->recalculatePermissibles();