Server lockdown

Discussion in 'Plugin Requests' started by NSPredator, Nov 15, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    NSPredator

    Hello there!
    I have recently been searching around for a plugin that "locks down" my server. Unfortunately I have not found one that does what I require. Hence why I am requesting one here.

    Here is what I would like in the "lock down" plugin:
    • When a user issues /lockdown, all players are kicked from the server (including the player whom issued the command).
    • When the console issues /lockdown all players are kicked from the server and temporarily blocks them from connecting.
    • After the server has been "locked down" for a X amount of time the server shuts down.
    • A countdown just before the server locks down. For example a user issues /lockdown 10s , then an announcement is sent saying the server will lock down in 10 seconds. After 10 seconds is over, the server locks down. Also the amount of seconds could be configurable, for example /lockdown 4s, /lockdown 60s
    • The ability to change the MOTD to a lock down MOTD when the server is in lock down mode.
    • A command to be ran when the server enters lock down mode. For example: User1 issues /lockdown and /testcommand is ran.
    Thats all I have in mind at the moment. If you think that any other features would suit this plugin please post them down below.
    Many thanks!
    - Sent by phone (Sorry for the bad grammar)
     
  2. Offline

    RW_Craft

    I'll do this as soon as I get time

    How long should they be blocked from joining the server for?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 13, 2016
  3. Offline

    RW_Craft

  4. Offline

    NSPredator

    Okay thanks very much! Sorry about the late reply!
     
  5. Offline

    NSPredator

  6. Offline

    SyTeck

  7. Offline

    RW_Craft

    Mine should be done Today =/
     
  8. Offline

    SyTeck

    I already made it yesterday. Pretty easy project, took under an hour so I just decided to make it.
     
  9. Offline

    NSPredator

    SyTeck Sorry for the late reply. I will try it out! Thank you very much!

    The plugin is good but I would like to suggest a few more things:
    • Kick players when lockdown mode is enabled instead of just shutting down the server.
    • The ability to customize the lockdown kick message.
    Many thanks!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 13, 2016
  10. Offline

    SyTeck

    It does, it kicks them with the MOTD, and then the server shutdowns afteron.

    The kick message is the MOTD, I can add a feature to customize it though.
     
  11. Offline

    NSPredator

    I am having an issue were I want the players to be kicked but the server to stay online when they are kicked. I don't want it to shutdown, I only what it to kick all players (including operators) and lock them while lockdown is enabled. It would be nice to see a /lockdown enable and a /lockdown disable command to enable and disable lockdown.
    Thanks!
     
  12. Offline

    SyTeck

    You said you wanted the server to shutdown after a set amount of time, but I'll see what I can do.
     
  13. Offline

    NSPredator

    Sorry about that. I mean't lockdown. Thanks!
     
  14. Offline

    SyTeck

  15. Offline

    Forcelydated

    NSPredator
    It seems like this thread already answered by SyTeck so please change this thread from (No prefix) to [Filled]
    And next time, use the correct posting format while creating a new thread!
     
  16. Offline

    NSPredator

    Please note the word example (you don't have to follow an example). Also if you look at the name of that thread you will see that it is named "Plugin Requests Guide" . A guide is also something that you don't have to follow.

    However, I will change the thread's prefix when I believe the thread has been "filled". At the moment I don't think that would be necessary.

    SyTeck Many thanks! I will try it out.

    Edit: Is it possible to disable the automatic shutdown after x amount of time ? Also is is possible to customize the message when I player tries to connect when the server is in lockdown mode.
    An additional feature: Lockdown mode state (enabled or disabled) saves when the server shuts down and starts again. For example: if I enabled lockdown mode and then stopped the server, the next time the server starts up lockdown mode is still enabled.
     
  17. Offline

    SyTeck


    If you want to disable lockdown mode, simply type /lockdown again. This can only be done through console tho because all players would be locked out. I can also add a feature for those 2 things, but give me a week since I'm pretty busy atm.
     
  18. Offline

    NSPredator

    Okay no problem! Thank you!
     
  19. Offline

    andrewginn

    SyTeck
    It would be good if you could add like a whitelist to the lockdown.
    E.G. andrewginn and NSPredator are able to join as they are op/have the permission.
    So op+theperm would = Able to join the server.
    Its just a suggestion
     
  20. Offline

    NSPredator

    Good idea! So like a required permission node to join the server in Lockdown mode?
     
  21. Offline

    andrewginn

  22. Offline

    NSPredator

    Any status on the updates yet?
    Many thanks!
     
  23. Offline

    SyTeck

    Sorry, been awfully busy lately. I'll try to get it done this weekend.
     
  24. Offline

    NSPredator

    No problem.
     
  25. Offline

    SyTeck

    Think I have a working version now, have added all the features you wanted but with limitations though. I want it to be as secure as possible, so in the case of an hacker (which is op), I have to assure that he gets as little permission to do stuff as possible. So if you type /lockdown and he isn't in the whitelist, he will be kicked and refused access. To be in the whitelist he has to use /ld add [username], but the chances are he doesn't know of the plugin. I will also add another security feature for it, just have to figure something out.
     
  26. Online

    timtower Administrator Administrator Moderator

    @SyTeck Why not get a plugin that doesn't allow OP's on the server?
     
  27. Offline

    SyTeck

    Because OP is a useful thing to have, at least from my experience permissions are a pain to manage so just being able to op yourself is a great thing. Also I don't want users to install external plugins, and I don't want to take away features from the player either.

    What I'm trying to do with this plugin, is to add verification through the console, to prove console access.
     
  28. Online

    timtower Administrator Administrator Moderator

    @SyTeck Permissions are more powerful though and less hackable. Not taking away features at all.
     
  29. Offline

    SyTeck

    Still don't want to though, might do in another plugin but don't want to force a user to do something.
     
Thread Status:
Not open for further replies.

Share This Page