mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-28 00:17:11 +00:00
Implement spawn-on-join configuration.
Admins can now specify whether all joining players should be teleported to the user's group spawn when joining the server. Players can be assigned the essentials.spawn-on-join.exempt permission to become exempt from this feature.
This commit is contained in:
parent
a267fb16b8
commit
b673630a7e
5 changed files with 34 additions and 2 deletions
|
@ -1163,4 +1163,9 @@ public class Settings implements net.ess3.api.ISettings {
|
|||
public boolean isWorldTimePermissions() {
|
||||
return config.getBoolean("world-time-permissions", false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSpawnOnJoin() {
|
||||
return config.getBoolean("spawn-on-join", false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue