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 Feb 20, 2012I'm trying to allow my players to have colored name and I also want the chat to display what rank they are. In my users.yml file, for each player i have the prefix set to '&c' or what ever colorcode they want, and in the groups.yml file i have the prefix set to '&f[group-name-here]' However, when start the server, save and reload, only the colored name shows and not the group. How can I fix this?
-
View User Profile
-
Send Message
Posted Feb 20, 2012I have a problem, I've edited the users.yml and groups.yml to what I want. I've then overriddden the users and group yml files in each of the "world" folders with the ymls that I want.
I get this problem: http://pastebin.com/65qT0RYm
It's so long that cmd deleted the other parts above..... As far as I can see, it seems to have a problem everywhere that is written "groups:" (w/o apostrophe).
Help please? :(
-
View User Profile
-
Send Message
Posted Feb 20, 2012@AS1LV3RN1NJA
perfectly
-
View User Profile
-
Send Message
Posted Feb 20, 2012Can I run 2 permissions tracks at once? I need to have one for the trust system: trust: - default - trusted - moderator - admin
As well as a donation track, like this: donation: - default - bronze - silver - gold - platinum
Will this work ok?
-
View User Profile
-
Send Message
Posted Feb 20, 2012@PixelPlayer
same they dont work for me either
-
View User Profile
-
Send Message
Posted Feb 19, 2012Hey codename_B, since you have my name listed in your example users.yml, would you be so kind as to let me add myself as a Tester!?!?!?!?!?!
-
View User Profile
-
Send Message
Posted Feb 19, 2012@Dungeonmaster
It's nothing to worry about. It's just that plugin hooking into the Permissions 2.X bridge in your version of bPermissions. The bridge is removed in later versions, so if none of your plugins depend on Permissions 2.X, we recommend you update your bPermissions.
-
View User Profile
-
Send Message
Posted Feb 19, 2012@Dungeonmaster
Hm
-
View User Profile
-
Send Message
Posted Feb 19, 2012@codename_B and support crew Great plugin and thanks for your efforts! I recetly upgraded to bPermissions from Permisions 2.7 (Phoenix) and everything APPEARS to be working fine BUT I see something "funny" in the server log. I am not a programmer but it looks like there are references to 2.7 when the version is 2.8.2 - is this the backup permissions or is there something I need to change/config? The text below is most of the log as I removed anything that did not seem to involve permissions. Thanks again and I look forward to your reply.
2012-02-19 04:00:12 [INFO] Starting minecraft server version 1.1 2012-02-19 04:00:12 [INFO] Loading properties 2012-02-19 04:00:12 [INFO] Starting Minecraft server on *:25565 2012-02-19 04:00:12 [INFO] This server is running CraftBukkit version git-Bukkit-1.1-R3-b1846jnks (MC: 1.1) (Implementing API version 1.1-R3) 2012-02-19 04:00:13 [INFO] [Register] Preferred method [null] not found, using first found. 2012-02-19 04:00:13 [INFO] [Register] version 1.5 is enabled. 2012-02-19 04:00:13 [INFO] [Vault] Loading Vault v1.2.8-b87. 2012-02-19 04:00:13 [INFO] [Vault][Economy] iConomy 6 found: Waiting 2012-02-19 04:00:13 [INFO] [Vault][Permission] bPermissions2 hooked. 2012-02-19 04:00:13 [INFO] [Vault][Chat] bPermissions found: Loaded 2012-02-19 04:00:13 [INFO] [Vault][Permission] SuperPermissions loaded as backup permission system. 2012-02-19 04:00:13 [INFO] [Vault][Chat] bPermissions hooked. 2012-02-19 04:00:13 [INFO] [Vault][Chat] bPermissions2 found: Loaded 2012-02-19 04:00:13 [INFO] [Vault] Enabled Version 1.2.8-b87 2012-02-19 04:00:13 [INFO] [LWC] Loading LWC v4.0.9 (b625-git-be4387f7). 2012-02-19 04:00:13 [INFO] LWC: Permissions API: NijiPermissions 2012-02-19 04:00:14 [INFO] [bPermissions] Loading bPermissions v2.8.3. 2012-02-19 04:00:14 [INFO] [bPermissions] Enabled 2012-02-19 04:00:15 [INFO] [WorldEdit] Loading WorldEdit v5.1.1. 2012-02-19 04:00:15 [INFO] WorldEdit 5.1.1 enabled. 2012-02-19 04:00:15 [INFO] WEPIF: Using the Bukkit Permissions API. 2012-02-19 04:00:15 [INFO] WEPIF: Using the Bukkit Permissions API. 2012-02-19 04:00:15 [INFO] [CommandBook] Loading CommandBook v2.0. 2012-02-19 04:00:17 [INFO] [Appleseed] Loading Appleseed v0.6.5. 2012-02-19 04:00:17 [INFO] Appleseed: Permissions 2.7.2 found 2012-02-19 04:00:18 [INFO] [Vault][Economy] iConomy 6 hooked. 2012-02-19 04:00:18 [INFO] [Register] Loading Register v1.5. 2012-02-19 04:00:18 [INFO] [Register] Payment method found (iConomy version: 6) 2012-02-19 04:00:18 [INFO] godPowers version 2.5 is enabled! 2012-02-19 04:00:18 [INFO] [GodPowers] Permissions detected. Now using permissions. 2012-02-19 04:00:18 [INFO] [mcMMO] Loading mcMMO v1.2.11-b121. 2012-02-19 04:00:18 [INFO] [Catacombs] Loading Catacombs v0.8. 2012-02-19 04:00:18 [INFO] [Catacombs] Looking for Permissions plugin 2012-02-19 04:00:18 [INFO] [Catacombs] Found and will use plugin Permissions v2.7.2 2012-02-19 04:00:20 [INFO] [Towny] Loading Towny v0.79.0.0. 2012-02-19 04:00:20 [INFO] ==================== Towny ======================== 2012-02-19 04:00:20 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile 2012-02-19 04:00:21 [INFO] [Towny] Using: bPermissions v2.8.3, Register v1.5, Questioner v0.5 2012-02-19 04:00:21 [INFO] ============================================================= 2012-02-19 04:00:21 [INFO] [ChestShop] Loading ChestShop v3.34. 2012-02-19 04:00:21 [INFO] [ChestShop] Permissions version 2.7.2 loaded. 2012-02-19 04:00:21 [INFO] [ChestShop] Vault loaded using economy plugin iConomy 6 2012-02-19 04:00:21 [INFO] [ChestShop] version 3.34 initialized! 2012-02-19 04:00:21 [INFO] [TownyChat] Loading TownyChat v0.16. 2012-02-19 04:00:21 [INFO] [Permissions] Loading Permissions v2.7.2. 2012-02-19 04:00:21 [INFO] WEPIF: Using the Bukkit Permissions API. 2012-02-19 04:00:21 [INFO] [Tombstone] Using Permissions (v2.7.2) 2012-02-19 04:00:21 [INFO] Server permissions file permissions.yml is empty, ignoring it 2012-02-19 04:00:21 [INFO] Done (7.937s)! For help, type "help" or "?"
-
View User Profile
-
Send Message
Posted Feb 19, 2012I just tried to upgrade from 1.9.2 to 2.8.6 and cannot get the users and groups to import...
In order I:
I get "[INFO] /permissions save|reload|helpme|backup" as a result with no import.
Is the FAQ incorrect, or missing a step or two? I really do not want to hand import all these permissions.
Thanks.
-
View User Profile
-
Send Message
Posted Feb 19, 2012Ok idk what's I have a quick question, but when I use Bpermissions why do I only get a file with config,mirros, and tracks? but i dont get the other world files so i can set up my permissions? such as world, nether, and end world?
-
View User Profile
-
Send Message
Posted Feb 19, 2012why do not my prefixes works?
-
View User Profile
-
Send Message
Posted Feb 19, 2012@codename_B
hmm ok. I'll open a thread here to clarify some things, as i feel it doesn't belong here in the comments ;)
-
View User Profile
-
Send Message
Posted Feb 19, 2012@pixelbat
It used to but support was removed because I finally convinced everyone that mysql for permissions was silly
-
View User Profile
-
Send Message
Posted Feb 19, 2012@Darq_Alder
Oh, I thought I read somewhere that bPermissions supported sql. My bad :P
-
View User Profile
-
Send Message
Posted Feb 18, 2012@pixelbat
Maaayyyyybe there is no MySQL support in this.
-
View User Profile
-
Send Message
Posted Feb 18, 2012Am I just missing it or what? I can't find any info on how to set this up with mysql :<
-
View User Profile
-
Send Message
Posted Feb 18, 2012@Lathanael
It's removed let me link you to it
https://github.com/codename-B/bPermissions/blob/master/src/de/bananaco/bpermissions/api/ApiLayer.java
-
View User Profile
-
Send Message
Posted Feb 18, 2012Am i blind or did you remove the API explanation.
-
View User Profile
-
Send Message
Posted Feb 18, 2012Hello, the command "/w" is disabling Bookworm's "/w" command... Can you fix it? Thanks!