Compare commits

...

4 Commits

Author SHA1 Message Date
Ruakij fd8a546899 Changed version 4 years ago
Ruakij 75353fb6c5 Merge remote-tracking branch 'origin/master' 4 years ago
Ruakij 60693026ef Fixed byName not working 4 years ago
Ruakij 124449a981 Added commands-section 4 years ago

@ -4,3 +4,6 @@ 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) Main.forceServerByName.get(p.getName()); if(forcedTargetServer == null) forcedTargetServer = 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.0 version: 1.0.1
author: Ruakij author: Ruakij
main: eu.ruekov.ruakij.forceServer.Main main: eu.ruekov.ruakij.forceServer.Main

Loading…
Cancel
Save