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 Apr 6, 2012<<reply 634959="">>
Its so good it works with 1.2.5
-
View User Profile
-
Send Message
Posted Apr 6, 2012It works fine with version 1.2.4 ?
-
View User Profile
-
Send Message
Posted Apr 5, 2012Can I help write the following problem when everything true ear ca me wrong load sensing ":" in http://yaml-online-parser.appspot.com/ I get the following error Output
ERROR:
mapping values are not allowed here in "<unicode string>", line 2, column 6: Builder:
-
View User Profile
-
Send Message
Posted Apr 4, 2012Good Job on bpermissions @ Codename_B and the bperms team! One question though: Is there are master permission node for all the plugins? Example (Permissions 3.1.6) '*'
-
View User Profile
-
Send Message
Posted Apr 3, 2012Im trying something, want to know if anyone has done something similar.
Ok, so I want to have seperate perms for creative/survival maps.
Obviously, mirroring wont work, but what I did was use the same group anmes across both worlds
then
rm users.yml
ln -s ../survival/users.yml users.yml
Reloaded perms and it appears to be ok at the moment, just wasnt sure if anyones done this before? :)
-
View User Profile
-
Send Message
Posted Apr 3, 2012Hello, I uploaded to youtube a video tutorial helpful for Spanish users. This way you canprevent people do absurd questions.
Take a look, tell me if you like and if so you can put in bukkit dev
http://www.youtube.com/watch?v=5rFleK_IwME
-
View User Profile
-
Send Message
Posted Apr 2, 2012@decebaldecebal
Thanks so much for helping me out with the permissions!
So since I don't have any groups to apply with only my sister and I on the server, can I just simply give myself all the permissions and my sister the specific ones?
Could I just leave the groups.yml blank and the users.yml with the proper permissions?
-
View User Profile
-
Send Message
Posted Apr 2, 2012@decebaldecebal
if I use mirrored configs, does that mean I can still define changes in the config of the inheriting world, or is that ignored entirely?
-
View User Profile
-
Send Message
Posted Apr 2, 2012@Killburner
you don't need global files,just set up mirrors for your world i use it that way and it works great
@XxSilverhandxX
http://pastebin.com/uJRk5VkG this is how your config should look like.There were YAML errors in your file,you can check them here: http://yaml-online-parser.appspot.com/
-
View User Profile
-
Send Message
Posted Apr 2, 2012@Killburner
I had the same happen.
-
View User Profile
-
Send Message
Posted Apr 1, 2012On reload a server, i take this error.
bukkit 1.2.4 r1
00:52:41 [SEVERE] Error occurred while enabling bPermissions v2.9.1 (Is it up to date?) java.lang.IllegalArgumentException: The permission bpermissions.* is already defined! at org.bukkit.plugin.SimplePluginManager.addPermission(SimplePluginManager.java:559) at de.bananaco.bpermissions.imp.SuperPermissionHandler.<init>(SuperPermissionHandler.java:78) at de.bananaco.bpermissions.imp.Permissions.onEnable(Permissions.java:73) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at com.alecgorge.minecraft.jsonapi.dynamic.APIWrapperMethods.enablePlugin(APIWrapperMethods.java:508) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at com.alecgorge.minecraft.jsonapi.dynamic.Call.call(Call.java:142) at com.alecgorge.minecraft.jsonapi.dynamic.Caller$1.call(Caller.java:64) at org.bukkit.craftbukkit.scheduler.CraftFuture.run(CraftFuture.java:34) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:520) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
-
View User Profile
-
Send Message
Posted Apr 1, 2012Seem to be having trouble with 'use-global-files: true'. bPermissions will randomly write default (empty) users/groups to the world directories. Occasionally they are copies of the users/groups from the root directory, other times they are empty.
-
View User Profile
-
Send Message
Posted Apr 1, 2012http://pastebin.com/uNu2bjZt
This is what I did, I left - ^eTeleport.warp.warp negative so I could test if I couldn't warp, but it turns out I couldnt do anything lol. I only edited the users.yml and didnt touch the track, config, or groups.yml. I know once I get the first few nodes done, Im hoping I can do the rest for the other plugins.
My other question is how do you add another user to the permissions file?
Im basically starting from the ground up and really had no idea what I was doing lol. I have played on servers where bPermissions is used with the different track ranks and what not but I have no idea how to set this up myself.
-
View User Profile
-
Send Message
Posted Apr 1, 2012@XxSilverhandxX
Post your code in pastebin, we'll get you sorted out.
-
View User Profile
-
Send Message
Posted Apr 1, 2012Ok so I read through this FAQ and the Bukkit guide to writing permissions but I still dont get it at all.
I have LWC, eTeleport, Vault, PlgSetSpawn for plugins
Its just 2 users playing on this server, myself Dedicated_Blade and my sister HamsterLuvr. Can someone please guide me in the right direction?
-
View User Profile
-
Send Message
Posted Mar 31, 2012I only have three files:
config.yml Mirrors.yml tracks.yml
Why is this? There are no other folders, can I just make the folders and sub files or will that not work?
If it won't what am I doing wrong and how do I get the rest of the files??
-
View User Profile
-
Send Message
Posted Mar 31, 2012Is it possible to change group per user manually in file ?
I don't know why comman promote doesn't work, when i use promote user moderator
-
View User Profile
-
Send Message
Posted Mar 30, 2012@Imm0rt41
"/promote" "/demote"
-
View User Profile
-
Send Message
Posted Mar 30, 2012@QweSteR2221
The fuck? You're actually going to advertise a plugin here?
The FAQ is fine, all you need to do is take 5 minutes to read it.
@Imm0rt41
"/promote"
-
View User Profile
-
Send Message
Posted Mar 29, 2012@QweSteR2221
What? Try making sentences or at the very least full thoughts.