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!
Jenkins
Development builds of this project can now be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff, and are possibly buggy. Use them at your own risk.
For me it comes up with "an internal error occurred while attempting to perform this command"
Says good bye to GroupManager! Thanks to all the developers. I'm loving !
Yeah! that works great now... adds only 1 person.. i can set the group, and then when that person joins back to the server, they are in that specific group as per should be.. great work, thank you very much!
thanks rymate1234 - i'll give that a try once it gets posted
@Rillithain
@arriej
@Gorathon1
it's fixed in 2.10.9e
I removed all the bpermissions stuff (folder and jar file), copied over the version d, and joined my server, and still had 2 entries entered. It seems to be creating the second entry after setting up the superperms line in the log
edit: Is this line relevant? [Vault] [Permission] SuperPermissions loaded as backup permission system.
i disabling the vault plugin though, and the same issue occurred.. i disabled also essentials and multiverse, but still same thing happened with both the name and the UUID being added to the users.yml.
Also - not sure if I said this before or if its relevant, I'm on Multicraft (as that is what the host uses)
So i converted all my users to uuid. And now everone who joins after the uuid conversion gets placed in the default group. I use version: 2.10.9c And spigot version: git-Spigot-081dfa5-7658819 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)
According to the /version command i am 23 versions behind. I will update spigot and bperms to new versions tonight. But i dont know if the issue will still be there.
I thought i just report it now. I will keep you updated for whats going to happen with the update.
Pushed an update that might fix it - please test asap
Just updated to the latest version. that fixed the problem. Now i'm having the same problem as Rillithain.
thanks rymate1234 - hopefully this output looks readable (this will be attempt #3)
[10:43:42] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[10:43:42] [Server thread/INFO]: Done (2.047s)! For help, type "help" or "?"
[10:43:43] [Server thread/INFO]: [debug] Loading files took 0ms
[10:43:43] [Server thread/INFO]: [debug] Empty ConfigurationSection:users:plugins/bPermissions/users.yml
[10:43:43] [Server thread/INFO]: [debug] Empty ConfigurationSection:groups:plugins/bPermissions/groups.yml
[10:43:43] [Server thread/INFO]: [debug] 0 users loaded.
[10:43:43] [Server thread/INFO]: [debug] 0 groups loaded.
[10:43:43] [Server thread/INFO]: [debug] Setting up all players...
[10:43:43] [Server thread/INFO]: [debug] Loading files took 5ms
[10:43:43] [Server thread/INFO]: [debug] Empty ConfigurationSection:users:plugins/bPermissions/twinworld/users.yml
[10:43:43] [Server thread/INFO]: [debug] 0 users loaded.
[10:43:43] [Server thread/INFO]: [debug] 15 groups loaded.
[10:43:43] [Craft Scheduler Thread - 3/INFO]: [Vault] Checking for Updates ...
[10:43:43] [Craft Scheduler Thread - 3/INFO]: [Vault] No new version available
[10:47:21] [User Authenticator #1/INFO]: UUID of player Rillithain is e192e1e3-8c4f-4a0e-9441-b10a89b17cfe
[10:47:21] [Server thread/INFO]: [debug] PlayerPreLogin setup: e192e1e3-8c4f-4a0e-9441-b10a89b17cfe
[10:47:21] [Server thread/INFO]: [debug] 1 users saved.
[10:47:21] [Server thread/INFO]: [debug] 15 groups saved.
[10:47:21] [Server thread/INFO]: [debug] Saving files took 6ms
[10:47:21] [Server thread/INFO]: [debug] Setup superperms for Rillithain. took 2ms.
[10:47:21] [Server thread/INFO]: [debug] Setup superperms for Rillithain. took 0ms.
[10:47:21] [Server thread/INFO]: Rillithain[/xx.xx.xx.xx:56434] logged in with entity id 194 at ([TwinWorld] -363.9789209572578, 129.0, 192.45528967371743) [10:47:21] [Server thread/INFO]: [debug] 2 users saved.
[10:47:21] [Server thread/INFO]: [debug] 15 groups saved.
[10:47:22] [Server thread/INFO]: [debug] Saving files took 6ms
[10:47:38] [Server thread/INFO]: Rillithain lost connection: Disconnected
And here is my users.yml after joining
users:
rillithain:
permissions: []
groups:
- peasant
e192e1e3-8c4f-4a0e-9441-b10a89b17cfe:
permissions: []
groups:
- peasant
@Rillithain
you could enable debug mode and give me the output of the server log when joining with a blank users.yml, as this will help me narrow down the cause of the issue. even with worldedit (which is the cause of the WEPIF file) there was still only one entry created on my test server.
@Gorathon1
I'll look into the issue
(sorry if this becomes a double post, i did a reply the first time, and I don't know where that went... sorry if that became a personal message directly to you)
I removed bpermissions (only had the 1 installed), deleted the directory completely, restarted the server, then joined the server (i'm the only one on it right now).. and it created 2 entries still, one for my username, one for my UUID - in the users.yml file. If i enable debug mode, is there something that it could tell me? or, is debug mode just going to be something the devs would understand? I do not have all that many plugins yet, as I'm just setting up the server, and I'm waiting to get a working permissions plugin first (i have a few, but they are all small things like vault, serversigns, etc.. the 3 biggest i have is essentials, multiverse and worldedit). I'm not using the global permissions either - just the world permissions. Running CraftBukkit version git-Spigot-fa7cbf9-00eba53 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT).
I just noticed there is a wepif.yml file in my main folder.. and it seems to have permissions in it.. are you familiar with this? but my server console says : [Server] INFO WEPIF: bPermissions detected! Using bPermissions for permissions"
@rymate1234
I'm did for my files, and if they were there for the example files, then yes. But are the tracks case sensitive?
@Rillithain
on my test server when a player joins for the first time it only creates a UUID entry for them, no idea why yours is messing up - maybe check you don't have 2 versions of bPermissions installed?
@Gorathon1
did you configure promotion tracks?
Hi - I see you updated to version 2.10.9c and I've updated it, but the same is happening with respect to adding both uuid and usernames to the users.yml file in the world directory, but it seems that the server is only seeing the usernames. The UUID is set to a higher rank, but only the default rank is being identified for the users. Is this because I'm running spigot maybe? (The convert command seemed to run, but I don't know if it did anything... the users.yml and the groups.yml in my main world didn't change
I tried creating some ranks, and when i used /promote it wiped the tags, permissions, and groups. i also tried this with the example files and the same thing happened. Can you help?
Hi! I've updated to 2.10.9b, but the permissions convert doesn't appear to be doing anything. I've confirmed in the log that it is loading fine. I'm running it in the multicraft console (which is where the other permissions commands work for me)
The current issue i'm having, is that when someone joins the server, it creates two entries (the user name, and the uuid). When I setgroup to a user, in the users.yml (world specific) it sets it in the UUID, but not in the username. I know this update will not be using the usernames, and only the UUID, but my users.yml seems to be still adding both entries. Will convert fix that? (if I can get convert working)
@michalet
Uh whoops! As a workaround just move the files to a world specific folder for now to convert
v2.10.9.b seems to convert fine, but only converts world specific files, not the global one. Is this intended?
@rymate1234
While bpermissions doesn't appear to be choking my server to death on startup anymore, the commands won't work ingame and I get "internal error".
There also appears to be a startup error too.
I have already opened a ticket with both of these error messages included, as well information about my server.