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 Jul 27, 2012Hello. I want to start to use bPermissions but I already have groupmanager. How can I convert all my files easily from groupmanager to bPermissions? Thanks.
-
View User Profile
-
Send Message
Posted Jul 27, 2012Having the same issue as PowermasterV. If I remove my name from ops.txt my username isn't being granted any of the permissions that are setup for the group it's in. Any name in ops.txt, regardless of what group they belong to, can access all commands. Obviously this isn't how things are meant to operate and I'm missing something somewhere.
-
View User Profile
-
Send Message
Posted Jul 23, 2012I have successfully configured my bPermissions with the WebGUI. When I go in-game, the prefixes and colors work, but none of the permissions do. Only OP's have the permissions. I need help please! Thank you!
-
View User Profile
-
Send Message
Posted Jul 22, 2012Are permissions that are similar in all worlds transfered automatically to the global permissions file? I don't remember ever adding things into it.
-
View User Profile
-
Send Message
Posted Jul 22, 2012@snazzagazza
Several errors in your groups.yml file, I have corrected it, here you go:
http://pastebin.com/JubXTpqT
One of the errors was: prefix: '[&cMod&f]
It should be like: prefix: '[&cMod&f]'
-
View User Profile
-
Send Message
Posted Jul 22, 2012@snazzagazza
http://www.4shared.com/file/OIfGH0FW/groups.html
Take a look at the top group of permissions in Notepad+ +, Notice how they have 2 extra spaces, BUT dont just press the space bar 2 times, as Notepad+ + doesnt understand it, you have to backspace back to the start of the line then hit the space key 6 times, make sure to do this to each permission, if done correctly under the 'Permissions:' branch there should be a faint dashed line going down the list of permissions. I hope this helps you out....
--.Jake-
View User Profile
-
Send Message
Posted Jul 21, 2012Link Removed: http://www.mediafire.com/?wcxp6c2h33mvfuk
This is my file. I looked it over and couldn't see the problem. HELP!
-
View User Profile
-
Send Message
Posted Jul 21, 2012@ snazzagazza
Your problem must be YAML related, in Notepad++ under the Permissions: branch, backspace back to the start of the line, then hit spacebar 6 times, then type " - " followed by a space then your permission.node, if the indent is different to before then it may help you, it helped me once.
Sorry for my bad punctuation and lack of formatting......Its late :)
-
View User Profile
-
Send Message
Posted Jul 21, 2012I know this may be a really noobish question but its racking my brain, so here goes.
How can i add the permissions from the group Guest to the group Owner in-game without typing them all separate? I have seen it somewhere but iv been through my browser history to no avail.
-
View User Profile
-
Send Message
Posted Jul 21, 2012@snazzagazza
yaml error, post the offending file
-
View User Profile
-
Send Message
Posted Jul 21, 2012Just need a little help. Recently remade all the ranks on my server, previously was using bpermissions, worked fine, got new plugins, had to remake. So I started it up and its telling me all these severe errors.
21:32:34 [INFO] [31;1mPermissions for world:world did not load correctly! Please consult server.log [m 21:32:34 [SEVERE] org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
in "<string>", line 14, column 7: priority: '10' expected <block end>, but found Scalar in "<string>", line 34, column 18: priority: '20'
21:32:34 [SEVERE] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) 21:32:34 [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) 21:32:34 [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105) 21:32:34 [SEVERE] at de.bananaco.bpermissions.imp.YamlConfiguration.load(YamlConfiguration.java:17) 21:32:34 [SEVERE] at de.bananaco.bpermissions.imp.YamlWorld.loadUnsafe(YamlWorld.java:122) 21:32:34 [SEVERE] at de.bananaco.bpermissions.imp.YamlWorld.load(YamlWorld.java:90) 21:32:34 [SEVERE] at de.bananaco.bpermissions.imp.Permissions.onCommand(Permissions.java:354) 21:32:34 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) 21:32:34 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) 21:32:34 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479) 21:32:34 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) 21:32:34 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) 21:32:34 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) 21:32:34 [SEVERE] at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) 21:32:34 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) 21:32:34 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) 21:32:34 [SEVERE] at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) 21:32:34 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) 21:32:34 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) 21:32:34 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 21:32:34 [SEVERE] Caused by: while parsing a block mapping
in "<string>", line 14, column 7: priority: '10' expected <block end>, but found Scalar in "<string>", line 34, column 18: priority: '20'
21:32:34 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575) 21:32:34 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) 21:32:34 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) 21:32:34 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) 21:32:34 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) 21:32:34 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) 21:32:34 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) 21:32:34 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) 21:32:34 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) 21:32:34 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) 21:32:34 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) 21:32:34 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123) 21:32:34 [SEVERE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) 21:32:34 [SEVERE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) 21:32:34 [SEVERE] at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) 21:32:34 [SEVERE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) 21:32:34 [SEVERE] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) 21:32:34 [SEVERE] ... 19 more
So yeah..... Help? Sorry for the super long post....
-
View User Profile
-
Send Message
Posted Jul 21, 2012Just wondering if you have any tips on what I can do to prevent serer lag when I promote players? Every time I promote someone my TPS drops to 14.1. Would consolidating world files help out?
Anything you can do to help this out? Is it possible to have the plugin append files in a separate thread?
-
View User Profile
-
Send Message
Posted Jul 20, 2012@codename_B
[SEVERE] null [1:46] Error in style rule. Invalid token "*". Was expecting one of: <S>, "}", ";", <IDENT>.
[SEVERE] null [1:46] Ignoring the following declarations in this rule.
Could theese messages be from bPermissions?
I am still on version 2.9.4 and my Bukkit is 1.2.5-R4
Groups.yml: http://pastebin.com/39xcx2ps
-
View User Profile
-
Send Message
Posted Jul 19, 2012@ThisUsernameIsMine
Alright, thanks.
I'll track that down and fix it up!
-
View User Profile
-
Send Message
Posted Jul 19, 2012@Jungalist81
The latest version works, but when trying to add a permission to a non-standard world, using shorthand commands, the permission node isn't added.
What i did:
(works)
/w mineworld
/group supervisor
/group addperm magiccarpet.mc.5
(doesn't work)
/exec g:supervisor a:addperm v:magiccarpet.mc.5 w:mineworld
When leaving leaving out w:mineworld, it works but then the node gets aplied to all worlds ofc.
-
View User Profile
-
Send Message
Posted Jul 18, 2012the last few versions of bperms has some bugs whereas some commands will not work.
Fortunately codename_b has v2.9.10 that was updated 13 hours. Please backup your files and update and try this new version.
So far in my server, this new version is working. What about everyone else?
-
View User Profile
-
Send Message
Posted Jul 18, 2012This is a great plugin (better than permissionsbukkit) but i am having trouble with the bPermissions.admin node. Whenever i try /permissions or /promote /demote I get an error message that says.
[bPermissions] You're not allowed to do that!
all of the other commands/nodes work fine. here is my groups.yml file thanks in advanced. http://pastebin.com/FWZyqbVS
-
View User Profile
-
Send Message
Posted Jul 18, 2012@codename_B
Weird, nonmembers should not be able to break/place blocks and interact, members should be able to. When I used 2.9.9 only ops could interact and break/place block, when I reverted back to 2.9.8 everything worked as it should?
-
View User Profile
-
Send Message
Posted Jul 18, 2012I believe v2.9.10 fixed it. Thank you kind sir ;-)
-
View User Profile
-
Send Message
Posted Jul 18, 2012@MutinyCraft
http://pastebin.com/sFt5pKAd
theres the link, i can also give you the whole startup thing if you want to,
i think its the Newbie thing, ill try it out.
cya