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 Mar 12, 2012@Qwahchees
Please read the FAQ
@Blackvenom01
Are those in the bPermissions root or the folder for a world?
-
View User Profile
-
Send Message
Posted Mar 12, 2012Hi, I just cant get it to work, I use a test server before a live server for this but whatever I do or try I just don't get it.
This is my Groups http://pastie.org/3576472
This is my User: http://pastie.org/3576484
When I log in as blackvenom01 and I try to do anything, even bP itself I do not have acces.
-
View User Profile
-
Send Message
Posted Mar 12, 2012How do I set a permission to false?
Would it be - -spawn.area
Thanks.
Edit: Also, is there a Permissions Converter? I'm currently using PermissionsBukkit.
-
View User Profile
-
Send Message
Posted Mar 11, 2012@codename_B
Yes, I figured it out after I had written the comment. I also edited it already. I would love to see a full API wikipage with a few examples. I think I have it figured out already, but it would help others.
-Nate
-
View User Profile
-
Send Message
Posted Mar 11, 2012@natewiebe13
Why do you want to create a user object? You should really be using the ApiLayer
https://github.com/codename-B/bPermissions/blob/master/src/de/bananaco/bpermissions/api/ApiLayer.java
de.bananaco.bpermissions.api.World.getUser(String name) will return the user if one exists with that name or create a new one if one doesn't.
That work for you?
-
View User Profile
-
Send Message
Posted Mar 11, 2012@cdricdw
I'm working on the same thing with no luck. I was directed to https://github.com/codename-B/bPermissions/tree/master/src/de/bananaco/bpermissions/api
But I can't seem to get access to a World object. (Not CraftWorld from bukkit). If anyone could shed some light as to how to create a User object, I would be in their debt.
EDIT: Figured out how to get this working. (I would love to see a wiki page for the API) But this is what I used:
ApiLayer.getGroups(String world, CalculableType type, String name); and ApiLayer.setGroup(String world, CalculableType type, String name, String newGroup);
CalculableType.USER, CalculableType.GROUP are valid entries.
Hope this helps a bit.
-
View User Profile
-
Send Message
Posted Mar 11, 2012Would it be possible for one of our custom plugin to interact with bPermissions and change players' permissions when they perform an action or meet specific requirements ?
Also, do you have an idea why WG regions don't seem to work with groups set up with bPermissions ? IE: Players in group vip can't build in a region where the vip group is owner.
Am i missing something ? It used to work fine until we updated to the latest of both. (bPermissions 2.9.1 / WorldGuard 5.5.2 Snapshot.)
Thanks.
-
View User Profile
-
Send Message
Posted Mar 11, 2012@Darq_Alder
What do you want to know?
-
View User Profile
-
Send Message
Posted Mar 11, 2012@allard1997
we is can haz more info pl0x?
-
View User Profile
-
Send Message
Posted Mar 11, 2012Can somebody please help me! comment #1640
-
View User Profile
-
Send Message
Posted Mar 11, 2012@fuzzycut
It depends on that plugin, most plugins default nodes to false, but some do default to true. Read the documentation for the plugins, or even look in their plugin.yml.
Likely user error.
@Blackvenom01
Try http://pastie.org please.
-
View User Profile
-
Send Message
Posted Mar 11, 2012Hi, I just cant get it to work, I use a test server before a live server for this but whatever I do or try I just don't get it.
This is my Groups
default: guest groups: admin: permissions: - bPermissions.admin - tracks.* groups: guest: permissions: groups:
This is my User:
users: blackvenom01: permissions: - bPermissions.admin groups: - admin
When I log in as blackvenom01 and I try to do anything, even bP itself I do not have acces.
-
View User Profile
-
Send Message
Posted Mar 10, 2012Hi, I have two questions.
1) If I don't specify a permission for a node, does it automatically default to the user having that plugins permissions?
2) I'm having trouble with essentials. It doesn't seem to want to work with this plugin. It doesn't give any errors, it just doesn't work. For example, I have a negative for /give, but essentials completely ignores this. Does it have a history of acting up with this?
Thanks
-
View User Profile
-
Send Message
Posted Mar 10, 2012@mrhacker95
Crap just screwd that up oh well it messes up that is my point.
-
View User Profile
-
Send Message
Posted Mar 10, 2012This completely destroyed my bpermission setup for groups.yml I ran it the first time and BOOM look. Before: default: Guest groups: Guest: permissions: - bukkit.command.give - CommandBin.spawn - - groups: meta: prefix: '[&cGuest&f]' suffix: '[Noob]' priority: '10' Builder: permissions: - bukkit.command.tp - bukkit.command.time - CommandBin.feed - CommandBin.home - CommandBin.sethome - izone.zone.list - izone.zone.info - izone.zone.who - build: true groups: - Guest meta: prefix: '[&bBuilder&f]' priority: '20' Moderator: permissions: groups: - Builder - spectate.use - CommandBin.creative - CommandBin.gm - CommandBin.god - CommandBin.heal - CommandBin.kill - CommandBin.msg - CommandBin.nick - CommandBin.strike - CommandBin.survival - CommandBin.time - CommandBin.tp2p - CommandBin.tp - CommandBin.tphere - CommandBin.tpworld - izone.tool.check - - - meta: prefix: '[&aMod&f]' priority: '30' Admin: permissions: - bukkit.all - ^bukkit.command.ban - simplejail.* - simplejail.jailtime - simplejail.setjail - simplejail.unjail - simplejail.jail - CommandBin.blind - CommandBin.block - CommandBin.broadcast - CommandBin.clear - CommandBin.drunk - CommandBin.explode - CommandBin.freeze - CommandBin.fsay - CommandBin.mute - CommandBin.potion - CommandBin.put - CommandBin.realname - CommandBin.shoot - CommandBin.slap - CommandBin.thor - CommandBin.unblock - CommandBin.unfreeze - CommandBin.unmute - CommandBin.weather - izone.tool.define - izone.zone.restriction.ignoreowner - izone.zone.allow - izone.zone.create - izone.zone.disallow - izone.zone.delete - izone.zone.expand - izone.zone.flag - izone.zone.flag.protection - izone.zone.flag.monster - izone.zone.flag.animal - izone.zone.flag.welcome - izone.zone.flag.farewell - izone.zone.flag.heal - izone.zone.flag.hurt - izone.zone.flag.pvp - izone.zone.flag.creeper - izone.zone.flag.tnt - izone.zone.flag.explosion - izone.zone.flag.fire - izone.zone.flag.restriction - izone.zone.flag.jail - izone.zone.flag.lightning - izone.zone.flag.deathdrop - izone.zone.flag.drop - izone.zone.flag.interact - izone.zone.flag.enderman - izone.zone.flag.god - antigrief.bypass.place - antigrief.bypass.destroy - antigrief.bypass.ignite - antigrief.bypass.bucket.lava - antigrief.bypass.bucket.water - antigrief.alert.place - antigrief.alert.destroy - antigrief.alert.ignite - antigrief.alert.bucket.lava - antigrief.alert.bucket.water - antigrief.build - antigrief.bypass.spawnegg - antigrief.bypass.firecharge - antigrief.bypass.xpbottle - antigrief.alert.spawnegg - antigrief.alert.firecharge - antigrief.alert.xpbottle - superenchant.list - superenchant.all - superenchant.enchant - superenchant.enchant.* - superenchant.enchant.protection - superenchant.enchant.fire_protection - superenchant.enchant.feather_falling - superenchant.enchant.blast_protection - superenchant.enchant.projectile_protection - superenchant.enchant.respriration - superenchant.enchant.aqua_affinity - superenchant.enchant.sharpness - superenchant.enchant.smite - superenchant.enchant.bane_of_arthropods - superenchant.enchant.knockback - superenchant.enchant.fire_aspect - superenchant.enchant.looting - superenchant.enchant.efficiency - superenchant.enchant.silk_touch - superenchant.enchant.unbreaking - superenchant.enchant.fortune - fd.* - fd.trap - fd.messages - fd.config - groups: - Moderator meta: prefix: '[&gAdmin&f]' priority: '40' Owner: permissions: - bPermissions.admin - bukkit.all - CommandBin.createworld - CommandBin.handicap - CommandBin.ip - CommandBin.join - CommandBin.leave - CommandBin.lock - CommandBin.ram - CommandBin.setspawn - CommandBin.sudo - CommandBin.tpall - CommandBin.unhandicap - CommandBin.unlock - bPermissions.admin - fd.reload - fd.toggle groups: - Admin meta: prefix: '[&dOwner&f]' priority: '50'
After: default: Guest groups: Admin: permissions: - CommandBin.blind - CommandBin.block - CommandBin.broadcast - CommandBin.clear - CommandBin.drunk - CommandBin.explode - CommandBin.freeze - CommandBin.fsay - CommandBin.mute - CommandBin.potion - CommandBin.put - CommandBin.realname - CommandBin.shoot - CommandBin.slap - CommandBin.thor - CommandBin.unblock - CommandBin.unfreeze - CommandBin.unmute - CommandBin.weather - ^bukkit.command.ban - antigrief.alert.bucket.lava - antigrief.alert.bucket.water - antigrief.alert.destroy - antigrief.alert.firecharge - antigrief.alert.ignite - antigrief.alert.place - antigrief.alert.spawnegg - antigrief.alert.xpbottle - antigrief.build - antigrief.bypass.bucket.lava - antigrief.bypass.bucket.water - antigrief.bypass.destroy - antigrief.bypass.firecharge - antigrief.bypass.ignite - antigrief.bypass.place - antigrief.bypass.spawnegg - antigrief.bypass.xpbottle - bukkit.all - fd.* - fd.config - fd.messages - fd.trap - izone.tool.define - izone.zone.allow - izone.zone.create - izone.zone.delete - izone.zone.disallow - izone.zone.expand - izone.zone.flag - izone.zone.flag.animal - izone.zone.flag.creeper - izone.zone.flag.deathdrop - izone.zone.flag.drop - izone.zone.flag.enderman - izone.zone.flag.explosion - izone.zone.flag.farewell - izone.zone.flag.fire - izone.zone.flag.god - izone.zone.flag.heal - izone.zone.flag.hurt - izone.zone.flag.interact - izone.zone.flag.jail - izone.zone.flag.lightning - izone.zone.flag.monster - izone.zone.flag.protection - izone.zone.flag.pvp - izone.zone.flag.restriction - izone.zone.flag.tnt - izone.zone.flag.welcome - izone.zone.restriction.ignoreowner - simplejail.* - simplejail.jail - simplejail.jailtime - simplejail.setjail - simplejail.unjail - superenchant.all - superenchant.enchant - superenchant.enchant.* - superenchant.enchant.aqua_affinity - superenchant.enchant.bane_of_arthropods - superenchant.enchant.blast_protection - superenchant.enchant.efficiency - superenchant.enchant.feather_falling - superenchant.enchant.fire_aspect - superenchant.enchant.fire_protection - superenchant.enchant.fortune - superenchant.enchant.knockback - superenchant.enchant.looting - superenchant.enchant.projectile_protection - superenchant.enchant.protection - superenchant.enchant.respriration - superenchant.enchant.sharpness - superenchant.enchant.silk_touch - superenchant.enchant.smite - superenchant.enchant.unbreaking - superenchant.list groups: - moderator meta: priority: '40' prefix: '[&gAdmin&f]' Builder: permissions: - CommandBin.feed - CommandBin.home - CommandBin.sethome - bukkit.command.time - bukkit.command.tp - izone.zone.info - izone.zone.list - izone.zone.who groups: - guest meta: priority: '20' prefix: '[&bBuilder&f]' commandbin: permissions: [] groups: [] creative: permissions: [] groups: [] gm: permissions: [] groups: [] god: permissions: [] groups: [] heal: permissions: [] groups: [] kill: permissions: [] groups: [] msg: permissions: [] groups: [] nick: permissions: [] groups: [] strike: permissions: [] groups: [] survival: permissions: [] groups: [] time: permissions: [] groups: [] tp: permissions: [] groups: [] tp2p: permissions: [] groups: [] tphere: permissions: [] groups: [] tpworld: permissions: [] groups: [] Guest: permissions: - CommandBin.spawn - bukkit.command.give groups: [] meta: priority: '10' prefix: '[&cGuest&f]' suffix: '[Noob]' izone: permissions: [] groups: [] tool: check: permissions: [] groups: [] Moderator: permissions: [] groups: - builder - commandbin.creative - commandbin.gm - commandbin.god - commandbin.heal - commandbin.kill - commandbin.msg - commandbin.nick - commandbin.strike - commandbin.survival - commandbin.time - commandbin.tp - commandbin.tp2p - commandbin.tphere - commandbin.tpworld - izone.tool.check - spectate.use meta: priority: '30' prefix: '[&aMod&f]' Owner: permissions: - CommandBin.createworld - CommandBin.handicap - CommandBin.ip - CommandBin.join - CommandBin.leave - CommandBin.lock - CommandBin.ram - CommandBin.setspawn - CommandBin.sudo - CommandBin.tpall - CommandBin.unhandicap - CommandBin.unlock - bPermissions.admin - bukkit.all - fd.reload - fd.toggle groups: - admin meta: priority: '50' prefix: '[&dOwner&f]' spectate: permissions: [] groups: [] use: permissions: [] groups: []
-
View User Profile
-
Send Message
Posted Mar 10, 2012Hello I have a problem on my server. Sometimes a player has no more permissions and only when I restart my server he has them back. It is very annoying and it happens sometimes to myself. So can anyone help me with this problem?!? I can't run my server without bPermissions!!!
-
View User Profile
-
Send Message
Posted Mar 10, 2012Is anyone getting this error when I reload the server my permissions nodes are all gone and stuff... So can someone help me with that
-
View User Profile
-
Send Message
Posted Mar 10, 2012@Digitalink2008
I have the same issue. I thought this was a worldguard bug.
-
View User Profile
-
Send Message
Posted Mar 9, 2012Is there a command to check the group that a player is in?
Thx
-
View User Profile
-
Send Message
Posted Mar 9, 2012@Digitalink2008
it does but i tried changing the map name and it destryed world so i ran backup and not doint that again