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 Jan 8, 2012@LimeByte
Sure, no problem. It's on the way :)
@Calman102
Example groups is shown above, users is just the same but with "users:" instead of "groups:" and no default: name key.
If you read the page, it would say this.
-
View User Profile
-
Send Message
Posted Jan 8, 2012@codename_B
Can you add a helpme command to fill in all files e.g. mirrors.yml
-
View User Profile
-
Send Message
Posted Jan 7, 2012I don't understand this new bpermissions. Can you plz pastebin example groups and users YAML
-
View User Profile
-
Send Message
Posted Jan 7, 2012I upgraded to 2.3.2.2. Everything looks like it's working now without errors.
-
View User Profile
-
Send Message
Posted Jan 7, 2012@Terex88 the world name is the name of the world's folder in your server. by default you get "world" "world_nether" and "world_the_end"
-
View User Profile
-
Send Message
Posted Jan 7, 2012Okay, sorry if this is a stupid question, but how the hell do you tell what "world" you need to select? I guess I have no idea how this works. I type /world, it says "No world selected." I type /world ANYTHING and it says "Please select a loaded world!" How do I find out my loaded world?! "head explodes"
-
View User Profile
-
Send Message
Posted Jan 7, 2012@TheCoolest2
One of your config files is formatted incorrectly.
-
View User Profile
-
Send Message
Posted Jan 7, 2012Having errors, no idea on what they mean, please help D: Its too big of an error to fit in 1 picture http://s774.photobucket.com/albums/yy21/The2Coolest2/?action=view¤t=error1.png http://s774.photobucket.com/albums/yy21/The2Coolest2/?action=view¤t=error2.png
-
View User Profile
-
Send Message
Posted Jan 7, 2012@nickbus
@adrianthewriter
Update to the 2.3.1 that I've uploaded (whenever it gets approved) it fixes that bug.
-
View User Profile
-
Send Message
Posted Jan 7, 2012@codename_B
Thanks for that. I have removed residence and restarted my server.
I now get the following:
2012-01-07 13:57:56 [INFO] [bPermissions] Loading world: traken_nether
2012-01-07 13:57:56 [SEVERE] java.lang[code]</p> <p>[/code]NullPointerException
2012-01-07 13:57:56 [SEVERE] at de.bananaco.bpermissions.imp.DefaultWorld.loadUnsafe(DefaultWorld.jav
a:90)
2012-01-07 13:57:56 [SEVERE] at de.bananaco.bpermissions.imp.DefaultWorld.load(DefaultWorld.java:52)
2012-01-07 13:57:56 [SEVERE] at de.bananaco.bpermissions.imp.Permissions.onEnable(Permissions.java:47
)
2012-01-07 13:57:56 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
2012-01-07 13:57:56 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
.java:968)
2012-01-07 13:57:56 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
r.java:280)
2012-01-07 13:57:56 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
2012-01-07 13:57:56 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169
)
2012-01-07 13:57:56 [SEVERE] at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
2012-01-07 13:57:56 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
2012-01-07 13:57:56 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
2012-01-07 13:57:56 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
2012-01-07 13:57:56 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
2012-01-07 13:57:56 [INFO] [bPermissions] Enabled
Which I think is identical to ArrowsToDaKnee
N
-
View User Profile
-
Send Message
Posted Jan 7, 2012After upgrading to v2.3.2a, I noticed that my chat plugin can no longer pull the prefix info from my groups.yml or users.yml. It worked previously in v2.1.4b. I'm using vault to connect the two plugins, so I'm guessing that's where the problem is. From what I can tell (by poking around in both of your source files), vault is the one connecting to your plugin, and not the other way around, so this probably isn't a bug on your end. I just thought I'd bring it up in case. :)
I was having trouble migrating to the new file structure, at first. It didn't seem to want to load any permissions from neither groups.yml nor users.yml. I ended up fixing it by turning everything in the files to lowercase. Now everything seems to load just fine.
Also, I was getting that same error as ArrowsToDaKnee and DreDo97, so I upgraded from v2.3.2a to v2.3.2.1a. now I'm getting a slightly different error:
BTW, I'm really enjoying the new structure of this plugin. I can actually remember the commands now, and having a "default" groups.yml and users.yml simplifies things a lot for me. I'm really looking forward to future versions so I can see how much more amazing this plugin can be. :D Keep up the great work!
-
View User Profile
-
Send Message
Posted Jan 7, 2012@nickbus
Hi, it looks like residence isn't using superperms?
That's a really wierd-ass bug. I'm gonna say that's residences fault.
-
View User Profile
-
Send Message
Posted Jan 7, 2012Sorry, the format of my groups.yml file was wrong in the first post.
default: default
groups:
View:
permissions:
- ^permissions.build
- mchat.prefix.visitor
- dreamlands.goto
- dreamlands.nowakeup
groups: []
Default:
permissions:
- ^mchat.prefix.visitor
- mchat.prefix.guest
- admincmd.server.help
- admincmd.player.list
- permissions.build
- portalstick.teleport
- blockhat.hat
- stargate.use
- chesscraft.basic
- lwc.protect
- dreamlands.fly
- admincmd.spawn.tp
- myhome.home.basic.home
- myhome.home.basic.set
- myhome.home.basic.delete
- iConomy.user
- multiverse.access.*
- multiverse.portal.select
- multiverse.core.list.worlds
groups:
- View
Member:
-
View User Profile
-
Send Message
Posted Jan 7, 2012Hi, I have tried to use this plugin today (I am using v2.3.2.1a), and I get the following in my log file:
=== 2012-01-07 12:59:01 [INFO] SuperJump version 0.7 has been enabled!
2012-01-07 12:59:01 [SEVERE] null ====== java.lang.ClassCastException: de.bananaco.bpermissions.imp.Permissions cannot be cast to de.bananaco.per missions.Permissions at com.bekvon.bukkit.residence.permissions.PermissionManager.checkPermissions(PermissionManager. java:123) at com.bekvon.bukkit.residence.permissions.PermissionManager.<init>(PermissionManager.java:46) at com.bekvon.bukkit.residence.Residence.onEnable(Residence.java:189) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188) at com.bekvon.bukkit.residence.Residence.setEnabled(Residence.java:1704) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) 2012-01-07 12:59:01 [INFO] [Residence] Successfully linked with iConomy! Version: 6.0.7b 2012-01-07 12:59:01 [INFO] [Residence] Loaded.. ===.
I am not sure that I have got the format of my config files right, so here is the head of groups.yml
default: default groups: View: permissions: - mchat.prefix.visitor - dreamlands.goto - dreamlands.nowakeup Default: permissions: - mchat.prefix.guest - admincmd.server.help - admincmd.player.list - permissions.build - portalstick.teleport - blockhat.hat - stargate.use - chesscraft.basic - lwc.protect - dreamlands.fly - admincmd.spawn.tp - myhome.home.basic.home - myhome.home.basic.set - myhome.home.basic.delete - iConomy.user - multiverse.access.* - multiverse.portal.select - multiverse.core.list.worlds groups: - View Member: permissions: - mchat.prefix.member - warpplugin.warp
At the moment, users.yml is blank
(I am currently trying to move off PermissionsBukkit)
All help is very welcome.
N
-
View User Profile
-
Send Message
Posted Jan 7, 2012@ArrowsToDaKnee
@DreDo97
Working on fixing it ^^
-
View User Profile
-
Send Message
Posted Jan 7, 2012@BioRage
Yep, I have that error too.
-
View User Profile
-
Send Message
Posted Jan 6, 2012@codename_B
How so ? Oh woops, the users: is actually like this: users: and so forth, I accidently pasted like that.
EDIT: YAML parser has no errors, and I notice my error is very similar to past poster's! Some world error stuff...
-
View User Profile
-
Send Message
Posted Jan 6, 2012@ArrowsToDaKnee
Hi, those are incorrectly formatted.
@Melekaiah
Hi, if you paste the errors, I can fix them :)
-
View User Profile
-
Send Message
Posted Jan 6, 2012Just wanted to say thankyou for this. It was easy to set up and is a joy to use. I really do like it and have run into little problems
(well the 2.3a did crash for me :/.. but ill give it a try again soon. :) keep up the great work
-
View User Profile
-
Send Message
Posted Jan 6, 2012Hello! I keep getting this error:
Here is my groups and users.yml
Users.yml: users: