bPermissions
bPermissions
Welcome to bPermissions, a Superperms Manager for Bukkit! bPermissions focuses on being unique from the rest of the Permission managers. It's very simple to set up and use, it's lightning fast, fully featured, and has a great support team!
Some features:
- bPermissions has a gui client specifically designed to make running a server so easy that you'll forget that you ever used any other permissions plugin. Get it here!
- bPermissions has a unique command structure, never before seen in a permission manager. It's best used for adding lots of nodes to a user or group from the console or in-game, less typing!
- bPermissions has everything you would expect from a Permissions manager. Prefix and suffix support, inheritance, per-player permissions, multiworld support, promotion/demotion tracks, and even group priorities for multi-group setups.
- Note - bPermissions only defines prefixes and suffixes. You need a chat plugin such as bChatManager for them to show up in chat.
Commands
Say you have a user called 'Bob' and you want to put him in the group 'admin' and give him the prefix 'awesome'.
- /world yourmainworld - selects the world "yourmainworld"
- /user bob - selects the user "bob"
- /user setgroup admin - set bob's group as "admin"
- /user meta prefix awesome - set bob's prefix to "awesome"
You can do the same with groups!
- /world yourmainworld - again, selects the world
- /group admin - selects the group "admin"
- /group addgroup moderator - makes the admin group inherit from the moderator group
- /group meta prefix &c[Admin] - sets the admin prefix to "&c[Admin]"
Some other commands are as follows
- /permissions (or /bperms,/bp,/p) - general commands for bPermissions are prefixed by this
- /permissions import pex - import a pex permissions.yml in the pex folder
- /permissions reload - reloads your bPermissions files
- /permissions save - if auto-save is false, this saves your perms
- /permissions backup - backup your permissions
- /permissions helpme - for the lazy among you, this spews out some basic permissions files into your folder.
In order to use these commands, you'll need the permissions node bPermissions.admin
For configurable /promote and /demote tracks, you'll want to use permissions tracks. To read about those, visit this page
Want more commands? We have some others over on the commands page. Check 'em out!
Editing Files
bPermissions creates per world groups.yml and users.yml files in the bPermissions folder, which allow you to configure permissions on a per world basis.
Because bPermissions was designed to be configured largely via commands, bPermissions will often overwrite changes to these files especially if you /reload or restart the server.
If you've edited the files, you MUST use /permissions reload to load the modified files into the server, otherwise the permissions changes won't apply. Because a standard /reload unloads all plugins like a server stop, we cannot tell the difference between them and this will overwrite changes to your files with whatever the server last stored.
World mirroring
Worlds are mirrored like so:
world_mirroring_to: world_mirroring_from world_nether: world world_the_end: world
This duplicates the whole config for that world. Currently there's no way to have just the users or the groups mirrored, stay tuned for an update that adds this!
bPermissions and EssentialsChat
Allow me to put this issue to bed. Essentials Chat + bPermissions works for prefix and color.
This guide is for current users of EssentialsChat and want to use bPermissions along with it.
Players have colored rank prefixes and faction chat modes are also colored. All text can be colored by the players too using color codes such as &c.
bPermissions\world\groups.yml ( code snippet )
default: default groups: ## Peasant ## default: permissions: - group.default - group.userannouncer - group.userauction groups: - userannouncer - userauction meta: priority: '100' ## Citizen ## rank1: permissions: - group.default - group.rank1 groups: - default meta: priority: '200'
It has nothing configured for prefix but the group names are important (default, rank1)
Essentials\config.yml ( Code Snippet )
change-displayname: true #add-prefix-suffix: false player-commands: - chat.color - chat.format - chat.shout - chat.question chat: radius: 0 group-formats: default: '&8&lPeasant &r&8{DISPLAYNAME}&7:&r {MESSAGE}' rank1: '&8&lCitizen &r&7{DISPLAYNAME}&7:&r {MESSAGE}' moderator: '&e&l[Mod] &r&3{DISPLAYNAME}&7:&r {MESSAGE}' admin: '&c&l[Admin] &r&e{DISPLAYNAME}&7:&r {MESSAGE}'
Please direct all other Essentials support to their official support networks.
How do I get support?
First, we highly recommend you go read the FAQ page. If the answer isn't there, there's a few options of support.
- Visit the #bananacode irc channel on irc.esper.net. Just head there, as your question, and wait for someone to help you. It might be a while before you get an answer, so be patient!
- You can file a ticket. This is recommended if you don't have the time to hang around in the IRC or you have a bug report. Be prepared to check back to the ticket though, and make sure you attach your bPermissions groups and users yml files to the ticket.
- Comment on the bPermissions main page.
Note that as there's only one (slightly inactive) maintainer at the moment, any support queries may take some time.
However you choose to get support, "pls dont use txt spk," and make sure you use actual grammar.
I'm a developer!
If you wish to hook your plugin into bPermissions, please see the Developer Page for more information! If you wish to contribute code to bPermissions, fork us on GitHub!
Development builds of this project can also be downloaded from GitHub now. These builds have not been approved by the BukkitDev staff, and are possibly buggy. Use them at your own risk.
-
View User Profile
-
Send Message
Posted Jun 22, 2013@TheBlackBeltPanda
You CAN use setgroup (try bPermissions 2.10.4): http://dev.bukkit.org/bukkit-plugins/bpermissions/pages/bpermissions-command-list/
You may also consider using promotion tracks, which simplifies the command usage (e.g.: /promote playername rank)
And last but not least i advice you to try 2.10.4. I'm in the same boat as you but for me 2.10.4 works a treat/charm ;-)
Good Luck !~
-
View User Profile
-
Send Message
Posted Jun 22, 2013@TheBlackBeltPanda
Yeah, the start up time of bPermissions is like 1 minute! So the 1 minute after my server started (around 30 people join) they don't have any permissions so they have to relog. Please decrease the load time, most plugins are less than a second, or make it like the old bPermissions where it wouldn't let you join until bPermissions was fully loaded :D
-
View User Profile
-
Send Message
Posted Jun 22, 2013@GiraffeKnee
Haven't I seen you on my sever? XD Anyway, the command you want is: /exec g:(group) a:setprefix v:(prefix)
-
View User Profile
-
Send Message
Posted Jun 21, 2013@GiraffeKnee
I would answer but I don't use the in game commands besides promote/demote..
-
View User Profile
-
Send Message
Posted Jun 21, 2013Can someone please answer my question? :/
-
View User Profile
-
Send Message
Posted Jun 21, 2013@10jared105
I completely understand, but I run a server with 5,000 unique registered users with 40 on at any given time. I'm getting complaints left and right about ranks not being applied, permissions not updating, and even ranks being rolled back after the server restarts. I need a solution now. =/
-
View User Profile
-
Send Message
Posted Jun 21, 2013@TheBlackBeltPanda
You know they're probably working on an update to fix this as we speak, just wait a while.
-
View User Profile
-
Send Message
Posted Jun 20, 2013The bug with group changes not updating is significantly impacting my server. I have several users complaining daily about losing their ranks or not getting them when they purchase them. I'm going to try to downgrade and see if that works.
Edit: Apparently the previous version doesn't have the /setgroup command. Without that, I'm stuck at the latest (broken) version. Time to look for another permissions plugin. I'd hate to have to switch back to PEX. =/
-
View User Profile
-
Send Message
Posted Jun 20, 2013When someone's rank is changed in game it is not affected on the users.yml.. How do I fix this? They get the old rank back on startup..
EDIT: I also realized it does not even MAKE the area for a some players in the users.yml file. Both new players and ones that haven't ever ranked up. (Then when they do, on restart, they no longer have it because there was a user thing for the plugin to read, but then autorank promotes them in 5 min)
-
View User Profile
-
Send Message
Posted Jun 19, 2013Can someone help me out, is there a way to do /exec and set the prefix for a certain group? because I can't figure it out :I.
-
View User Profile
-
Send Message
Posted Jun 19, 2013When I try to use an /sg command, for survival games, I get this back:
-
View User Profile
-
Send Message
Posted Jun 19, 2013Is there another update for 1.5.2 coming soon? It just seems like the recent ones have some problems?
-
View User Profile
-
Send Message
Posted Jun 19, 2013Whenever I run /bp reload to reload changes to the permissions, my players don't have permission to do anything for a few minutes.
Edit: It seems the users have to relog in order to regain their permissions. I have to /kickall in order to ensure everybody relogs after I reload bPermissions.
-
View User Profile
-
Send Message
Posted Jun 19, 2013Hi thanks for keeping this going, Just stopped by to say we had not been experiencing any issues with perms or sorting until we used the latest update that was supposed to fix this issue that some experienced. Now they are all mixed up totally random :( Thanks again though as this perms has been a lot less trouble then any other we have tested and tried . Hope this issue will eventually be solved for all and you find that pesky bug with your size 10's ;) Keep up the great work guys.
-
View User Profile
-
Send Message
Posted Jun 18, 2013@ThisUsernameIsMine
I'm having this same problem. Since my users are auto-ranked from my server's shop, I worked around it by having the shop issue a /kick command after setting their new rank.
-
View User Profile
-
Send Message
Posted Jun 18, 2013when i do /world [world] /user [ign] /user setgroup [group] it changes the perms but not the prefix
what do i do?
-
View User Profile
-
Send Message
Posted Jun 17, 2013I get this error on the server start-up. Can someone help?
22:29:30 [INFO] [bPermissions] Enabling bPermissions v2.10.4 2013-06-17 22:29:30 [INFO] [WorldEdit] Enabling WorldEdit v5.5.6 2013-06-17 22:29:30 [SEVERE] org.bukkit.configuration.InvalidConfigurationException: mapping values are not allowed here in "<string>", line 5, column 11: groups: [] ^
2013-06-17 22:29:30 [SEVERE] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) 2013-06-17 22:29:30 [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) 2013-06-17 22:29:30 [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105) 2013-06-17 22:29:30 [SEVERE] at de.bananaco.bpermissions.imp.YamlConfiguration.load(YamlConfiguration.java:16) 2013-06-17 22:29:30 [SEVERE] at de.bananaco.bpermissions.imp.YamlWorld.loadUnsafe(YamlWorld.java:126) 2013-06-17 22:29:30 [SEVERE] at de.bananaco.bpermissions.imp.YamlWorld$1.run(YamlWorld.java:90) 2013-06-17 22:29:30 [SEVERE] at de.bananaco.bpermissions.imp.loadmanager.MainThread.check(MainThread.java:52) 2013-06-17 22:29:30 [SEVERE] at de.bananaco.bpermissions.imp.loadmanager.MainThread.run(MainThread.java:27) 2013-06-17 22:29:30 [SEVERE] Caused by: mapping values are not allowed here in "<string>", line 5, column 11: groups: [] ^
2013-06-17 22:29:30 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:733) 2013-06-17 22:29:30 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:305) 2013-06-17 22:29:30 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179) 2013-06-17 22:29:30 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563) 2013-06-17 22:29:30 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) 2013-06-17 22:29:30 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) 2013-06-17 22:29:30 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) 2013-06-17 22:29:30 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) 2013-06-17 22:29:30 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) 2013-06-17 22:29:30 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) 2013-06-17 22:29:30 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123) 2013-06-17 22:29:30 [SEVERE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) 2013-06-17 22:29:30 [SEVERE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) 2013-06-17 22:29:30 [SEVERE] at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) 2013-06-17 22:29:30 [SEVERE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) 2013-06-17 22:29:30 [SEVERE] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) 2013-06-17 22:29:30 [SEVERE] ... 7 more 2013-06-17 22:29:30 [INFO] WEPIF: bPermissions detected! Using bPermissions for permissions 2013-06-17 22:29:30 [INFO]
-
View User Profile
-
Send Message
Posted Jun 17, 2013@Rapidgame7
NVM, I forgot to set to true the offline mode thing.
-
View User Profile
-
Send Message
Posted Jun 17, 2013I cannot do anything! It should print some text on chat when I try to use any command? And it should print files when I use /permissions helpme ? Because nothing shows up! Nothing!
-
View User Profile
-
Send Message
Posted Jun 17, 2013For some reason 2.11.x (including 2.11.2) is giving problems when promoting someone's rank: the name color @ tab and group's permissions don't update (only after they relog).
Under 2.10.4 everything works fine and players don't need to relog in order to have their appropiate rank color and group's permissions =/