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.
sweet! Now anyone looking will know that bPerms is still alive (and still the best).
wasn't asking for an update, maybe just recompile so we have a new date on the file?
Just to show that the project is monitored.
In reply to guyd60:
Sure, I'll take a look today. There were changes to the source code (looks like a couple bug fixes relating to permissions checks and default groups) since the last bukkitdev release, so probably makes sense to put them up
everytime i reload my server the my whole code disappears!!!
why does this happen and how can i fix this? :(
In reply to kyoyaishot:
If you reload the server with /reload without doing /bp reload then any changes you make to the bPermissions YML files will be overwritten, as /reload will essentially simulate a server shutdown from a plugin perspective, so we save the currently stored permissions as there's no way of merging the changes.
Also, /reload is generally considered a Bad Thing and you should avoid it where possible: https://matthewmiller.dev/blog/problem-with-reload/
To clarify, the workflow for manual permissions changes is:
1. Make the changes to the YML files with a proper text editor (notepad, notepad++)
2. Save the changes
3. Run /bp reload so that bPermissions reloads the permissions from the files
bPermissions itself does not provide permissions for any gameplay related things, that all comes from spigot / bukkit / other plugins, so as long as those are up to date there should be new permissions
However, as noted, is project hasn't been updated since 2016. I'm not going to rule out an update in the future if a major change requires an update, or if anyone with an issue provides a stacktrace and permissions configs to reproduce. Other than this, I doubt any new features will be added to bPermissions from me, although PRs for features are welcome!
Oh I know it works fine but with the several new versions there are new things available in the game which might want permissions. Even if not it would be comforting to see a date newer than 2016 just to let people know the project was alive.
There is nothing wrong with bPermissions. It has worked flawlessly since I first started using it 2011. If you have problems to update groups or adding permissions with commands, just make changes manually with WordPad or similar. Have autosave enabled and when you are done, use command /permissions reload. It is that simple. This plugin will work virtually with any Spigot or Bukkit version and that's why there is no need to update it frequently. I am not part of developer group but it is so sad to see it's legacy been trashed...
There has not been any work done on bpermissions in more than 2 years. Is this mod still being supported at all? I mean 1.14.2 has new commands and old commands may have been reworded.
Is anyone of the 10 listed owner/ticketmanger/contributors still active?
this sh*t doesnt work
In reply to Forge_User_25508708:
why, what's the issue
I have tried literally everything, I need to launch my server to the public but I cant figure out ranks, if you have a discord Id be glad to join and work it out, if not the problem is that it keeps saying "An internal error occurred while attempting to perform this command" and idk why, I've tried reinstalling and fixing config. Nothing works. Thanks for help in advance.
I'm not sure if anyone can help me, it has been many years since used bpermissions and nothing is working for me at all... Ive watched several tutorials and it still doesn't work.
In world > groups I have
default: default
groups:
default:
permissions:
- minecraft.command.op
groups: []
meta:
prefix: 'Default'
from my understanding, it's setting the default group to default yet when I load in and join as a none op it doesn't give me permission for that command nor give me the prefix, ive even tried setting my username to default and nothing changes. :/
./world world will not work for me it says "please select a loaded world"
WHAT ARE THE PERMISSIONS FOR THIS PLUGIN IM A NOOB TELL ME PLIZZZ
Can someone please tell me the command to remove a suffix and prefix and priority meta in game ? And how to delete a group in commands?
Thank you!!!
Prefix doesn't work for me and I don't know why. I'm doing everything right!!
Why can't I do the default Bukkit/Minecraft commands (gamemode, tp, etc)?
And why can't I promote users?
groups.yml
https://pastebin.com/iPy58Tdw
In reply to ankrotachi10: