Custom mcCommands
Fliberatto opened this issue ยท 2 comments
How to properly add custom commands? I'm trying to get the bot to OP someone.
I'm using the latest version in a Forge server.
Here is the default json, but with an /op command added
customCommandJSON = "{"kick":{"adminOnly":true,"mcCommand":"kick","description":"Kicks a player from the server","useArgs":true,"argText":" [reason]"},"stop":{"adminOnly":true,"mcCommand":"stop","description":"Stops the server","aliases":["shutdown"],"useArgs":false},"kill":{"adminOnly":true,"mcCommand":"kill","description":"Kills a player","useArgs":true,"argText":""},"op":{"adminOnly":true,"mcCommand":"op","description":"OPs a player","useArgs":true,"argText":""}}"