SimplePromoter
SimplePromoter
PermissionsEx promotions made easy
by Stealth2800
Version: 2.0.4 (awaiting approval)
Tested on Bukkit: 1.5.2, 1.6.1, 1.6.4
Originally written for the server: Orbis Astorea
Description
An easy alternative to promoting players with PermissionsEx that also broadcasts the change, easily letting the person know they were promoted.
This is also my first plugin! I'm working hard to improve it and would appreciate any feedback and/or constructive criticism on what I can do to make it better.
Features
- Single command for promoting players
- Ability to add player to multiple groups
- Easy permission control to limit what groups a person can promote/demote to
- Simple command to check what group(s) a player is a part of
- Plays a sound when a player is promoted (to that player only)
Commands & Permissions
Command | Info | Permission |
---|---|---|
/simplepromoter version | Shows plugin version | none |
/simplepromoter help | Shows help | simplepromoter.help |
/simplepromoter reload | Reloads plugin config files | simplepromoter.reload |
/setrank <player> <rank> [rank] ... yes/no | Set a player to a rank (or multiple). Yes/no determines if message is broadcasted | simplepromoter.setrank |
/checkrank <player> | Show what group(s) a player is in | simplepromoter.checkrank |
-- | Give permission to rank TO a certain group | simplepromoter.group.<groupname> |
-- | Give permission to rank FROM a certain group | simplepromoter.from.<groupname> |
By default, I'd suggest giving simplepromoter.from.* and simplepromoter.group.* to groups that are allowed to use this plugin. If you don't want them to promote to a group, you can do:
- -simplepromoter.group.admin
- simplepromoter.group.*
in your config file. You can do the same thing for prohibiting them from promoting from a group.
- -simplepromoter.from.admin
- simplepromoter.from.*
Dependencies
- PermissionsEx (Required)
- StBukkitLib (Required)
Upcoming Features
- Config option to change/disable promotion sound
- Ability to restrict what groups a user can promote FROM.
- (i.e. - Limit them so they can't promote a user in the administrator group)
- Support for other permission plugins (GroupManager, bPermissions, others on request.)
@tspierer2
No, only PEX. I would also advise against using this plugin as it is very out of date and I will not be updating it any further.
Does this plugin worth alongside groupmanager?
Can you join my server and fix it its not working! they can still promote to admin My server ip : s39.hosthorde.com:25600 plz come i really need this plugin working
@marc771122
...What? /setrank <player> <group> where group name(s) are the rank names that are defined in the PermissionsEx permissions.yml file. You need to give the node
- -setrank.group.admin
in order to prevent promoting to the 'admin' group. THAT EXTRA - IN FRONT OF SETRANK IS IMPORTANT, that takes away the permission node.
This is not working i tried like you said -setrank.group.admin but didn't work mods can promote to admin and i created admin rank in my server like &7ADMIN and when i do /setrank notch admin &7ADMIN it says admin don't exist and i can't find a thing in configurations. Any help?
@cookieman768
This would allow admins to promote to any group except the 'mod' or 'admin' groups.
- simplepromoter.setrank
- -simplepromoter.group.mod
- -simplepromoter.group.admin
- simplepromoter.group.*
How could I set it up so Admins can promote Members to Trusted but admins can't promote players to mod, admin, or above?
@WerVam
Currently there is no way to allow players to only promote themselves. I could implement a /selfrank command or something similar though.
Hey, I want my Guests to promote themselves to the group "Member" and tried a lot of stuff with giving them or removing Permissions. They can Promote themselves from Guest to Member, but they can also change any other Player to the Rank Member as long as they are only Guests. An Example: New Players can demote Admins/Mods to normal Members but no other Group. Greetings, WerVam
Here are my Permissions: - simplepromoter.setrank - -simplepromoter.group.mod - simplepromoter.group.member - -simplepromoter.from.mod - simplepromoter.from.default - -simplepromoter.group.admin - -simplepromoter.from.admin - -simplepromoter.from.*
v2.0.2 has been submitted for approval.
@MrMe1003
No. It only gives permission depending on what permissions you give the group. simplepromoter.group.admin will only give access to the admin group for example.
Does it only allow promoting below/to the rank of the promoter? Like, say, I had a guild if Thieves, and I wanted to give the top two ranks, "King of thieves" and "Master thief" the ability to promote along the group ladder "Thieves". I would not want the Master Thief to be able to make a novice thief a Master thief, nor would I want the Master Thief to be able to promote someone to the rank of King of Thieves.
@QuAd205
The plugin actually checks if the player has ever joined the server before. I removed that feature due to it being very unreliable and not working half the time. I'll be submitting an updated version of the plugin to BukkitDev very soon.
@Stealth2800
Yeah, I was talking about 2.0 =p
@QuAd205
If you hadn't already seen, the plugin has been approved and updated to v2.0. :)
Plugin is starting up great, but it sometimes doesn't see when a player is online or not therefore being unable to promote. This happened a few times. Having the player relog fixes it though.
Besides that, everything is working great. Looking forward to the restriction on groups feature :P
@QuAd205
Version 2.0 uploaded and waiting for approval. :)
@QuAd205
No, it's fine. I love suggestions. XD
A sound would most definitely be awesome, I'll attempt to implement it. :)
@Stealth2800
Sounds good. :) Any thoughts on adding the level_up sound when promoting someone? Might be a nice touch.
Sorry if I'm suggesting too much, but I really like this plugin :P
@QuAd205
I'm currently in the process of reprogramming SimplePromoter entirely.