Hi, So I decided to get into Java and writing plugins but wanted to do a small project first, before moving on to bigger things. Uptime is it. It's pretty simple. Typing Code: /uptime will display the uptime of the server like this: You can get a little more info by typing Code: /uptime more This will display an extra row of info telling you when exactly the server was started. I plan to add server shutdown and downtime info too when onDisable is working properly. NOTE: This works by checking when the plugin is initialised on server start. I suggest you don't disable this plugin while the server is running or the times will be thrown off. I will fix this if possible but I need to read the API docs a little more. Changelog: * 1.2 - Added Permission compatibility. Just add "Uptime" to your groups' permissions! Download here (source included): <Edit by Moderator: Redacted mediafire url> Old: <Edit by Moderator: Redacted mediafire url>
Both very good suggestions. I will have a look and see what I can do. @Total Uptime: I will add this in the future. Currently there is no way for me to save data at shutdown so when I can, I'll do it. @MOTD: This I will have a peek at. I'm not promising anything but it should prove fairly easy.