Added that Players do not drop items and exp if they died. I've also added a second option that teleports them back to their old position after respawn. This only works if they did not died in lava or other "unreachable" positions. I need some Feedback on this one and please let me know if I missed something. Consider this Feature as "In Development" until stated otherwise.
This is the part of the config you have to update/add. Marked with '>>' | '< ... >' means just a skip so I don't have to copy the full config again.
You can find the full config on the main page!
Code (YAML):
<
...> # # GuestsCanChat - If this is disabled your Guests can no longer use chat to talk. # If you run Commands on Join you need to set RunCommandsAs to 'Console' for them to work. # >>
# GuestsCanDie - If disabled your Guests are unable to die >>
# They also do not drop EXP and Items and should never see any Deathscreen >>
# There's also no message in chat >>
# >>
# Set OldPositionOnDeath to true if you want them to teleport back >>
# to their old position if they died. This will not work if they died in Lava >>
# and (based on your feedback) other "unreachable" positions. >>
# HealGuests: false
DisableHunger: false
GamemodeOnJoin: 'Adventure'
CommandsToRun: - 'lp user <Player> permission set group.member true'
- 'lp user <Player> permission unset group.default'
- 'gamemode survival <Player>'
CommandsOnJoin: [] RunCommandsAs: Console
DisallowMultipleUnguest: true
GuestsCanChat: true
>> GuestsCanDie: true
>> OldPositionOnDeath: false
<
...>
As always: Thanks for using (or still using) my Plugin. <3