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 Nov 8, 2011i have problems with bPermissions and Spoutplugin (dev build 525).
Ye, ye, I know its a dev build, but unfortunatelly some plugins force me to use that.
Wat happens is, server starts, no problems, no errors. But if person joins, he gets no permissions at all. No building rights or anything. This error for strange reasons do not happens everytime. I made some tests, started server, and I had no permissions. Then I stoped, and started again, still had no permissions. Without changing anything, I stoped and started again, this last time I had permissions.
On restarts it sometimes changes.
Also, tested without spout-dev. Nomatter how many times I restarted the server, I always had the right permissions.
Can something be done about it, or will I need to wait the official build of spout?
-
View User Profile
-
Send Message
Posted Nov 8, 2011@monsoue
You read the correct section labelled "per-player permissions"
Use ctrl+f if your eyesight isn't great.
-
View User Profile
-
Send Message
Posted Nov 7, 2011How do you add permissions for just 1 user?
-
View User Profile
-
Send Message
Posted Nov 7, 2011@Darq_Alder
Would it just look like this:
opt-out: true
I put that in and it doesn't seem to be working. The file was blank so I am not sure what it should look like.
-
View User Profile
-
Send Message
Posted Nov 7, 2011@Darq_Alder
@Darq_Alder I never actually found how to upload my source, so I just uploaded his since it was basically the same
@monsoue For most chat color plugins, add "&" and the color code. For example, if I wanted to make somebody "Admin," in the config I would put the prefix "&4Admin." It depends on the plugin you are using though.
-
View User Profile
-
Send Message
Posted Nov 7, 2011@DrakeGaming
Don't DELETE the stats folder. Of course it's just going to be recreated.
In plugins > stats, edit the config.yml and turn "opt-out" -> true
-
View User Profile
-
Send Message
Posted Nov 7, 2011@Tolerate
iChat still is supported, Drakia is gone off the bukkit forums, but he maintains his plugins at his website. http://thedgtl.net
Ohh, and I see you're the one that tried continuing the plugin: http://forums.bukkit.org/threads/tp-warpz0r-v1-0-continuing-the-warp-bukkitdev.44298/
No source changes, either.
I better not start anything..
-
View User Profile
-
Send Message
Posted Nov 7, 2011@codename_B
Hmmm, stats folder still being created on that one. I will wait for the official release tonight.
-
View User Profile
-
Send Message
Posted Nov 7, 2011@codename_B
Thanks!
-
View User Profile
-
Send Message
Posted Nov 7, 2011@monsoue
Right now, a good color coding plugin that supports bPermissions is iChat. It is currently up to date, however it is unsupported. In about 4 or 5 weeks, it will be behind a lot. Right now though, it's most likely compatible with your CB. It allows colored chat codes (optional) and/or color for groups which can be used in the bPermissions config file.
-
View User Profile
-
Send Message
Posted Nov 7, 2011Do you know a plugin made just for group colors? How do you add permissions for just 1 user?
-
View User Profile
-
Send Message
Posted Nov 7, 2011HOW DO I QUIT THE TUTORIAL
-
View User Profile
-
Send Message
Posted Nov 7, 2011@DrakeGaming
I'll get a version that doesn't include this particular module out tonight - for now you can grab it from my jenkins.
http://ci.xdevelopers.tk:8080/job/bPermissions/ws/target/bPermissions-1337-SNAPSHOT.jar
-
View User Profile
-
Send Message
Posted Nov 7, 2011Hmmm, it seems every time my server starts up the stat tracking folder is created again. I tried deleting it, but it didn't work.
-
View User Profile
-
Send Message
Posted Nov 7, 2011@ Darq_Alder
Ok, thank you very much!
-
View User Profile
-
Send Message
Posted Nov 7, 2011@DrakeGaming
That's nothing to do with bPermissions. It's part of a stat tracking feature of the plugin that connected to blockface.org.
Since blockface no longer exists, it doesn't make the connection so you get the error, you can stop the error from occurring by disabling stat tracking in plugins>stats
-
View User Profile
-
Send Message
Posted Nov 7, 2011I am getting a bunch of errors when I run this mod (example):
2011-11-07 19:11:36 [SEVERE] java.io.FileNotFoundException: http://usage.blockface.org/update.php?name=Craftbukkit&build=1.7.9.9&plugin=bPermissions&port=25610&hash=788368dd-0daa-4e34-8e12-aa94a0091048&bukkit=git-Bukkit-0.0.0-1131-g86b7fa8-b1337jnks (MC: 1.8.1) 2011-11-07 19:11:36 [SEVERE] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1401) 2011-11-07 19:11:36 [SEVERE] at org.blockface.stats.CallTask.postUrl(CallHome.java:93) 2011-11-07 19:11:36 [SEVERE] at org.blockface.stats.CallTask.run(CallHome.java:78) 2011-11-07 19:11:36 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34) 2011-11-07 19:11:36 [SEVERE] at java.lang.Thread.run(Thread.java:636)
Something to worry about?
-
View User Profile
-
Send Message
Posted Nov 7, 2011@monsoue
Sounds like a question for a chat plugin
-
View User Profile
-
Send Message
Posted Nov 7, 2011how do you add color to groups? ex. i want Moderators to be blue.
-
View User Profile
-
Send Message
Posted Nov 7, 2011@Gaurav1234
There are also promotion tracks permission nodes, please look under the advanced section.