From eb7a1660629bbbd06d35af210679d6065202d4de Mon Sep 17 00:00:00 2001 From: roDEV0 <214171317+CreVolve-Dev@users.noreply.github.com> Date: Sat, 3 Jan 2026 17:33:57 -0500 Subject: [PATCH] FIXING THE MAJOR ISSUE The reason people change their town name to strange things like !America and "Europe" is because it has been proven time and time again that having names like that naturally attracts new players to their town. There is an easy way to save yourselves the headache of having to go into EMC and changing names manually when they break the naming rules. Simply just randomize the tab autocomplete function and there will no longer be any incentive to have a weirdly named town. Towns shouldn't have a natural advantage if they appear early in the alphabet or Unicode order. They should have to recruit evenly with everyone else. --- .../com/palmergames/bukkit/towny/command/TownCommand.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Towny/src/main/java/com/palmergames/bukkit/towny/command/TownCommand.java b/Towny/src/main/java/com/palmergames/bukkit/towny/command/TownCommand.java index 7e6934c691..e811f7588b 100644 --- a/Towny/src/main/java/com/palmergames/bukkit/towny/command/TownCommand.java +++ b/Towny/src/main/java/com/palmergames/bukkit/towny/command/TownCommand.java @@ -319,7 +319,6 @@ public List onTabComplete(CommandSender sender, Command command, String case "outlawlist": case "plots": case "delete": - case "join": case "merge": case "plotgrouplist": case "allylist": @@ -329,6 +328,12 @@ public List onTabComplete(CommandSender sender, Command command, String if (args.length == 2) return getTownyStartingWith(args[1], "t"); break; + case "join": + if (args.length == 2) { + List randTowns = getTownyStartingWith(args[1], "t"); + Collections.shuffle(randTowns); + return randTowns;} + break; case "deposit": if (args.length == 3) return getTownyStartingWith(args[2], "t");