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 6, 2011Dear god those images.
-
View User Profile
-
Send Message
Posted Nov 6, 2011@seconds2marz If you turn "override-player" to true in your configuration file, but that's not suggested.
@Gaurav1234
As far as I know, the only permissions for bP are bPermissions.build and bPermissions.admin. I suppose there may be more, but they're not documented, and I'm not about to look through the source right now find them :S
good luck! :D
-
View User Profile
-
Send Message
Posted Nov 6, 2011ok so here are my class ranks:
default<member<trusted<VIP<Mod<SuperMod<SeniorMod<Admin
I want Supermods to be able to promote defaults to members, so whats the node?
And what if i want SeniorMods to be able to promote Member to Trusted?
-
View User Profile
-
Send Message
Posted Nov 6, 2011Is there a * node for the admin?
-
View User Profile
-
Send Message
Posted Nov 6, 2011@Malcolm2608
Stats tracking module error.
Disable in plugins/stats/
-
View User Profile
-
Send Message
Posted Nov 6, 2011I am having an error when I start up my sever, it seems to have no effect but I would just like to tell you .
-
View User Profile
-
Send Message
Posted Nov 6, 2011@HolyThunderz
"groups" is the groups that said track adds.
bPermissions default promotion tracks are a shortcut for adding large amounts of groups in multiple worlds at once, not a series based "tracks" system like in other permissions manager.
If you want a "classes" tracks based system one could easily be written for the bPermissions API and if you wanted to open up a ticket here requesting it as an add-on plugin it could be worked on at some point.
@RamTamSpecial
From your post, I'd check the spelling of said permission nodes.
-
View User Profile
-
Send Message
Posted Nov 6, 2011Hey, I'd like to know if there's a way (or there's going to be) for me to set up actual tracks (a mage can only go to a wizard, for example), and for the mage to automatically go to wizard after xxx time has passed? The timing thing would be nice, but the actual tracks are more important. So I would just do /promote (mage guy's name) and it would make him a wizard. Also, what should we insert under "groups:" in tracks? is it who can promote that track, who is promotable to that track, or what?
-
View User Profile
-
Send Message
Posted Nov 5, 2011Hi I don't know what am I doing wrong ._. I've done the same as in the tutorial ingame and I used http://dev.bukkit.org/server-mods/bpermissions/pages/bpermissions-command-list/ to create groups and add permissions nodes. But this system still don't work. I have two groups, admin and User. I'm in the group admin (/permissions global addgroup admin RamTam) Than I gave myself the permission node bPermissiond.admin (/permissions global addnode bPermissions.admin admin) I made this with all players for the User group and added different Permission nodes to the group (permissions global addnode _ User) And now, I don't have all the promised rights. I can't use a lot of Plugins because I don't have the permissions? If I type in /permissions global lsnode admin, I got a list with a lot of (I think all permissionnodes of my plugin database). Thats cool but there are still many plugin which I can't use as listed Op and in the group admin ._.
-
View User Profile
-
Send Message
Posted Nov 4, 2011@UnknownPL
That's it. Great, thanks!
-
View User Profile
-
Send Message
Posted Nov 4, 2011@formmethanal
turn it off in Multiverse config ;)
-
View User Profile
-
Send Message
Posted Nov 4, 2011Short Question: I'd like to use bpermissions with bchat, but i've a little issue with formatting. The bChat config: '+PREFIX +NAME+WHITE: +MESSAGE' the Permissions for Admins: 'prefix.10.+GRAY[Admin]+RED ' But in the game i'm getting always this format: [world][Admin] NICK: MESSAGE How can i remove the world? There isn't anymore world in any config. :(
-
View User Profile
-
Send Message
Posted Nov 4, 2011@dretax
?
-
View User Profile
-
Send Message
Posted Nov 4, 2011really bad.....
-
View User Profile
-
Send Message
Posted Nov 3, 2011@imaxorz
No, the closest I can do is lowercasing everything, otherwise I'd have to iterate through each and every key and compare it caselessly.
The reason it's so fast at the minute is it's in an indexed map (indexed against the string) and there isn't a java map which treats STring == STRInG for a very good reason, they're not equal.
If you know of a plugin which does it differently without lowercasing everything (as my approach there was) please let me know so I can examine the code.
-
View User Profile
-
Send Message
Posted Nov 3, 2011@codename_B
I see. So it's either one way or the other. There is no way to make it not care at all? Meaning ThIs = tHiS
-
View User Profile
-
Send Message
Posted Nov 3, 2011@Tautal
You're using a version of bPermissions that's built for a later version of Bukkit.
Update Bukkit.
-
View User Profile
-
Send Message
Posted Nov 3, 2011@Rocologo
Still works just fine - documentation for developers is under construction still - but if you need specific help just ask :)
-
View User Profile
-
Send Message
Posted Nov 3, 2011Hey i got this problem every time. Can u help me fix it?
2011-11-03 23:11:23 [SEVERE] Error occurred while enabling bPermissions v1.8.2 (Is it up to date?): org/bukkit/configuration/file/YamlConfiguration java.lang.NoClassDefFoundError: org/bukkit/configuration/file/YamlConfiguration at org.blockface.stats.CallHome.<clinit>(CallHome.java:37) at de.bananaco.permissions.Permissions.onEnable(Permissions.java:418) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156) at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417) Caused by: java.lang.ClassNotFoundException: org.bukkit.configuration.file.YamlConfiguration 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) ... 12 more
-
View User Profile
-
Send Message
Posted Nov 3, 2011Where is the documentation for plugin developers?
This does not work anymore????
try { wpm = Permissions.getWorldPermissionsManager(); bPermissions = true; G333Messages.showInfo("bPermissions is detected."); } catch (Exception e) { }