Inactive [ADMIN/GEN] SimpleReserve v0.2.6 - Simple, easy-to-use Reserve slot plugin [1060]

Discussion in 'Inactive/Unsupported Plugins' started by tee jay, Mar 21, 2011.

  1. Offline

    tee jay

    [​IMG]
    SimpleReserve - Simple, easy-to-use Reserve slot plugin
    Version: v0.2.6
    Tested Builds: b556,b560,b612,b670,b677,b714,b733,b740,b766,b798,b803,b818,b860,b988,b1060

    Tired of not being able to offer VIPs reserved slots or being unable to join your own full server? SimpleReserve provides an easy way to add that functionality with Permissions(v2.5.*) support.

    NOTE: Permissions is required for this plugin to function!

    Features:
    • Simple to use reserve slots plugin with Permissions(v2.5.*) support
    • Provides functionality for 2 reserve slot methods:
      • Full method: Users with 'simplereserve.enter.full' may enter past the imposed player limit
      • Kick method: Users with 'simplereserve.enter.kick' may enter a server when full by kicking the first player found that is able to be kicked. Users with the 'simplereserve.kick.prevent' permission are immune to being kicked(Utilize inheritance!)
    Download SimpleReserve:
    Newest: Latest
    Previous:

    Config Overview:
    The config file for SimpleReserve is very simple and will be auto-generated on first run. The file should contain:
    Code:
    reserve:
        types: full,kick,both,none
        type: both
    The types property is only to provide you, the user with a list and is not read. "type" determines how the reserve plugin will operate.

    Types:
    • full - A type of full limits the reserve plugin to allowing people with the proper Permissions to join even when the server is full.
    • kick - Conversely, a type of kick will only allow people with the proper Permissions to join a full server by kicking the first player it comes across that does not have Permission to prevent being kicked.
    • both - A type of both can use either the full server or kick method, but the full method takes precedence if a user has that Permission.
    • none - "none" type effectively eliminated the reserve slot functionality, allowing you to disable it without removing the plugin.
    • if you put something else as the type, the plugin will automatically regenerate it back to "both". Please note this.
    Permissions Overview:
    Permissions for SimpleReserve are...well...simple. There are only 3 Permissions to worry about.
    Code:
    'simplereserve.enter.full' - Permission required to give "full" joining capabilities. Allows joining above limit.
    'simplereserve.enter.kick' - Permission required to allow joining full server by "kick" method--kicks first player it can.
    'simplereserve.kick.prevent' - Prevents player from being able to be kicked by someone joining using the "kick" method
    Examples:
    • Lets say you have 4 usergroups. Guests(default), Users, Moderators, and Admins. You want to give Admins and Moderators joining full server via "kick" method, but you only want to be able to kick at the expense of guests.
      Permissions:
      Code:
      groups:
                                 Guests:
                                     default: true
                                     info:
                                         prefix: ''
                                         suffix: ''
                                         build: false
                                     inheritance:
                                     permissions:
                                 Users:
                                     default: false
                                     info:
                                         prefix: ''
                                         suffix: ''
                                         build: true
                                     inheritance: Guests
                                     permissions:
                                         - 'simplereserve.kick.prevent'
                                 Moderators:
                                     default: false
                                     info:
                                         prefix: ''
                                         suffix: ''
                                         build: true
                                     inheritance: Users
                                     permissions:
                                         - 'simplereserve.enter.kick'
                                 Admins:
                                     default: false
                                     info:
                                         prefix: ''
                                         suffix: ''
                                         build: true
                                     inheritance:
                                     permissions:
                                         - '*'
      Note that Users only have the prevent permission. Any groups that inherit from Users will also have the same permission.
      Now to ensure we're using the right type of reserve slot, the config.yml would look like:
      Code:
      reserve:
                                 types: full,kick,both,none
                                 type: kick
    • Same situation but we want to be able to join over capacity instead of kicking. We only need to change Mod's 'simplereserve.enter.kick' permission to 'simplereserve.enter.full' and change "type: kick" to "type: full" in config.
    • We can also use * to allow either method, and just change the type to and from kick and full as desired.
      Code:
      'simplereserve.enter.*'
      will allow whichever type is configured.
    • We could also allow mods to join using the kick method and admins to join using full. In config we'd set type to both, and give mods 'simplereserve.enter.kick' Permission only. In this case, Admins have both kick and full Permission, which will default to using full when both are available, and mods can join using the Permission they have.
    As you can see, almost any desirable Situation is achievable.

    Screenshots:
    Users attempting to join full server with no Permission to enter:
    [​IMG]
    User being kicked to make room for a reserved member:
    [​IMG]
    No kick-able players for "kick" join method:
    [​IMG]

    Console output for full type joining:
    Code:
    20:17:46 [INFO] [SimpleReserve] Allowed player tj007razor to join full server!
    Like SimpleReserve?
    Help me out!

    [​IMG]


    Changelog:
    Version 0.2.6
    • Removed accidentally left debug output
    • Fixed players let on past the limit as not being seen as online players
    Version 0.2.5
    • Fixed kick-joining even when reserve method is full server
    • Fixed players being kicked for kick join even with simplereserve.kick.prevent permission
    Version 0.2
    • Added kick join functionality
    • Added config file to allow choosing of what method to use
    • Added "none" option so you can easily not use the plugin without having to remove it so you may use it again later
    Version 0.1
    • Initial release
    • Join when server is full functionality
    Download Latest SimpleReserve
     
  2. Offline

    Puremin0rez

    Very good considering the only other one doesn't work. This seems simpler anyways.
     
  3. Offline

    anon

    Thats just what I was looking for, thanks :D
     
  4. Offline

    Jonathan Bloom

    Sweet. Thanks. This makes a great VIP addition!
     
  5. THANK YOU FINALLY SOMEONE MADE SUCHA plugin sorry for caps :D just so happy!could you also make a whitelist plugin with ingame commands?!?!?!?!!<3
     
  6. Offline

    stkeroro

    Great, if you want, i can translate texts to spanish.
     
  7. Offline

    ledhead900

  8. Offline

    tee jay

    Thanks for the compliments =)


    As for Spanish translation--is there a demand for it here? I'm relatively new to the plugin game.
     
  9. Offline

    Paul_VB

    wheres the jar file? or am i missing something?
     
  10. Offline

    Puremin0rez

  11. Offline

    Paul_VB

    ummmmm i donloaded that link and i got the samthing as the link at the top; a foler for somplereserve, but no jar file.

    smebody help! ive loked though that foler a thousand timnes and there simply is no jar file anywhere in it!

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

    grizzlymann

    Does anyone know if its working with CB 670?
     
  13. Offline

    tee jay

    It is working with b670.

    Also, Paul, that link IS the .jar.
     
  14. Just installed this as an admin crashed and couldn't rejoin because someone else conencted in his place. It looks great, and I like the ability to have both kick and/or go over full. The only thing I can see that this is missing is an upper limit, so you can set it to only allow 5 extra slots over the limit before it starts kicking people instead of over filling the server.
     
  15. Offline

    tee jay

    That is a good idea, I should be adding this pretty soon.
     
  16. Offline

    8e8

    Good work filling the void left by my plugin. I'll look forward to the competition once I bring mine back from the dead.
    [​IMG]
     
  17. Offline

    Paul_VB

    i dont see it. when i donwoad it and put it into my pluings folder, i get a simple reserve folder, but it doent have a jar file anywhere. am i doing something wrong?
     
  18. Offline

    tee jay

    The folder isn't in the download anywhere, it is generated when the plugin runs, so you've at least had it working at some point. Also, the .jar would not be in the SimpleReserve folder, but rather 1 directory up in the plugins folder.
     
  19. Offline

    Paul_VB

    then thers somthing wrong. when i click, i see the download window, and then the widow that asks u where to save it. its default path is the plugins folder, and to save it as a zip file. not a jar

    OMG i am such a fail. all i had to do was save it as simplereserve.jar (it was simplereserve as a zip folder by default) oops :p lol srry
     
  20. Offline

    manura133

    Looks great! I was looking for something like this.
    But I've got a question. Only to be sure this is working like I need it.

    I have 6 slot server. There are 3 "VIP" members. The other 3 slots should be free to join for everybody. It is not possible to past the imposed player limit of 6!
    My thought was:
    - change the player limit from 6 to 3 in the server.properties
    - enable the full method for the VIPs
    - finished: only 3 "normal" players could join from now on except a VIP would like to join

    Am I right? Does this method work?
     
  21. Offline

    NEO

    Very nice plugin, well done.

    I have a request, to allow a configurable message when a user is kicked for a reserved player.
     
  22. Offline

    Nelien

    I second this request! Great mod otherwise, thank you tee jay. Very good and informative readme/first post too!
     
  23. Offline

    tee jay

    Not entirely, but I see the need for something like this. The problem is that if the 3 VIPs join first, the 3 slots are full. I will make a new version that lets you reserve down off the cap for these people so you'd keep a cap of 6 but the top 3 slots are reserved for VIPs.
     
  24. Offline

    manura133

    Ohh, you are so right. I was not mindful of this. Damn! Thanks for the hint!
    For now I'm using the kick method, but it would be nice to have something more polite for the non VIP members. It is a bit rude to kick them and make them feel like 2nd class players.
    So, your soloution sounds very good, if it will be realizable.
     
  25. Offline

    tee jay

    I'll update for the first post-1.5 recommended build.
     
  26. Offline

    wassilij

    Dont work with Bukkit#707

     
  27. Offline

    LSky

    Good to hear, I've been using this plugin ever since the previous Reserve plugin stopped working.
     
  28. Offline

    wassilij

    It works with Bukkit #689, but it break in Bukkit#707
    Error:
    Please fix it .. our Server is full of no name players ^^
     
  29. Offline

    tee jay

    Are there no other errors above that? Usually it would give the error it's having loading the plugin then the could not load plugin error.
     
  30. Offline

    wassilij

    Sorry i was wrong .. the Plugin CraftBukkitUpToDate download your Plugins and the SimpleReserve.jar was broken, now i downloaded it from your Thread and it work perfectly (Bukkit#714)
     

Share This Page