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 23, 2012@uuuserunknown
Sure, buy minecraft.
The only way to run bPermissions in offline mode is to pay me the cost of a minecraft license so I can buy one on your behalf to account for you accomodating software pirates.
The other way to fix this is to turn your server to online mode.
-
View User Profile
-
Send Message
Posted Apr 23, 2012I just installed this plugin and I run into errors. I use the Bukkit 1.2.4 but I could find one for such version. Here is the code
16:41:22 [INFO] [bPermissions] Enabling bPermissions v2.9.1 16:41:22 [SEVERE] java.lang.IllegalArgumentException: The permission tracks.* is already defined! 16:41:22 [SEVERE] at org.bukkit.plugin.SimplePluginManager.addPermission(S implePluginManager.java:559) 16:41:22 [SEVERE] at de.bananaco.bpermissions.imp.MultiGroupPromotion.load (MultiGroupPromotion.java:58) 16:41:22 [SEVERE] at de.bananaco.bpermissions.imp.Config.loadUnsafe(Config .java:64) 16:41:22 [SEVERE] at de.bananaco.bpermissions.imp.Config.load(Config.java: 26) 16:41:22 [SEVERE] at de.bananaco.bpermissions.imp.Permissions.onEnable(Per missions.java:60) 16:41:22 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug in.java:215) 16:41:22 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin( JavaPluginLoader.java:336) 16:41:22 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si mplePluginManager.java:381) 16:41:22 [SEVERE] at org.dynmap.bukkit.permissions.bPermPermissions.create (bPermPermissions.java:27) 16:41:22 [SEVERE] at org.dynmap.bukkit.DynmapPlugin.onEnable(DynmapPlugin. java:447) 16:41:22 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug in.java:215) 16:41:22 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin( JavaPluginLoader.java:336) 16:41:22 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si mplePluginManager.java:381) 16:41:22 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe rver.java:250) 16:41:22 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(Craf tServer.java:232) 16:41:22 [SEVERE] at net.minecraft.server.MinecraftServer.t(MinecraftServe r.java:374) 16:41:22 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe r.java:361) 16:41:22 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe rver.java:187) 16:41:22 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer ver.java:425) 16:41:22 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour ceFile:490) 16:41:22 [SEVERE] [bPermissions] Please check config.yml to enable offline-mode use 16:41:22 [INFO] [bPermissions] Disabled 16:41:22 [INFO] WEPIF: bPermissions detected! Using bPermissions for permissions
16:41:22 [INFO] [dynmap] Using bPermissions 2.9.1 for access control
-
View User Profile
-
Send Message
Posted Apr 23, 2012can we make prefixes be colours? i want to make each group have a separate colour. i tried using /group meta prefix %GREEN% but it didnt do anything. same for users and with any text i entered. it appears in the config and even after a reload it still doesnt show up
also, setting "use global files" to true in the config doesnt do anything for me, it still goes off the per-world settings. how can i fix this? (for now i just made all the worlds in one world group)
-
View User Profile
-
Send Message
Posted Apr 22, 2012Just wanted to say: Thanks!
Thanks for everything! Keep on that awsome plugin.
-
View User Profile
-
Send Message
Posted Apr 22, 2012@Joespinazola1
Sounds like you were using an incompatible chat plugin - probably out of date one.
-
View User Profile
-
Send Message
Posted Apr 22, 2012Had to remove it from my server - Every time I spoke (Even copied and pasted the example files), I would appear at nulljoenull. For example, I say hey, it would be nulljoenull hey. (The ~ mark being for a nickname obviously).
-
View User Profile
-
Send Message
Posted Apr 21, 2012Hello,
I'm having some anoying problems, everytime I edit my group.yml file or users.yml file the changes don't stay. And if they stay it says I don't have permissions to build.
This is my setup (groups.yml default: Default
groups:
Default:
- essentials.spawn
- essentials.rules
- essentials.motd
- essentials.list
- essentials.helpop
- essentials.help
Builder:
- essentials.build
- essentials.afk
- essentials.back
- essentials.back.ondeath
- essentials.balance
- essentials.balance.others
- essentials.balancetop
- essentials.chat.color
- essentials.chat.shout
- essentials.chat.question
- essentials.compass
- essentials.depth
- essentials.home
- essentials.ignore
- essentials.kit
- essentials.kit.tools
- essentials.mail
- essentials.mail.send
- essentials.me
- essentials.msg
- essentials.nick
- essentials.pay
- essentials.ping
- essentials.powertool
- essentials.protect
- essentials.sethome
- essentials.signs.use.*
- essentials.signs.create.disposal
- essentials.signs.create.mail
- essentials.signs.create.protection
- essentials.signs.create.trade
- essentials.signs.break.disposal
- essentials.signs.break.mail
- essentials.signs.break.protection
- essentials.signs.break.trade
- essentials.suicide
- essentials.time
- essentials.tpa
- essentials.tpaccept
- essentials.tpahere
- essentials.tpdeny
- essentials.warp
- essentials.warp.list
- essentials.worth
Moderator:
- essentials.build
- essentials.ban
- essentials.ban.notify
- essentials.banip
- essentials.broadcast
- essentials.clearinventory
- essentials.delwarp
- essentials.eco.loan
- essentials.ext
- essentials.getpos
- essentials.helpop.recieve
- essentials.home.others
- essentials.invsee
- essentials.jails
- essentials.jump
- essentials.kick
- essentials.kick.notify
- essentials.kill
- essentials.mute
- essentials.nick.others
- essentials.realname
- essentials.setwarp
- essentials.signs.create.*
- essentials.signs.break.*
- essentials.spawner
- essentials.thunder
- essentials.time
- essentials.time.set
- essentials.protect.alerts
- essentials.protect.admin
- essentials.protect.ownerinfo
- essentials.ptime
- essentials.ptime.others
- essentials.togglejail
- essentials.top
- essentials.tp
- essentials.tphere
- essentials.tppos
- essentials.tptoggle
- essentials.unban
- essentials.unbanip
- essentials.weather
- essentials.whois
- essentials.world
Admin:
# Since we use essentials.* permission here, we can still disable commands like this
# This can be done with any pemission nodes
- ^essentials.backup
- ^essentials.essentials
- ^essentials.setspawn
- ^essentials.reloadall
- essentials.*
Owner:
- essentials.*
-
View User Profile
-
Send Message
Posted Apr 19, 2012@codename_B
I would add that when troubleshooting that type of issue its best to peruse your plugin configs as the denial message is most often in the config files so it helps to identify what plugin is doing it.
-
View User Profile
-
Send Message
Posted Apr 19, 2012@bretth18
@konata400
http://dev.bukkit.org/server-mods/bpermissions/pages/bpermissions-faq/
Q: Why can't I build?
A: bPermissions DOES NOT handle any build-related things by default. This will be related to another plugin you have installed like Essentials, AdminCmd, AntiGuest, Towny, WorldGuard, Residence, CommandBin, TrashCan, et al. In order to be able to build you will have to assign the relevant permission node for the plugin YOU chose to install without reading the documentation for. Go read the documentation for your plugins!
-
View User Profile
-
Send Message
Posted Apr 18, 2012@bretth18
use node - bpermissions.build
-
View User Profile
-
Send Message
Posted Apr 18, 2012My users are reporting that they cannot build. Is this essentials or bPermissions?
-
View User Profile
-
Send Message
Posted Apr 18, 20122012-04-18 22:55:34 [SEVERE] Could not pass event PlayerChatEvent to bPermissions org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:786) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at de.bananaco.bpermissions.imp.SuperPermissionHandler.onPlayerChat(SuperPermissionHandler.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ... 11 more 2012-04-18 22:55:34 [INFO] juodas: aaaaaaaaa 2012-04-18 22:55:34 [SEVERE] Unable to setup! null world! 2012-04-18 22:55:34 [SEVERE] Unable to setup! null world! 2012-04-18 22:55:35 [SEVERE] Unable to setup! null world!
-
View User Profile
-
Send Message
Posted Apr 18, 2012How to migrate from PEX? What does this mean: priority: '100' ?
-
View User Profile
-
Send Message
Posted Apr 18, 2012@DeadIntermediate
http://dev.bukkit.org/server-mods/bpermissions/files/
I see a version there that says 1.2.5
I mean what even makes you ask this question? :/ "does 1.2.5 mean it's compatible with 1.2.5?"
You may as well ask like... "is this a bukkit plugin?" or "does this use java?"
Just... what makes you ask something like that?
-
View User Profile
-
Send Message
Posted Apr 18, 2012Is it compatible with 1.2.5?
-
View User Profile
-
Send Message
Posted Apr 17, 2012@codename_B
Thanks, Really helped! :D
-
View User Profile
-
Send Message
Posted Apr 17, 2012@Blazex224
Sure - you assign the relevant permission nodes to the group those players are in!
For each plugin there will be a list of nodes and what they do: since it sounds like you don't know what you're doing and you can't build my diagnosis is you are using essentials.
Here is a list of all commands and the relevant permission nodes for them.
http://wiki.ess3.net/wiki/Command_Reference
Just fyi - it's likely to be essentials.build to build - bPermissions doesn't handle antibuild.
-
View User Profile
-
Send Message
Posted Apr 17, 2012Hey, I am having a few problems with bPermissions, and would like some help. First off, I was wondering if there was a list of nodes anywhere, and that says what the nodes do. Second, (This is my biggest concern) I set up all of the groups and permissions for them, but when I activate the plugin, No one can build anywhere, and no one can do any commands, only server Ops can use commands and build. Could anyone tell me how to let players to build and use the commands I set for them?
Thanks.
-
View User Profile
-
Send Message
Posted Apr 17, 2012@Entow
Thanks for the reply. I think you were right about the spacing but when I go to promote a user using /promote <user> <rank> I get That track (Corporal) does not exist. Could it be something in my track.yml?
-
View User Profile
-
Send Message
Posted Apr 17, 2012@cakenson
I looked at your groups.yml and noticed you have the "default: true" set for default, but do not need it there since you have "default: default" at the top. I don't know if that would cause a problem or not, so change that if this other thing doesn't work (delete EITHER default: default OR "default: true")
It seems that the admin,default, and moderator groups are two spaces in when starting, and those are the default groups... and seeing as how your custom groups are only ONE space in, I'd assume that there is your problem. If something like spacing is off, the plugin won't load at all, or at least it didn't for me until I fixed the spacing issue. To fix it, simply edit your groups file and make sure all groups are two spaces in before stating the group name.
To put it simply, just format EXACTLY like the default groups... even more simply would be to copy one of them fully, then just delete the unwante copied permissions, and change the name... thats what I did and I have these groups in my server, all fully functioning : (admin, moderator, default, citizen, noble, VIP, royalguard,).