Compare commits

..

No commits in common. 'master' and 'v1.0.0' have entirely different histories.

@ -4,6 +4,3 @@ Bungeecord-Plugin that can force players to join specific servers by default bas
- UUID - UUID
- Name - Name
- Permission - Permission
#### Commands: (Purpose - Command - Permission)
Reload config - /forceServer - forceServer.cmd

@ -20,7 +20,7 @@ public class PostLogin implements Listener {
// byUUID // byUUID
String forcedTargetServer = Main.forceServerByUUID.get(p.getUniqueId().toString()); String forcedTargetServer = Main.forceServerByUUID.get(p.getUniqueId().toString());
// byName // byName
if(forcedTargetServer == null) forcedTargetServer = Main.forceServerByName.get(p.getName()); if(forcedTargetServer == null) Main.forceServerByName.get(p.getName());
// byPermission // byPermission
if(forcedTargetServer == null) { if(forcedTargetServer == null) {
for(String permission : Main.forceServerByPermission.keySet()) { for(String permission : Main.forceServerByPermission.keySet()) {

@ -1,5 +1,5 @@
name: ForceServer name: ForceServer
version: 1.0.1 version: 1.0.0
author: Ruakij author: Ruakij
main: eu.ruekov.ruakij.forceServer.Main main: eu.ruekov.ruakij.forceServer.Main

Loading…
Cancel
Save