This is a discussion topic for the Ore project, StartStopCommands. View the full project on Ore for downloads and more information.
A simple plugin to run commands when the server starts and stops.
# Commands to execute when the server starts and stops. onServerStarted = [ "say The server has started." ], onServerStopping = [ "say The server is stopping." ]