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 Dec 3, 2011How can I set a default group?
-
View User Profile
-
Send Message
Posted Dec 3, 2011@iN94
This is explained on the FAQ page
-
View User Profile
-
Send Message
Posted Dec 3, 2011@SLiPCoR
I removed bPermissions and the spam stopped. It says "Permissions" in the console whenever a person in the server moves in any way (looks back and forth, walks in any direction, etc)
The current plugins installed on my server are: AdvLog, AntiCreeper, Backup, bPermissions-1337-SNAPSHOT, Essentials, EssentialsChat, EssentialsSpawn, IWarnYou, MobDisguise, Prefixer, RebuildPlugin, SimpleRestart, spout-dev-SNAPSHOT, TNTcake, TpC, VanishNoPacket, WeatherControl, Whitelist, WorldEdit.
OK sorry i figured out its an issue between bPermissions and Advlog, im going to go ask about this issue on the AdvLog page, thanks for trying to help anyway
-
View User Profile
-
Send Message
Posted Dec 3, 2011Hi! I am experiencing a problem with xAuth, and I am suspecting it has something to do with bPermissions because of this part:
16:43:30 [INFO] [bPermissions - debug] Setup player:[Myusername]took 8ms 16:43:30 [INFO] [Myusername] [/MYIP] logged in with entity id 3273 at ( [World One] 322.70691195490815, 63.0, 173.01379224114135) 16:43:30 [SEVERE] Could not pass event PLAYER_JOIN to xAuth java.lang.NoClassDefFoundError: org/bukkit/enchantments/Enchantment at com.cypherx.xauth.database.DbUtil.insertInventory(DbUtil.java:264) at com.cypherx.xauth.xAuth.protect(xAuth.java:288) at com.cypherx.xauth.xAuth.createGuest(xAuth.java:270) at com.cypherx.xauth.listeners.xAuthPlayerListener.onPlayerJoin(xAuthPla yerListener.java:68) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:260) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:339) at net.minecraft.server.ServerConfigurationManager.c(ServerConfiguration Manager.java:129) at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:113) at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:80) at net.minecraft.server.Packet1Login.a(SourceFile:59) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:46) at net.minecraft.server.NetworkListenThread.a(SourceFile:94) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) Caused by: java.lang.ClassNotFoundException: org.bukkit.enchantments.Enchantment
at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:36) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:24) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 17 more 16:43:33 [INFO] Connection reset
Am I right or am I completely off track? If I am right, is there any sort of solution?
-
View User Profile
-
Send Message
Posted Dec 3, 2011@codename_B
Hello. Can you please explain to us why the ' node.* ' is currently not implemented anymore?
-
View User Profile
-
Send Message
Posted Dec 3, 2011Can you please add the "node.*" back ? We really need it for worldguard it uses permissions like this worldguard.region.addowner.own.* where as the * is the regionname ;(
Don't want to go back to pex :S
-
View User Profile
-
Send Message
Posted Dec 3, 2011@Diamond_shotgun
okay, please make sure you only have 1 permissions system installed. remove bPermissions to make sure that it's caused by bPermissions
-
View User Profile
-
Send Message
Posted Dec 2, 2011@SLiPCoR yeah i updated bukkit but im still getting the spam :/
-
View User Profile
-
Send Message
Posted Dec 2, 2011well, either 1337 or latest bukkit, that would be... #1550 - update ;)
-
View User Profile
-
Send Message
Posted Dec 2, 2011I need some help... I have about 20 plugins and multiple nodes for each of them in use with bPermissions. I am using the latest snapshot of bPermissions (but this happens with the other versions too), and i have CB 1534. The plugin spams the word "Permissions" in the console at a rate of around 1000 times per minute, and no, I'm not exaggerating. I would just like to know if this is because of my CB build? Or does this happen for anybody else?
Just want it to stop because it interferes with my activity in the server when im not actually on minecraft.
-
View User Profile
-
Send Message
Posted Dec 2, 2011Ah alright, it was a great help anyways. Another question I added prefixes for groups, but ingame they dont work :o
-
View User Profile
-
Send Message
Posted Dec 2, 2011@SirMonsterSlayer
bPerms adds them by reading each plugin's private yml file, where developers define commands, descriptions and permissions. If a plugin does not get listed with /p helpme, the author did not add that to his file - so it's an error on their part ;)
@LordValgor
yep - /p helpme creates a fresh config (backup if you did something) and adds all known permission nodes, from there on it's only copy paste, OPs will get "suggested" nodes, that's as good as a plugin can interprete permissions nodes of other plugins :)
-
View User Profile
-
Send Message
Posted Dec 2, 2011So I noticed that the ".*" function no longer works. The FAQ says this is because the default API does not support it, which is fine... However, does anyone have a way to make it easier to add nodes to denizens on the server then? I don't know about you, but I don't want to type the 20 different nodes for some of the plugins out there...
Just a question...
-
View User Profile
-
Send Message
Posted Dec 2, 2011IF "*" permissions do not work, why does bperm add them with the use of /p helpme also why doesn't it add all permissions ? :o
ex worldborder.*
-
View User Profile
-
Send Message
Posted Dec 2, 2011I'm still waiting for the reply...
-
View User Profile
-
Send Message
Posted Dec 2, 2011Hello.
What is iplock.yml ? How to use it?
And, what is format-chat: false in the config.yml use for?
-
View User Profile
-
Send Message
Posted Dec 2, 2011@zoppp
?
-
View User Profile
-
Send Message
Posted Dec 1, 2011I keep getting errors like this. SEVERE permission node 'admin.basic' in server config is invalid. I am using super perms for some of the permissions.
-
View User Profile
-
Send Message
Posted Dec 1, 2011Where can I find the list of ALL permissions that are owned by bPermissions, I mean:
bPermissions.build bPermissions.admin
Are only 2 of them.... I know bPermissions.promote exists, but wich others? :(
Other question, in config.yml file what are:
cache-values: true
override-player: false
?
-
View User Profile
-
Send Message
Posted Dec 1, 2011@zoppp
Its highly recommended to use yaml.