About Chat Commands
{ "Commands": { "discord": { "Reply": "<color=red>[ChatCommands]:</color> Join our Discord server: discord.gg/example", "CooldownMinutes": 60.0 }, "website": { "Reply": "<color=red>[ChatCommands]:</color> Visit our website at: www.example.com", "CooldownMinutes": 120.0 }, "help": { "Reply": "<color=red>[ChatCommands]:</color> Need help? Contact our support team: [email protected]", "CooldownMinutes": 180.0 }, "vote": { "Reply": "<color=red>[ChatCommands]:</color> Vote for our server: vote.example.com", "CooldownMinutes": 240.0 }, "rules": { "Reply": "<color=red>[ChatCommands]:</color> Here are the server rules: ...", "CooldownMinutes": 300.0 }, "store": { "Reply": "<color=red>[ChatCommands]:</color> Check out our store: store.example.com", "CooldownMinutes": 360.0 }, "support": { "Reply": "<color=red>[ChatCommands]:</color> Visit our support page: support.example.com", "CooldownMinutes": 60.0 }, "info": { "Reply": "<color=red>[ChatCommands]:</color> Learn more about our server: info.example.com", "CooldownMinutes": 60.0 }, "donate": { "Reply": "<color=red>[ChatCommands]:</color> Support us by donating: donate.example.com", "CooldownMinutes": 60.0 }, "events": { "Reply": "<color=red>[ChatCommands]:</color> Check out our upcoming events: events.example.com", "CooldownMinutes": 60.0 } }, "PopReply": "<color=red>[ChatCommands]:</color> There are currently {0} players online." }
New Command:
/pop - Shows the number of players online
In the config file the
"pop": {
"Reply": "",
"CooldownMinutes": 30.0
}
To ensure the proper functioning of the "/pop" command, it is recommended to leave the "Reply" field in the config file blank. Filling in this field with a custom message may result in an error.
If you would like to have the option to include a personalized message with the "/pop" command, kindly consider leaving a review to express your interest in adding support for a custom message. Your feedback will be valuable for future updates and improvements.
How to add new commands:
To add new command just go under the last command and copy and paste this. in the ChatCommands.json }, "newcommand": { "Reply": "<color=#FF0000>[ChatCommands]:</color> hahahah", "CooldownMinutes": 60.0 }