Races can now have their own spawn-locations! This is defaulted to the spawn-point of the world "world", but is easily modifiable by using /races setspawn <race> enabled: Whether or not to enable this function. This will disable /race spawn, but will allow people with racesofthana.spawn.override to still teleport to a race's location using /races spawn <race>. Command requires racesofthana.spawn to be used, default set to true location: The location of a race's spawn-location
+ Modified lang.yml: Added teleport-race-spawn
Code (YAML):
prefix: "&9Races of Thana&c:" refund-token: "&cYou were given back your token!" give-wrong-item: "&cThat is not a race-token!" teleport-race-spawn: "&cYou have been teleported!"
This message will be sent, along with the prefix, upon teleporting to a race's spawn.
This will automatically be added into your lang.yml once you updated the plugin!
+ New permission-nodes: Added racesofthana.setspawn, .spawn, .spawn.override
Code (YAML):
permissions:
racesofthana.gui:
default: op
racesofthana.gui.others:
default: op
racesofthana.reload:
default: op
racesofthana.setrace:
default: op
racesofthana.setspawn:
default: op
racesofthana.spawn:
default: true
racesofthana.spawn.override:
default: op
racesofthana.token:
default: op
racesofthana.inspect:
default: true
racesofthana.inspect.others:
default: op
racesofthana.preview:
default: true
racesofthana.about:
default: true