[INACTIVE][INFO] Uptime v1.2 - Displays some uptime info.

Discussion in 'Inactive/Unsupported Plugins' started by Jinux, Jan 21, 2011.

  1. Offline

    Jinux

    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>
     
    Last edited by a moderator: Dec 15, 2016
  2. Offline

    Fleder

    small but neat
     
  3. Offline

    SeeD419

    Works great, thanks.
     
  4. Offline

    Jinux

    Glad you like it :)
     
  5. Offline

    Anoniempje

    can you add total uptime aswell?
     
  6. Offline

    bLazem

    Can you make it so it can be displayed to peeps when they log in / attach to MOTD?
     
  7. Offline

    Jinux

    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.
     
  8. Offline

    Jinux

    Updated to 1.2 - Added Permissions compatibility
     
  9. Offline

    SeeD419

    I just decided to scrap this, only because it doesn't tell total uptime :(

    That's what I really wanted.
     
  10. Offline

    Jinux

    It can't be done yet, I'm sorry :(
     

Share This Page