Skip to content

Commit

Permalink
1.0.4
Browse files Browse the repository at this point in the history
fixes various bugs
  • Loading branch information
Leeewith3Es authored Jan 30, 2020
1 parent 1c049df commit 27e018c
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void onSend(ServerConnectEvent e) {
final String originalTarget = e.getTarget().getName();
// Send the player to the limbo and send a message.
e.setTarget(limbo);
player.sendMessage(ChatMessageType.ACTION_BAR, TextComponent.fromLegacyText(ChatColor.translateAlternateColorCodes('&',
player.sendMessage(ChatMessageType.CHAT, TextComponent.fromLegacyText(ChatColor.translateAlternateColorCodes('&',
Lang.SEND_TO_LIMBO.replace("<global_slots>", Lang.GLOBAL_SLOTS + ""))));
// Store the data concerning the player's destination
QueuePlugin.final_destination.put(player.getUniqueId(), originalTarget);
Expand Down Expand Up @@ -81,7 +81,7 @@ public static void moveQueue() {
Entry<UUID, String> entry = QueuePlugin.final_destination.entrySet().iterator().next();
ProxiedPlayer player = ProxyServer.getInstance().getPlayer(entry.getKey());
player.connect(ProxyServer.getInstance().getServerInfo(entry.getValue()));
player.sendMessage(ChatMessageType.ACTION_BAR, TextComponent.fromLegacyText(ChatColor.translateAlternateColorCodes('&',
player.sendMessage(ChatMessageType.CHAT, TextComponent.fromLegacyText(ChatColor.translateAlternateColorCodes('&',
Lang.LEFT_LIMBO_JOIN_SERVER.replace("<server>", entry.getValue()))));
QueuePlugin.final_destination.remove(entry.getKey());

Expand Down
6 changes: 3 additions & 3 deletions BungeeQueue-master/src/main/resources/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#LeeesBungeeQueue Configuration V1.0.2
#LeeesBungeeQueue Configuration V1.0.4
#make sure the queue server is called queue in the bungee config
#and then make the main server the default one you login to
#and then it should work if it doesnt add me on discord for help
Expand All @@ -18,8 +18,8 @@ LEFT_LIMBO_JOIN_SERVER: "&6Connecting to <server>"
#Max players allowed onto main server
GLOBAL_SLOTS: 100

#Max priority Users online doesnt work yet
SUPER_SLOTS: 200
#Max users allowed to be connected to the queue server at once
SUPER_SLOTS: 9000

#bypass the queue permission
QUEUE_OVERRIDE_PERMISSION: "queue.override"
2 changes: 1 addition & 1 deletion BungeeQueue-master/src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: LeeesBungeeQueue
main: Leees.Bungee.Queue.QueuePlugin
version: 1.0.2
version: 1.0.4
author: Nate, Legault
Binary file not shown.
6 changes: 3 additions & 3 deletions BungeeQueue-master/target/classes/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#LeeesBungeeQueue Configuration V1.0.2
#LeeesBungeeQueue Configuration V1.0.4
#make sure the queue server is called queue in the bungee config
#and then make the main server the default one you login to
#and then it should work if it doesnt add me on discord for help
Expand All @@ -18,8 +18,8 @@ LEFT_LIMBO_JOIN_SERVER: "&6Connecting to <server>"
#Max players allowed onto main server
GLOBAL_SLOTS: 100

#Max priority Users online doesnt work yet
SUPER_SLOTS: 200
#Max users allowed to be connected to the queue server at once
SUPER_SLOTS: 9000

#bypass the queue permission
QUEUE_OVERRIDE_PERMISSION: "queue.override"
2 changes: 1 addition & 1 deletion BungeeQueue-master/target/classes/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: LeeesBungeeQueue
main: Leees.Bungee.Queue.QueuePlugin
version: 1.0.2
version: 1.0.4
author: Nate, Legault

0 comments on commit 27e018c

Please sign in to comment.