StopMessage - Display a custom message to players when stopping your Sponge server

This is a discussion topic for the Ore project, StopMessage. View the full project on Ore for downloads and more information.


StopMessage

Display a custom message to players when stopping your Sponge server, written for Sponge API-7 and Sponge API-8.

Commands

  • /stop [<message>] - Shuts down the Minecraft server with an optional message, supports ampersand formatting codes (ex. &aServer restarting! Be right back!)

Permissions

  • stopmessage.command.stop - Permission for the /stop command

A note on command aliasing

Sponge has a configuration option which allows for plugins to have priority for certain command names. It can be found in the sponge.comands.aliases node in config/sponge/global.conf. A configuration to enable this plugin to override /stop would look like this:

commands {
  aliases {
    stop=stopmessage
  }
}

License

This project is licensed under the MIT License. Please see LICENSE.txt for more information.

A new version has been released for StopMessage, it is available for download here.


Initial plugin release.

A new version has been released for StopMessage, it is available for download here.


Initial API-8 release

They should implement this into Sponge itself.

accidentally double posted because I thought the initial one didn’t go through