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 Jan 12, 2013@guenael44
If someone pays me to add it.
@enteih20
I told you, you have a YAML ERROR.
-
View User Profile
-
Send Message
Posted Jan 12, 2013@enteih20
http://dev.bukkit.org/server-mods/bpermissions/files/133-v2-9-25c/
This works without any issues at all, I've been reliably using this for over 24 hours with no group resets or anything - with the newest one however, the resets are very frequent and unpredictable.
-
View User Profile
-
Send Message
Posted Jan 11, 2013codename_b, could you PLEASE fix bpermissions? I really need it and even though i downloaded 25c, it still resets the groups and perms
-
View User Profile
-
Send Message
Posted Jan 11, 2013@I9hdkill
where can i download 25c? im having the same problem as you. If you dont know where to download it from, send it to enteih20@gmail.com
Thankyou
-
View User Profile
-
Send Message
Posted Jan 11, 2013SQL support soon ? Ty.
-
View User Profile
-
Send Message
Posted Jan 11, 2013@codename_B
After updating I have not yet had a problem, thanks.
-
View User Profile
-
Send Message
Posted Jan 11, 2013@codename_B
i have sent you a copy:)
thx
-
View User Profile
-
Send Message
Posted Jan 11, 2013@I9hdkill
Send me copies of your perms so I can test the specific set?
-
View User Profile
-
Send Message
Posted Jan 11, 2013The newest version (2.10.2) has mixed up my perms....
Beware!!!
I have to backup to 25c, too.
I had the same problem like Puremin0rez.
-
View User Profile
-
Send Message
Posted Jan 11, 2013@codename_B
I was using the latest version btw
Ah, I see. Well, for now 25c works fine for me - so i'll keep using it until its absolutely necessary to update :)
For some reason users were being written to the global users.yml and in the mirror users.yml, and sometimes it would switch between using the global and mirror. It also wiped out all of the groups of people that logged in, so that's pretty bad - luckily backups are my friend!
Never had a issue with this plugin until now, that's more then what I can say from when I used PEX - hahahaha.
-
View User Profile
-
Send Message
Posted Jan 11, 2013@Puremin0rez
There's big changes in how saving/loading works from 2.9.25c because Bukkit have moved to async events for prelogin which means I have to figure out how to make it "block" till it's done caching the permissions for the player otherwise they don't have them when they login.
-
View User Profile
-
Send Message
Posted Jan 11, 2013I went back to build v2.9.25c and the issue is fixed.
Not sure what's going on...
-
View User Profile
-
Send Message
Posted Jan 11, 2013@codename_B
world_nether: world world_the_end: world world_creative: world world_event: world
It's always worked fine, but randomly today, I find my entire groups file was reset and all the permissions emptied out
-
View User Profile
-
Send Message
Posted Jan 11, 2013@Puremin0rez
That's not what causes that. Paste your mirrors.yml
-
View User Profile
-
Send Message
Posted Jan 11, 2013It seems mirrors are not working properly
I have use global files set to false yet its adding people to users.yml with the default group in the root - this causes everyone to loose permissions after a permissions reload
-
View User Profile
-
Send Message
Posted Jan 11, 2013@Asip
Sure, I'll work on fixing that bug - thanks!
-
View User Profile
-
Send Message
Posted Jan 10, 2013Codename_b, i found this when i started my server. Can you tell me what i can do to fix it?
2013-01-11 14:44:31 [INFO] [bPermissions] Enabling bPermissions v2.10.2 2013-01-11 14:44:31 [SEVERE] org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping in "<string>", line 1, column 1: default: Newbie ^ expected <block end>, but found BlockEntry in "<string>", line 2, column 1: - Newbie ^
2013-01-11 14:44:31 [SEVERE] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) 2013-01-11 14:44:31 [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) 2013-01-11 14:44:31 [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105) 2013-01-11 14:44:31 [SEVERE] at de.bananaco.bpermissions.imp.SingleGroupPromotion.load(SingleGroupPromotion.java:37) 2013-01-11 14:44:31 [SEVERE] at de.bananaco.bpermissions.imp.Config.loadUnsafe(Config.java:68) 2013-01-11 14:44:31 [SEVERE] at de.bananaco.bpermissions.imp.Config.load(Config.java:28) 2013-01-11 14:44:31 [SEVERE] at de.bananaco.bpermissions.imp.Permissions.onEnable(Permissions.java:70) 2013-01-11 14:44:31 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) 2013-01-11 14:44:31 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) 2013-01-11 14:44:31 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 2013-01-11 14:44:31 [SEVERE] at org.bukkit.craftbukkit.v1_4_6.CraftServer.loadPlugin(CraftServer.java:282) 2013-01-11 14:44:31 [SEVERE] at org.bukkit.craftbukkit.v1_4_6.CraftServer.enablePlugins(CraftServer.java:264) 2013-01-11 14:44:31 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.j(MinecraftServer.java:321) 2013-01-11 14:44:31 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.e(MinecraftServer.java:300) 2013-01-11 14:44:31 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.a(MinecraftServer.java:259) 2013-01-11 14:44:31 [SEVERE] at net.minecraft.server.v1_4_6.DedicatedServer.init(DedicatedServer.java:149) 2013-01-11 14:44:31 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:399) 2013-01-11 14:44:31 [SEVERE] at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) 2013-01-11 14:44:31 [SEVERE] Caused by: while parsing a block mapping in "<string>", line 1, column 1: default: Newbie ^ expected <block end>, but found BlockEntry in "<string>", line 2, column 1: - Newbie ^
2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575) 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123) 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) 2013-01-11 14:44:31 [SEVERE] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) 2013-01-11 14:44:31 [SEVERE] ... 17 more 2013-01-11 14:44:31 [INFO] [debug] Loading world: world 2013-01-11 14:44:31 [INFO] [debug] Loading files took 5ms 2013-01-11 14:44:31 [INFO] [debug] [bPermissions] Enabled 2013-01-11 14:44:31 [INFO] [NoIce] Enabling NoIce v1.5 2013-01-11 14:44:31 [SEVERE] org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping in "<string>", line 3, column 3: Newbie: ^ expected <block end>, but found BlockSequenceStart in "<string>", line 13, column 5: - -simplespleef.list ^
2013-01-11 14:44:31 [INFO] [debug] Error setting users dirty 2013-01-11 14:44:31 [INFO] [MineConomy] Enabling MineConomy v1.5 2013-01-11 14:44:31 [SEVERE] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) 2013-01-11 14:44:31 [INFO] [debug] Set started: true 2013-01-11 14:44:31 [INFO] [MineConomy] [INFO] Enabling plugin... 2013-01-11 14:44:31 [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) 2013-01-11 14:44:31 [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105) 2013-01-11 14:44:31 [SEVERE] at de.bananaco.bpermissions.imp.YamlConfiguration.load(YamlConfiguration.java:16) 2013-01-11 14:44:31 [SEVERE] at de.bananaco.bpermissions.imp.YamlWorld.loadUnsafe(YamlWorld.java:126) 2013-01-11 14:44:31 [SEVERE] at de.bananaco.bpermissions.imp.YamlWorld$1.run(YamlWorld.java:90) 2013-01-11 14:44:31 [SEVERE] at de.bananaco.bpermissions.imp.loadmanager.MainThread$1.run(MainThread.java:57) 2013-01-11 14:44:31 [SEVERE] Caused by: while parsing a block mapping in "<string>", line 3, column 3: Newbie: ^ expected <block end>, but found BlockSequenceStart in "<string>", line 13, column 5: - -simplespleef.list ^
2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575) 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) 2013-01-11 14:44:31 [INFO] [debug] 3 users loaded. 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) 2013-01-11 14:44:31 [INFO] [debug] 12 groups loaded. 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123) 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) 2013-01-11 14:44:31 [SEVERE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) 2013-01-11 14:44:31 [SEVERE] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) 2013-01-11 14:44:31 [SEVERE] ... 6 more
Please help. I really want this plugin to start working properly so my server can be opened up again.
-
View User Profile
-
Send Message
Posted Jan 10, 2013Thanks so much! EDIT 2: All good, there was a problem with the mirrors!
-
View User Profile
-
Send Message
Posted Jan 10, 2013codename_B, I am currently in a dilemma. For some reason whenever I add permissions to my groups.yml in one of my worlds the strangest thing happens. I go in game after saving the file, do /permissions reload it reloads them and then for some reason the players don't have then newly added permissions. The permissions are from the plugin Enderchestplus if you could help me with this problem I'd be grateful, thank you.
-
View User Profile
-
Send Message
Posted Jan 10, 2013@codename_B
how do i fix the YAML formatting error?