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

    MiHo

    Great!
     
  3. Offline

    ray0911

    Did anyone get this to work with the new permissionsbukkit? Because its not working for me. I am using permissionbridge..
     
  4. Offline

    tee jay

    Try out the new build on BukkitDev, it's updated beyond the files listed in this thread(which I will update once tested).
    http://dev.bukkit.org/server-mods/simplereserve/files/3-simple-reserve-v0-3-0/

    It uses the default permissions API and should work without a bridge for any Permission/Group plugin that correctly uses it. Let me know how it goes so I can confirm if it works or not, since I have not tested it.
     
  5. Offline

    ray0911

    Thats the one i download (ver 0-3-0).. Unless you changed it since a posted yesterday...

    Nope.. does not work... Help........

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

    tee jay

    Does it give a specific error or can you describe exactly what it's doing wrong?
     
  7. Offline

    ray0911

    PermissionsBukkit-1.2
    SuperpermsBridge-1.2
    CB1498
    Only ops are able to join the server when its full. I added "'simplereserve.enter.full" to both permissionsbukkit and the OLD permissions. But player still can not join when server is full. SuperpermsBridge-1.2 should allow me to continue to use this plugin using the old permissions files. Does it matter which world file I give the player the permissions? Does it matter which world they are in?
    Players with the permissions to enter when server get the message "The server is full!". So it looks like they are not getting the permissions set to them..
     
  8. Offline

    rbos

    I'm having the same issue. CB1510, PermissionsEx, only ops are able to join when server is full. No errors on plugin load, join, or plugin unload.
     
  9. Offline

    tee jay

    http://dev.bukkit.org/server-mods/simplereserve/tickets/2-no-permission/

    It's actually a rather interesting problem...permissions aren't initialized or loaded yet in bukkitperms at the time of a PlayerLoginEvent...so I'm trying to find a workaround.

    EDIT: rbos, could you try this: http://dev.bukkit.org/server-mods/simplereserve/files/6-simple-reserve-v0-3-2/
     
  10. Offline

    rbos

    Appears to work.
     
  11. Offline

    rodier

    so is there now any function how to reserve X slots for VIP? (lets say I have 50 slot server, but I want 30 slots for normal, 20 for VIP)

    I think, it can be done easily..isnt? Just add 2 more lines to config
    server_slot=''
    server_free_slot=''
    vip_slot=''
    and it will count how many ppl are in game (players with permission kick.prevent will be count as VIP .. others as normal)
     
  12. Offline

    andrewkm

    tee jay
    Is this working with 1.1 Dev builds?
     
  13. Offline

    tee jay

    Will be ensuring this tonight.
     
  14. can you PLEASE add Superperms/Permissions Bukkit support!
     
  15. Offline

    beringtom

    You should include PEX support, no other alternative to this plugin out there... :(
     
    Benciky likes this.
  16. Offline

    flungo

    Could you either update this to 1.1-R5 onwards or give me the source to do so myself?
     
  17. Offline

    tee jay

  18. Offline

    Xmaldo

    Does it work with Group Manager?
    I prefer that to permissions and dont wish to switch unless necessary.
     
  19. Please update and add support for GroupManager. :]
     

Share This Page