LoginLimiter
This plugin allows you to limit the number of users who can be on your server by rank. So if you only have 20 slots and want to make sure guests never take more than 5 slots to reserve the rest for your regular players, you can do that.
Features
- Enforce per-group login limits
- Enforce global login limits
- If a player logs out/gets disconnected, hold their slot for a configurable amount of time
- Don't allow certain groups to login if another group is not present on the server (ie. refuse guests when no mods are around)
- Don't allow new players to login unless a certain group is present on the server
- Define ranks such that higher ranks players can "skip" over others in the login queue
- For those who use MCBans, this plugin was designed with MCBans in mind and runs before MCBans to avoid MCBans login spam when people are being queued
Additional Notes
In order to take advantage of the group login limits, you must have a permission framework plugin installed on your server: your choices are Vault or WorldEdit (using WorldEdit's WEPIF framework). This is because native Bukkit "Superperms" does not support the notion of offline permissions. Both Vault and WEPIF support offline permissions and both support just about every permission plugin out there.
Note that some (many/all?) permission plugins (I use and tested this with PEX) will propagate permissions up to higher ranks. So for example, if you want to restrict Guests, you might think to use a "group.Guest" permission. That's fine, but be sure to negate the permission at every higher rank, otherwise every rank will inherit "group.Guest" and your limits won't work like you'd expect.
@mrchasez
Thanks for the stack trace. This was a bug with an inadvertent hard dependency on mcbans. Bugfix version released: http://dev.bukkit.org/server-mods/loginlimiter/files/6-v0-5-2/
@andune
Got this error: http://pastie.org/4706369
@RG_PankO
Motivation and time is low. This plugin does what I need it to and I have lots of other things on my plate right now (not MC related) and what little MC time I have is going to other plugins at the moment.
The plugin is open source so you are welcome to add the feature and gitpull it back to me. I'm not against the feature, just no time to implement it right now and not likely to spend a lot of time adding a feature unless there's additional demand for it.
@andune one year ago I used LoginQueue for my server and it was just one of the most essentials plugin on my server.
Later on it got out of date, started to popup errors and doesn't work.
You've done a wonderful job and your plugin has almost all the functionality of the old LoginQueue and even more.
But your plugin misses one very important one. SQL backend. With SQL backend I can make a .php script that displays the data of the queued users and they will see how much they have to wait before they can loginto the server. Atm this functionality is missing on your plugin and IMO it is just very important.
Can you please work on that and make it configurable to connect to SQL and record the data dynamically into tables that I can use and make a nice looking page that displays the queue?
Thank you for your time and work.
EDIT About the configuration I only didn't get one thing. If I want my guest users to be able to login regardles off there's an admin/mod or not how do I do that? There's a ratio, OK, but if I don't want to be required a mod or admin to be loged in? Guest's wont be able to connect.
@xclucky
I don't understand your question. If you have the ability to add a permission to a player when they purchase a package, you have all you need to use LoginLimiter successfully. Configure LoginLimiter to look for whatever permission you are adding, LoginLimiter is configurable to look for any permission you want.
Is there any way to make a users permission group attach to a default loginlimiter group? The reason I ask is because of the way that I have my membership features set up, when a player purchases a membership package it "adds" a permission group to that user instead of replacing the permission group.
@sossos1988
Yes. You define what permissions you want to use. You could just call your permissions "vip" and "guest" and then assign those to groups and put the entries in the LoginLimiter config.yml. LoginLimiter doesn't care what permissions you use, it just looks to match whatever perms you give it.
Regarding how to test, set some arbitrarily low limit on a test group and then you'll see people getting refused who have that permission.
How do you use this plugin with PermissionsEX? Do you add the group.Admin and all the others to their specified groups in pex? Also how would you test this plugin?
@th3controller
Yep, in use on my server every day. Working fine against latest RB.
This plugin is still active right?
@awesomebilly
Is something not working? Running fine for me on latest builds.
The currently released version does have an issue with new player detection if you're using the bukkit 'world-container' flag, which I've fixed in dev but not bothered publishing a release since no one here has reported it as an issue.
Hi andune,
Any Chance you'll be updating this plugin?
I'm finally getting used to it :)
Thank you, I will test this out tonight.
I have 30 slots + 10 reserved. around 70 people are trying to join.
I will try this: Have a MVP Rank skip the queue, have VIP1/VIP2 skip to the top of the Queue.
Default group waits in queue.
Thank you for your quick reply.
@awesomebilly
The plugin is just a tool with levers and knobs you can turn, so you can do any of a number of things to accomplish that. One option would be to set your server 'hard limit' (in server.properties) to something high (say 50) and then set the soft limit to, say 30. Then add your VIPs to 'limitExemptPerms' and they will never hit the queue, plus they have 20 'reserved' spots.
Another option might be to use the queueRankPerms and just make your VIPs a higher rank than everyone else. You might use this if you have a lot less slots to work with, for example maybe you only have a 15 slot server. You don't want to reserve 10 slots for VIPs and only have a "5 slot" server, you instead want the server to be near max capacity (10? 13? 14? you choose). Then lets say for example, maybe at it's peak you have 6 people waiting in the queue. If a VIP tries to login and there are no slots available, they queue just like everyone else. But when the next slots becomes available, they get to take it because they are higher in the queueRankPerms list.
Hello, I could use a little help.. I'm confused on this.
Which config change do I need to make so MVP players can log in right away? (Skip queue)
Awesome, love it, this will work great with Buycraft so I can get some help paying for my server.
@andune
Awesome, thanks for the update!
Whoops, sorry I thought I updated and upload the 1.2 update already. Let me get that posted here shortly.
@andune update to 1.2.3 please
It worked up until now - didnt yet get a chance to test with 1.2+
Any news if this is still going?