canary
canary copied to clipboard
make the usage of the reload script be dictated by config.lua
This PR is now making the availability of the reload command configurable via the config.lua
.
Setting the new global var allowReload
to true, will make the command be usable, if set to false (which is now the default), the command will not work and the player will get a cancel message saying Reload command is disabled.
.
Due to recent changes, the datapack global was migrated to canary repository. You need to change the reload script on data-otservbr-global too. Thanks.
Fair. Will update the PR later today. Thanks for the heads up!