15.7
- Bugfix: If a t2code plugin could not be checked for an update, it was not possible to use the info command of the respective plugin and the command '/t2c updateinfo <plugin>'. - The message at the command '/t2code updatinfo <plugin>' was slightly adjusted
This commit is contained in:
@@ -52,6 +52,13 @@ public class CmdExecuter implements CommandExecutor, TabCompleter {
|
||||
}
|
||||
Commands.updateInfo(sender, args);
|
||||
return false;
|
||||
// case "plugininfo": todo
|
||||
// if (!sender.hasPermission("t2code.admin")) {
|
||||
// T2Csend.sender(sender, "§4No Permission §8t2code.admin");
|
||||
// return false;
|
||||
// }
|
||||
// Commands.updateInfo(sender, args);
|
||||
// return false;
|
||||
case "reloadconfig":
|
||||
if (!sender.hasPermission("t2code.admin")) {
|
||||
T2Csend.sender(sender, "§4No Permission §8t2code.admin");
|
||||
@@ -74,10 +81,11 @@ public class CmdExecuter implements CommandExecutor, TabCompleter {
|
||||
}
|
||||
Commands.test(sender, args);
|
||||
return false;
|
||||
case "serverid":if (!sender.hasPermission("t2code.admin")) {
|
||||
T2Csend.sender(sender, "§4No Permission §8t2code.admin");
|
||||
return false;
|
||||
}
|
||||
case "serverid":
|
||||
if (!sender.hasPermission("t2code.admin")) {
|
||||
T2Csend.sender(sender, "§4No Permission §8t2code.admin");
|
||||
return false;
|
||||
}
|
||||
T2Csend.sender(sender, ("[prefix] <red>T2C ServerID:</red> <gold><hover:show_text:'<yellow>copy</yellow>'>" +
|
||||
"<click:copy_to_clipboard:[id]>[id]</click></hover></gold>").replace("[prefix]", Util.getPrefix()).replace("[id]", String.valueOf(Util.getServerUUID())));
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user