[ADMIN] MCSignOnDoor 1.9 - So Your Server Can Say "Gone Fishin' Back in Five!"

Discussion in 'Bukkit Tools' started by tustin2121, Mar 17, 2011.

  1. Offline

    tustin2121

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I don't have or use IRC (except maybe once for five minutes sometime last year) so you might have been talking to someone who had a similar username, perhaps? Idk.

    As for incorporation: yes! Please! Again, credit somewhere, but I'm glad to have people use it! In fact, right now I'm compiling a list on the front post of third party software that is using McSod in their features. When you incorporate it (this goes for anyone) tell me and I'll add the product's name and link to the list! :D
  2. Offline

    tips48

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Credit is no problem :)
    I'll be sure to look at it as we get closer to a new release. And who knows who I talked to, somebody :p
    tustin2121 likes this.
  3. Offline

    tustin2121

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Oh, btw, this bug has been confirmed. There seems to be an Exception slipping through the cracks when it tries to print the help, but it doesn't do it when I try running it straight from Eclipse (you gotta love those kind of bugs). I will pinpoint what exactly is wrong and have a double-point release shortly, tomorrow at the latest.
  4. Offline

    tustin2121

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Version 1.7.1 will be out shortly, fixing the help print out not appearing.
  5. Offline

    tustin2121

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Version 1.7.1 is out, finally:
    - I don't know why, but suddenly the method I have been using to load and print the helpfile just decided to stop working. I didn't do anything to it, it just stopped. So I had to switch to a "more proper" method, and add a constructor to the TemplateFormatter to make it work.
  6. Offline

    Vincs

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello !
    I'm wishing to use this plugin to :
    -Shutdown the server when nobody is connected after an hour.
    -Woke up the server when someone is trying to connect.

    To do you have any ideas on how to do ?

    I'm running it under a synology.
  7. Offline

    tustin2121

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Oh, wow, deja vu here. This functionality (the wake up functionality, called Sentry mode by McSod) has been added in version 1.7. See this post for batch file examples for starting up the server.

    Also, this is not a plugin, it is a standalone program. You will have to use something else, an actual plugin, to shut down the server after an hour of inactivity.
  8. Offline

    Vincs

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks for the batch file to start the server.

    Sorry for the confusion, between plugin and program. ;-)

    I will try your program this evening.

    I'm looking for something to shut down the server but don't find anything. (Else than shuting down at specified time.)
  9. Offline

    tustin2121

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You are right. *Runs off to write ServerSleeper, the Server Inactivity Shutdown Plugin*
  10. Offline

    Vincs

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Haha you're amazing.
    When I try to log on the page, it says :
    "This project is awaiting approval.
    This means that this project may not meet this site's standards and may only be available for a short time.
    Be forewarned before downloading anything from this project."
    Keep use in contact. :)

    I've installed MCSignOnDoor, it works just perfectly !

    Thanks a lot for your help.
  11. Offline

    tustin2121

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yes, I know. I only created the project minutes before posting the link, and there's nothing to download yet, so I don't expect that to change anytime soon.

    Glad it works for you! :p
  12. Offline

    Vincs

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ok ! Maybe I will try to do it my self, I'm a dev. Never made any minecraft plugins, but this one shouldn't be tricky so it maybe a good start. If I've got some times off, I will try this week - end. (Please, let me try it before doing it, otherwise I won't be motivated to do it. ;-))

    I will keep you updated.

    Ok !
    I've done it.
    This a very basic plugin, but I think it does the job.
    http://dev.bukkit.org/server-mods/emptyserverstopper/

    This post has been edited 3 times. It was last edited by TnT Sep 1, 2012.
  13. Offline

    tustin2121

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have also uploaded mine, and the project is now approved. Now make yours better than mine. ';j

    (Failed emote at end is supposed to be a raised eyebrow and friendly smirk face...)

    This post has been edited 1 time. It was last edited by tustin2121 Sep 7, 2012.
  14. Offline

    Smiley43210

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have created a ticket for BukkitGUI so that ti can work with this tool. You can find that here. As of right now, it would only work with the tool the first time (if BukkitGUI isn't already open) cause when the server stops, the app doesn't quit (until you manually click the close button), which causes the script to never reach the mcsignondoor.jar part, and never starting up the program.
    tustin2121 likes this.
  15. Offline

    Smiley43210

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

    This post has been edited 4 times. It was last edited by Smiley43210 Sep 15, 2012.
  16. Offline

    Smiley43210

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Wanted to mention, this is absolutely brilliant! [diamond] I had in mind a fake ping-y thing that would return info even when the server is off, but I was beginning to wonder if something like this would have to be taken upon myself (Although, I honestly don't understand the MC protocol with all those 0xFe and 0xFF and stuffs ;) )
    Lucky i stumbled upon this (while looking for a plugin that could possibly put the server into a low lag low resource mode when nobody's online)

    And tustin plz check ur pms :D

    This post has been edited 3 times. It was last edited by Smiley43210 Sep 11, 2012.
  17. Offline

    nkrecklow

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Just a heads up, you misspelled "panel" in your signature. :p
  18. Offline

    tips48

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I've been told a couple of times :p
  19. Offline

    nkrecklow

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You never know :p
  20. Offline

    Smiley43210

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    For users running BukkitGUI, I've created this tutorial with multiple approaches for using MCSOD.

    P.S. Apparently "S" for an avatar has become popular :p
  21. Online

    Bertware

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You got a tutorial for my GUI :3
    I still should see how to implement it, I'm planning to embed it so it can be used easier :)
  22. Offline

    jamcat22

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you make it so that 2 instances of McSod can run at the same time?
  23. Online

    hawkfalcon BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Why?
  24. Offline

    jamcat22

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Nevermind. I just found out you can change the port

    This post has been edited 1 time. It was last edited by jamcat22 Oct 6, 2012.
  25. Offline

    jamcat22

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you make it so that McSod reads the banned players list and if a player is banned while in sentry mode, it will not start the server?
  26. Offline

    jamcat22

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you reply with the message "Outdated server!" for a client that is above your craftbukkit version?
  27. Offline

    admalledd

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ok, so tustin2121 you may already be aware of this, but MCSoD complains when 1.4.2 direct connects (not from the server list) here is what it is saying:
    Code:
    2012-10-26 21:45:13 McSod [INFO]: Received connection from 76.115.32.25
    2012-10-26 21:45:13 McSod [INFO]: Client with unknown version (47) of Handshake Protocol attempting login! Printing raw data:
    2 2F  0  9  0 61  0 64  0 6D  0 61  0 6C  0 6C  0 65  0 64  0 64  0 10  0 6D  0 63  0 2E  0 61  0 64  0 6D  0 61  0 6C  0 6C  0 65  0 64  0 64  0 2E  0 63  0 6F  0 6D  0  0 63 DD  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
    Readable items:      97 100 109 97 108 108 101 100 100  109 99  97 100 109 97 108 108 101 100 100  99 111 109  99                                                                                                                                                                                                   
    Feel free to give tustin2121 this information on the bukkit thread. :)
    
    also, I some players with longish names get shortened, for example "DeviljhoDylan" gets cut to "DeviljhoDyla"

    This post has been edited 1 time. It was last edited by h31ix Oct 27, 2012.
  28. Offline

    tustin2121

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What the hell, why am I not getting messages about this thread when someone posts? :/

    Yes, I have just now been made aware that the protocol has been updated to 47. Turns out the major update is adding encryption! yay!

    The fun part about this is the encryption handshake is added BEFORE I can kick the client, which means I get to implement their encryption protocol. Good thing I took a security class and know how this stuff works... So... it's gonna take a bit to make it work like it should. Sorry about the inconvenience folks.
  29. Offline

    tustin2121

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Does it not do this now? The banned players list is read already, and banned players are turned away with a special message. It shouldn't start the server for banned players (I checked the code just now and this is programmed). If it is, that is a bug. Please reproduce it and give me the specific scenario.

    McSod is version agnostic (or tries to be). One of its specific goals is to work when your server does not due to a new Minecraft release. Further, the server is not given the client's version until much later in the login handshake, so I do not have the version number of the client.

    ....in fact, I'm not sure WHEN the server and client communicate their version numbers....
  30. Offline

    jamcat22

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Number 1: I found that the problem was MCBans was not properly syncing and I got it fixed.

    Number 2: I am not exactly sure, but in the multiplayer server list, I cannot connect to a mcsod server (but can direct connect) and the version of the server is displayed in the top right corner (or at least 1.3.2 servers have it).

Share This Page