Add more information to /ld scoreboard
This commit is contained in:
parent
39489d0080
commit
4887491f10
@ -135,13 +135,14 @@ public class LDScoreboard implements LDCommand {
|
|||||||
|
|
||||||
if (!DisguiseAPI.isDisguised(player)) {
|
if (!DisguiseAPI.isDisguised(player)) {
|
||||||
LibsMsg.DMODPLAYER_NODISGUISE.send(sender, player.getName());
|
LibsMsg.DMODPLAYER_NODISGUISE.send(sender, player.getName());
|
||||||
|
LibsMsg.DISGUISE_REQUIRED.send(sender);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else if (sender instanceof Player) {
|
} else if (sender instanceof Player) {
|
||||||
player = (Player) sender;
|
player = (Player) sender;
|
||||||
|
|
||||||
if (!DisguiseAPI.isDisguised(player)) {
|
if (!DisguiseAPI.isDisguised(player)) {
|
||||||
LibsMsg.NOT_DISGUISED.send(sender);
|
LibsMsg.DISGUISE_REQUIRED.send(sender);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -160,6 +160,7 @@ public enum LibsMsg {
|
|||||||
"Ignored %s methods you do not have permission to use. Add 'show' to view unusable methods."),
|
"Ignored %s methods you do not have permission to use. Add 'show' to view unusable methods."),
|
||||||
OWNED_BY(ChatColor.GOLD + "Plugin registered to '%%__USER__%%'!"),
|
OWNED_BY(ChatColor.GOLD + "Plugin registered to '%%__USER__%%'!"),
|
||||||
NOT_DISGUISED(ChatColor.RED + "You are not disguised!"),
|
NOT_DISGUISED(ChatColor.RED + "You are not disguised!"),
|
||||||
|
DISGUISE_REQUIRED(ChatColor.RED + "You must be disguised to run this command!"),
|
||||||
TARGET_NOT_DISGUISED(ChatColor.RED + "That entity is not disguised!"),
|
TARGET_NOT_DISGUISED(ChatColor.RED + "That entity is not disguised!"),
|
||||||
NOT_NUMBER(ChatColor.RED + "Error! %s is not a number"),
|
NOT_NUMBER(ChatColor.RED + "Error! %s is not a number"),
|
||||||
PARSE_CANT_DISG_UNKNOWN(ChatColor.RED + "Error! You cannot disguise as " + ChatColor.GREEN + "Unknown!"),
|
PARSE_CANT_DISG_UNKNOWN(ChatColor.RED + "Error! You cannot disguise as " + ChatColor.GREEN + "Unknown!"),
|
||||||
@ -315,7 +316,8 @@ public enum LibsMsg {
|
|||||||
"On scoreboard team '%s' with pushing disabled! If you're still having issues and you are disguised right" +
|
"On scoreboard team '%s' with pushing disabled! If you're still having issues and you are disguised right" +
|
||||||
" now, then " +
|
" now, then " +
|
||||||
"you have a plugin modifying scoreboard through packets. Example of this is a plugin that modifies your " +
|
"you have a plugin modifying scoreboard through packets. Example of this is a plugin that modifies your " +
|
||||||
"name above head, or the tablist. Check their configs for pushing disabling options"),
|
"name above head, or the tablist. Check their configs for pushing disabling options\nSay 'I read to the end' if you " +
|
||||||
|
"still need help with this, or we'll assume you can't read."),
|
||||||
LIBS_SCOREBOARD_DISABLED(
|
LIBS_SCOREBOARD_DISABLED(
|
||||||
"The scoreboard modification has been disabled in config, will continue the debug incase this is intended" +
|
"The scoreboard modification has been disabled in config, will continue the debug incase this is intended" +
|
||||||
"."),
|
"."),
|
||||||
|
Loading…
Reference in New Issue
Block a user