This update is tested for 1.20
Also in this update, a built-in /back command was added. By default, it is disabled. You can customize the command settings with a new configuration section.
Code (YAML):
back-command
:
# register a back command for DenyBack - The command will show up in tab complete when the server restarts
register
: false
# send player back to the last location that they are allowed to go
use-last-available-location
: true
# how many seconds before player will be teleported
teleport-delay
: 0
# message sent to player when they use the command
message
: '&6Returning to previous location.'
To enable the command, set register to true.