SlotGroups
SlotGroups
A different approach to slot management.
Description
SlotGroups gives you the ability to create multiple independent slot groups. Each one has their own maximum player count and group full kick messages, enabling more advanced slot management than is possible with typical reserved slots.
For example, you could give your 10 admins and moderators a slot group with 10 slots and set the default slot group to be 30 slots. This would allow all of the 10 moderators and admins to be on the server without taking up any of the 30 slots in the normal player group, while still keeping an overall cap of 40 players on the server.
You can configure as many slot groups as you like, creating some interesting possibilities. Slot inheritance has been implemented recently, increasing the possibilities even further.
I made this plugin to fill a very specific need on my server, and as such it is still pretty specialized. I'm working on adding more features to give it more general appeal, and am definitely looking for feature requests! If there's something you'd like to see added, please request it on the SlotGroups Redmine or post it here.
Features
- Create multiple independent or inherited slot groups.
- Have different maximum slot counts for different players or groups.
- Make slot distribution more fair.
- Have certain slot groups 'overflow' into others.
- Users can automatically be put in a 'Default' slot group.
- Manage user slot group membership from within the game.
- Put the server in lockdown mode, preventing all but specific users from being able to join.
- Add/Edit/Remove slot groups in the config file, then apply in-game using `/slotgroups reload`.
- Slot group in-game list.
- Requires Vault >=1.2.8
- Recommended to use Vault >=1.2.15
How to Use
- Download and extract the .zip package.
- Place the contents of the .zip in your Plugins folder.
- Configure SlotGroups.yml to your liking.
- Set your max-players in your server.properties to the total number of slots in all slot groups.
- Add relevant SlotGroups command and slot group permissions to groups or users as desired.
- Enjoy!
Commands
- /slotgroups (/sg)
- Shows the main command syntax.
- /sg list
- Lists all loaded slot groups plus their current and max players.
- /sg reload
- Reloads the configuration file from disk.
- /sg version
- Displays version information to users. Users with the slotgroups.version permission will also be notified of new versions when running this command. (Update check done by a connection to api.curseforge.com)
- /sg lockdown
- Locks all slots that do not have override set to true.
- /sg unlock
- Unlocks all slots.
- /slotgroupsuser (/sguser)
- Shows the syntax for user management commands.
- /sguser set <user> <group>
- Puts <user> into slot group <group>.
- /sguser remove <user> <group>
- Removes <user> from slot group <group>.
- /sguser info <user>
- Shows slot group information for <user>.
Permissions
- slotgroups.list
- Gives access to `/sg list`.
- slotgroups.version
- Allows the version command to perform an update check against api.curseforge.com
- slotgroups.reload
- Gives access to `/sg reload`.
- slotgroups.lockdown
- Gives access to `/sg lockdown` and `/sg unlock`.
- slotgroups.user.set
- Gives access to `/sguser set`.
- slotgroups.user.remove
- Gives access to `/sguser remove`.
- slotgroups.user.info
- Gives access to `/sguser info`.
- slotgroups.group.<group>
- Puts a group or user in slot group <group>.
Links
To Do
- Add per-group configurable login queue.
- Add optional per-group AFK settings.
- Create public API for slot groups and counts.
- Add in-game commands for manipulating slot groups.
- Add in-game commands for manipulating slot groups Permissions group membership.
- Release accompanying /who plugin with support for displaying slot group slot counts.
- Add more configuration options.
- Add command to lock/unlock specific slots while in-game.
Images
- `/slotgroups list` output:
Conflicts
- Any slot reservation plugin.
Known Limitations/Bugs
- You should set your server.properties max-players to equal the number of slots in all your slot groups to prevent issues.
- Existing plugins are not slot group aware and will report the number of max-players in your server.properties. I will be releasing the /who plugin I use on my server that is slot group aware.
- Changing a Permissions group's slot group won't take effect until /sg reload or the server restarts.
Hey, will this be updated for Spigot 1.8?
Would it be possible to integrate it with VanishNoPacket to hide vanished players from the number of slots being used? Like, if there's a group called Reserved that has 3 pex groups linked, and 6 visible players and 2 vanished, it would show 6 instead of 8.
Updated to v0.2.11:
Should work for 1.7.2, haven't had a chance to fire up the server yet, but it compiles against bukkit 1856 (1.7.2 initial build)
Updates are finally beginning again. Please feel free to report any issues you might have after the new version is approved.
Looks like exactly the plugin I'm looking for... pitty it's not updated :(
Nice plugin, one issue.
When i add players a specific group, the server forgets them when they leave and puts them back in the default group. It works for the OPs but no-one else. Is there a way of manually doing this?
Thanks Mrmjg
I would really like to use this plugin for my server for my staff and my donors. Is there anyway you can update this?
I'll be working on an update to this shortly.
Edit: Bit of a delay, realized that the update will have to wait until I'm back at my development machine, in about a week.
Hello its the best plugins ever, its a protect for spam bots, thank you
all spam bot its default and if you set default to 20 its not lagg you server att all. you can have auto ranks to rank upp you player. have a good day
/tobiasko5
does this work with 1.3 ?
"
Conflicts
add :
Whitelist plugins developper say
It's not a bug as it has to do with the SlotGroups plugin. It uses the wrong priority for the listener as it adds players to a group before all other plugins has disallowed/allowed a player to join. The plugin should use monitor as priority, which means it just checks to see if the player joined or wasn't allowed to join. So you have to take it up with the maker of SlotGroups.
I use Dynamic Effect Whitelist for limit the spamJoins bot... and when a player not-whitelisted joined :
...
/list : 35/999 player /slotgroups list : Citoyens : 50/50, Donateur : 15/50, Admin : 4/15
The player is not allowed on the server but SlotGroup add on his slot
The count go to normal when /slotgroups reload
@todo94
Do you mean without a permissions plugin? No, there's currently no support for running without a permissions plugin, but I may add a flatfile user configuration option in the future if there's demand for it.
can i ues this without a rank plugin?
You can add such a thing that the players from that group would be able at full server, just as was the case SimpleReserve plugin?
Because I do not want to be adding in turn each player. Best as a group they belong to be allowed to enter the full server.
http://dev.bukkit.org/server-mods/simplereserve/
Hope there's a update. I want slots where people can join on my hunger game servers since there's like no room once it opens.
@awesomebilly, @Serilum: I am still working on SlotGroups, and will be releasing a version for the current CB build shortly.
@ASWeiler: I almost have the login queue to the point it's ready for release; just need to finish up testing and polish the interface more. And yes, apparently the Redmine instance is down right now for some reason, I'll try to get that back up today. Not quite sure what happened to it.
I apologize for the delay in updates; I haven't had nearly as much free time lately as I'd like.
Hi any chance for an update? This is in high demand
Are you still working on this? v0.3.0 seems very good :)