Start to use
About 303 wordsAbout 1 min
After completing installation, you are able to set the spawn point priorities for players.
Remember the priorities, local > group > default spawn point.
Plugin will choose the highest priority spawning point (if exist) for player.
Default
Execute /sp set to set the default spawn point of ALL PLAYERS.
This spawn point has the lowest priority.
Group
Go to config.yml, create a new group.
settings:
global:
group-spawn:
enable: true
groups:
example:
# custom permission node
# players who have this permission will join this group
permission: spawnplus.group.example
# spawn point
# please change it in game through command
#location:
vip:
permission: spawnplus.group.vip
#location:Execute /sp set group <group> to set the spawn point for ALL PLAYERS IN GROUP.
Players who have the permission will automatically join the group.
This spawn point has the second priority.
Local
Execute /sp set local <player> to set the local spawn point of the SINGLE PLAYER.
If the local spawn point existed, the player would be spawned at it.
This spawn point has the highest priority.
If you don't want to allow the players respawning to local spawn point if they are not dead in the same world, you can see the following settings.
local:
enable: true
# if this is enabled
# players who have set up the local spawn point
# will only spawn at this location if they are dead in that world
single-world-only: true
# the spawn point are all saved in spawns.ymlYou can set the price for respawning in local spawn point, which is requiring Vault as the dependency.
money-cost:
amount: 500.0
back-to: default
# player needs to spend money (need Vault) to spawn at the local spawn point,
# or they will get teleported to the default/group spawn point