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
- Name
- Permission
#### Commands: (Purpose - Command - Permission)
Reload config - /forceServer - forceServer.cmd

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

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

Loading…
Cancel
Save