Add warning for /ld scoreboard on tab user detected
This commit is contained in:
parent
862d186f36
commit
d82f8ac046
@ -166,6 +166,10 @@ public class LDScoreboard implements LDCommand {
|
||||
}
|
||||
|
||||
LibsMsg.LIBS_SCOREBOARD_SUCCESS.send(sender, team.getName());
|
||||
|
||||
if (Bukkit.getPluginManager().getPlugin("TAB") != null) {
|
||||
LibsMsg.PLUGIN_TAB_DETECTED.send(sender);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -312,11 +312,15 @@ public enum LibsMsg {
|
||||
ITEM_SIMPLE_STRING_NO_COPY(ChatColor.GOLD + "Simple: " + ChatColor.YELLOW + "%s"),
|
||||
LIBS_SCOREBOARD_NO_TEAM(ChatColor.RED + "Not on a scoreboard team!"),
|
||||
LIBS_SCOREBOARD_NO_TEAM_PUSH(ChatColor.RED + "On scoreboard team '%s' and pushing is enabled! (That's bad)"),
|
||||
PLUGIN_TAB_DETECTED(ChatColor.RED + "TAB has been detected! This is a huge culprit! Check the TAB config and set " +
|
||||
ChatColor.GREEN + "enable-collision: true" + ChatColor.RED + " to " + ChatColor.DARK_GREEN +
|
||||
"enable-collision: false"),
|
||||
LIBS_SCOREBOARD_SUCCESS(ChatColor.GOLD +
|
||||
"On scoreboard team '%s' with pushing disabled! If you're still having issues and you are disguised right" +
|
||||
" now, then " +
|
||||
"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\nSay 'I read to the end' if you " +
|
||||
"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(
|
||||
"The scoreboard modification has been disabled in config, will continue the debug incase this is intended" +
|
||||
|
Loading…
Reference in New Issue
Block a user