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