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

    Kainzo

    Don't stop making this :) it rocks

    tip: it works on 988
     
  3. Offline

    Chris Herbert

    Amazing mod
     
  4. Offline

    kyle921

    Currently testing on CB 1000...
     
  5. Offline

    Hydrosis

    Sometimes it doesn't kick a player, even though the person has a reserved slot. But it always allows me(the admin/op) to connect by using the full command.
     
  6. Offline

    wassilij

    Is working perfectly with Bukkit 1000, thx.
     
  7. Offline

    Trevor_

    @tee jay
    Need update for SuperPerms, and Bukkit 1000. Great plugin btw, best reservation system I ever used.
     
  8. Offline

    pSy

    That is exactly the mod i was searching for. Hope it works with CB1000, thanks for that mod :)
     
  9. Offline

    wassilij

    Yes its working with CB 1000 :)
     
  10. Offline

    bocaj812

    Does this work with permissions 3.1.6?
     
  11. Offline

    wassilij

    Yes
     
  12. Offline

    bocaj812

    say i have guests, users, and vips, I want the vips to kick guests if they need a spot to join, but if there are no spots being used by guests, I want users to be kicked, but I dont want users kicked until all the guests are gone, is this functionality already implemented?
     
  13. Offline

    Juze

    @tee jay : Non-RB# in title, must be a RB. Changed to #953.
     
  14. Offline

    Kainzo

    Wonderful plugin - works great on 1046+
     
  15. Offline

    LeetPowerCraft

    Can anyone confirm that this is working with PEX or BukkitPermissions?

    Also, is this working with the latest RB 1060?
     
  16. Offline

    Sim121

    I'm using PermissionsBukkit and it doesn't work, I guess it is not compatible with it... Can you make it ?
     
  17. Offline

    Puremin0rez

    This plugin is still working fully on the latest Bukkit (1060)

    I'm pretty sure it only supports Permissions.
     
  18. Offline

    LeetPowerCraft

    Use PEX instead.
     
  19. Offline

    Sim121

    It works now with PEX, thank you.
     
  20. Offline

    Wahrheit

    I need this for #1060 and compatible with SuperpermBridge, at least. Any help?
     
  21. Offline

    Jiraiya-08

    Hi everyone !

    I'm having an issue with kicking kickable users when admins are entering the server when it's full. I have the lastest Bukkit version (v1060), PermissionsEx (v1.13), Essentials (v2.5.8), and SimpleTest (v0.2.6).

    There is my ./plugins/PermissionsEx/permissions.yml file :


    Code:
    groups:
        Admins:
            options:
                rank: '0'
            prefix: '&4'
            permissions:
            - "*"
        Moderators:
            options:
                rank: '100'
            prefix: '&3'
            permissions:
            - essentials.helpop.receive
            - essentials.list.hidden
            - essentials.ban
            - essentials.ban.exempt
            - essentials.ban.notify
            - essentials.banip
            - essentials.broadcast
            - essentials.burn
            - essentials.ext
            - essentials.fireball
            - essentials.clearinventory
            - essentials.clearinventory.others
            - essentials.deljail
            - essentials.invsee
            - essentials.kick
            - essentials.kick.exempt
            - essentials.kickall
            - essentials.kill
            - essentials.lightning
            - essentials.mute
            - essentials.mute.exempt
            - essentials.nuke
            - essentials.setjail
            - essentials.socialspy
            - essentials.tempban
            - essentials.tempban.exempt
            - essentials.tempban.offline
            - essentials.togglejail
            - essentials.jail.exempt
            - essentials.togglejail.offline
            - essentials.unban
            - essentials.unbanip
            - essentials.back
            - essentials.back.ondeath
            - essentials.spawn
            - essentials.top
            - essentials.tp
            - essentials.tpa
            - essentials.tpahere
            - essentials.tpall
            - essentials.tphere
            - essentials.tpo
            - essentials.tpohere
            - essentials.tppos
            inheritance:
            - Membres
        VIP:
            options:
                rank: '800'
            prefix: '&e'
            permissions: null
            inheritance:
            - Membres
        Members:
            options:
                rank: '900'
            prefix: '&f'
            permissions:
            - modifyworld.*
            - essentials.help
            - essentials.afk
            - essentials.compass
            - essentials.ptime
            - essentials.depth
            - essentials.getpos
            - essentials.helpop
            - essentials.ignore
            - essentials.info
            - essentivals.list
            - essentials.mail
            - essentials.mail.send
            - essentials.me
            - essentials.motd
            - essentials.msg
            - essentials.rules
            - essentials.seen
            - essentials.suicide
            - essentials.whois
            - essentials.ban.notify
            - essentials.tpaccept
            - essentials.tpdeny
            - simplereserve.enter.kick
            - simplereserve.kick.prevent
        Guests:
            default: true
            options:
                rank: '1000'
            prefix: '&7'
            permissions:
            - modifyworld.chat
            - essentials.rules
            - essentials.motd
            - essentials.me
            - essentials.help
    users:
        MyAdmin:
            group:
            - Admins
        MyAdmin2:
            group:
            - Admins
        MyMod:
            group:
            - Moderateurs
        MyMember:
            group:
            - Membres
    SimpleReserve is using "kick" type.

    As you can see, Admins have all rights ( '*' ), so they should also have "simplereserve.enter.kick" permission. Members have simplereserve.enter.kick and simplereserve.kick.prevent, that are inherited by VIPs and Moderators.

    I've set in the server.properties file the parameter "max-players" on 1. When a Guest is on the server and a Member/Moderator/VIP tries to join, the guest is successfully kicked, but when the joining player is an Admin, the Guest stays and then there is 2 players on the server...

    The problem is caused by Essentials plugin, because when it's disabled (or when I remove "*" permission to admins), it's working fine. So i'm assuming that there is an Essential permission making this plugin bugging hard.

    There are all Essentials properties: http://ess.khhq.net/doc/perm/ , and as you can see, "essentials.joinfullserver" allows the player that has this permission to join a full server. So, I disabled this perm by doing:

    Code:
        Admins:
            options:
                rank: '0'
            prefix: '&4'
            permissions:
            - "*"
            - -essentials.joinfullserver
    Unfortunatly, it's just not working....

    Thanks for helping a poor noob minecraft admin... :-(
     
  22. Offline

    spoothie

    Does this have PEX support? If not, @tee jay could you add it?
     
  23. Offline

    Kainzo

    I believe it does have PEX Support but i dont know if it supports BukkitPerms
     
  24. Offline

    tee jay

    It should just work with PEX, but I have not tested with it.

    As for BukkitPerms, I am back into Minecraft again(running a server) and will be updating this again, and one of the first things I want to update for is BukkitPerms compatibility.
     
  25. Offline

    Mazaveli

    Sorry if I missed this but, does this work with Permissions 3.x?
     
  26. Offline

    strontkever

    doesnt work with 1.8 with bpermissions (using essentials, also giving the essentials.joinfullserver node)
     
  27. Hey. People would rather join a 35 slot server than a 20slot.

    I have a 35 slot server, but i want to stop Non-premium members from joining when the player count reaches 25. The last 10 slots should be premium members.

    It would be nice if one could specify the playerlimit at which to start enforcing in the config. This way i could set it to 25, but the server would still essentially be a 35 slot. The way it is now i would have to lower the player limit to 25, and just have unlimited premiums join after i suppose. This actually brings about another problem, which is lag. What if more than 10 premiums joins and it begins to lag.
    Please ad an option to specify limit in the config
     
  28. Offline

    Surematu

    I want a option where i can chose how many premium that can login. So when 5 premium users has logged inn the server will not add more premiumslots.
     
  29. Offline

    SchwartzZA

    Does this work with 1185?
     
  30. Offline

    GrillGuth

  31. Offline

    wachnlurn

    using bpermissions cb1185 will this work?
     

Share This Page