EmergencyAlerts
As server owners, we've all been there. Lag, grief, unexpected problems, things that we wouldn't want to happen. Luckily, this plugin tries to fix it.
This plugin acts as an emergency broadcaster, in the fact that it doesn't use commands, well sort of. This plugin, instead, uses a "!" instead of a "/" to make it hidden to players, and can ONLY be revealed by people who know the command. Also, when using ! for a command, if you type !, it will only check if the message equals the command, not if the message contains ! or starts with !. This way, players won't be able to accidentally find the controls. Also, there is no help page, so doing ! won't bring up this long, lengthy message on how to use it. Sadly, though, this means you will have to memorize everything. This plugin contains a config to modify the seconds between each broadcast. The config also holds the message, so you can set it with the in-game command, or set it in the configuration file.
Commands
- !start - This command will start the broadcaster. This will not work if a message is set, so make sure to set one first!
- !stop - This command will, obviously, stop the broadcaster.
- !set - This command works a little strangely, but it will give you the ability to type slightly longer messages in the chat box. Type !set, and press enter. Then it will ask you to type in your message into the chat box. It will cancel your chat message, and then set it as the message. It is quite intuitive if I do say so myself :)
- !delete - This command will delete the the chat message, since only one can be set at a time (You should only need to set one message, since you should only have one emergency). This will also stop the broadcaster since the broadcaster will error if there is no message to broadcast.
- !mute - This command will activate a server-wide player mute to try to cope with the issues and complaining. It is also the toggle switch, activate once to turn it on, and again to turn it off. It will ignore players with OP and with the correct permission, and will also disable chat commands, like /me and /msg, along with some others.
- !eareload - This command stands for EmergencyAlerts Reload. It will reload the entire plugin, from top to bottom. It will unmute all players, cancel the broadcast, and reload the config. The config will not be reset, though.
Permissions
- ea.start - Start the broadcaster.
- ea.stop - Stop the broadcaster.
- ea.set - Sets the broadcaster message.
- ea.delete - Deletes the broadcaster message.
- ea.mute - Mutes all players server-wide.
- ea.reload - Reloads the plugin.
- ea.cantalkwhilemuted - Allows any player, or staff member, to talk when the server mute is on.
Bugs
None yet. PLEASE notify if you see any! Use the ticket tracker on the right side of the screen, because I will not take bugs from the comment section.
To Do
- Add the ability to use more than one message. May or may not happen!
Comments