diff --git a/src/main/java/me/libraryaddict/disguise/commands/libsdisguises/LDScoreboard.java b/src/main/java/me/libraryaddict/disguise/commands/libsdisguises/LDScoreboard.java index 72c986d4..dd8c4741 100644 --- a/src/main/java/me/libraryaddict/disguise/commands/libsdisguises/LDScoreboard.java +++ b/src/main/java/me/libraryaddict/disguise/commands/libsdisguises/LDScoreboard.java @@ -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 diff --git a/src/main/java/me/libraryaddict/disguise/utilities/translations/LibsMsg.java b/src/main/java/me/libraryaddict/disguise/utilities/translations/LibsMsg.java index f4bb7851..a34ba962 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/translations/LibsMsg.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/translations/LibsMsg.java @@ -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" +