EssentialsX

EssentialsX

2M Downloads

/toggleshout crashes server when it's disabled under disabled-commands

jensk-dev opened this issue ยท 0 comments

commented

Type of bug

Data loss, Exploit, Error in console

/ess dump all output

https://essentialsx.net/dump.html?id=efa7d1ae6cbd4dd2b8c4d1af9e721f76

Error log (if applicable)

https://gist.githubusercontent.com/jensk-dev/ef1799384e372d1a1576375d294333ca/raw/759d5d903616b96c96f092bb6790791b8a07fd16/2021-12-11-4.log

Bug description

Whenever the toggleshout command is disabled under the disabled commands section of the config, and someone tries to run the command in game, regardless of permission level, the server crashes.

Steps to reproduce

Disable 'toggleshout' under disabled-commands
Start server (paper, essentialsx, essxchat, essxprotect, essxspawn)
call /toggleshout in game

Expected behaviour

The expected behaviour would be: 'Unknown command. Type "/help" for help.'

Actual behaviour

"Crashes" server, no verbose error messages in log file or console. Instead just looks like it shuts down the server