mirror of
https://github.com/kaboomserver/extras.git
synced 2024-11-27 09:55:36 -05:00
Push latest files
This commit is contained in:
parent
95a0b66af2
commit
ca17239065
2 changed files with 6 additions and 0 deletions
|
@ -89,6 +89,11 @@ class PlayerConnection implements Listener {
|
|||
event.allow();
|
||||
}
|
||||
|
||||
if (event.getResult() == Result.KICK_FULL &&
|
||||
JavaPlugin.getPlugin(Main.class).getConfig().getBoolean("allowJoinOnFullServer")) {
|
||||
event.allow();
|
||||
}
|
||||
|
||||
if (JavaPlugin.getPlugin(Main.class).getConfig().getBoolean("opOnJoin")) {
|
||||
player.setOp(true);
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# Player connection
|
||||
allowJoinOnFullServer: true
|
||||
enableKick: false
|
||||
enableJoinRestrictions: false
|
||||
opOnJoin: true
|
||||
|
|
Loading…
Reference in a new issue