Examples/Example01
Example 1
A single home for every world set by bet click. No commands in use at all. Player death results in going to bed home on local world or local spawn if no home is set (ie. player always stays on local world)
The default config has this flag set:
# config.yml core: bedsethome: true
so as a result, all you need to do for this example is assign the permission 'hsp.home.bedsethome' to your users and they will be able to set their home just by right-clicking on a bed.
To set the player death behavior:
# config.yml events: onDeath: - homeLocalWorld - spawnLocalWorld
With this strategy setting, players who die will go to their home on the local world (if set) and if no home is set, they will go to the spawn on the local world.
Comments