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 26, 2012@codename_B
How do I fix YAML errors? thanks for replying and my apologies for the list
-
View User Profile
-
Send Message
Posted Jan 26, 2012@codename_B
User prefix works great, group not so much..
herochat 5 build 43
-
View User Profile
-
Send Message
Posted Jan 26, 2012@SatonElarsky
Well that one speaks for itself, yaml error.
Also lrn2pastebin
-
View User Profile
-
Send Message
Posted Jan 26, 2012@fffizzz
priority - but yes
What I mean is I changed the code :)
If you could test with directly setting a users prefix and see if that works, that'll help me track down the bug.
Also what chat plugin do you use?
-
View User Profile
-
Send Message
Posted Jan 26, 201203:25 PM [SEVERE] org.bukkit.configuration.InvalidConfigurationException: mapping values are not allowed here in "<string>", line 3, column 12: default: true ^ 03:25 PM [SEVERE] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) 03:25 PM [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:143) 03:25 PM [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:109) 03:25 PM [SEVERE] at de.bananaco.bpermissions.imp.YamlWorld.loadUnsafe(YamlWorld.java:118) 03:25 PM [SEVERE] at de.bananaco.bpermissions.imp.YamlWorld.load(YamlWorld.java:87) 03:25 PM [SEVERE] at de.bananaco.bpermissions.api.WorldManager.createWorld(WorldManager.java:135) 03:25 PM [SEVERE] at de.bananaco.bpermissions.imp.WorldLoader.createWorld(WorldLoader.java:45) 03:25 PM [SEVERE] at de.bananaco.bpermissions.imp.WorldLoader.<init>(WorldLoader.java:30) 03:25 PM [SEVERE] at de.bananaco.bpermissions.imp.Permissions.onEnable(Permissions.java:72) 03:25 PM [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231) 03:25 PM [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057) 03:25 PM [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379) 03:25 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191) 03:25 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174) 03:25 PM [SEVERE] at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356) 03:25 PM [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343) 03:25 PM [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175) 03:25 PM [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407) 03:25 PM [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) 03:25 PM [SEVERE] Caused by: mapping values are not allowed here in "<string>", line 3, column 12: default: true ^ 03:25 PM [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:733) 03:25 PM [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:305) 03:25 PM [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179) 03:25 PM [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563) 03:25 PM [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) 03:25 PM [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) 03:25 PM [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) 03:25 PM [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) 03:25 PM [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) 03:25 PM [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) 03:25 PM [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123) 03:25 PM [SEVERE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) 03:25 PM [SEVERE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) 03:25 PM [SEVERE] at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) 03:25 PM [SEVERE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) 03:25 PM [SEVERE] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) 03:25 PM [SEVERE] ... 18 more 03:25 PM [SEVERE] org.bukkit.configuration.InvalidConfigurationException: mapping values are not allowed here in "<string>", line 3, column 12: default: true ^ 03:25 PM [SEVERE] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) 03:25 PM [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:143) 03:25 PM [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:109) 03:25 PM [SEVERE] at de.bananaco.bpermissions.imp.DefaultWorld.loadUnsafe(DefaultWorld.java:92) 03:25 PM [SEVERE] at de.bananaco.bpermissions.imp.DefaultWorld.load(DefaultWorld.java:58) 03:25 PM [SEVERE] at de.bananaco.bpermissions.imp.Permissions.onEnable(Permissions.java:77) 03:25 PM [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231) 03:25 PM [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057) 03:25 PM [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379) 03:25 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191) 03:25 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174) 03:25 PM [SEVERE] at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356) 03:25 PM [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343) 03:25 PM [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175) 03:25 PM [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407) 03:25 PM [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) 03:25 PM [SEVERE] Caused by: mapping values are not allowed here in "<string>", line 3, column 12: default: true ^ 03:25 PM [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:733) 03:25 PM [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:305) 03:25 PM [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179) 03:25 PM [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563) 03:25 PM [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) 03:25 PM [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) 03:25 PM [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) 03:25 PM [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) 03:25 PM [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) 03:25 PM [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) 03:25 PM [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123) 03:25 PM [SEVERE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) 03:25 PM [SEVERE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) 03:25 PM [SEVERE] at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) 03:25 PM [SEVERE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) 03:25 PM [SEVERE] at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) 03:25 PM [SEVERE] ... 15 more
what is this?! Its everytime I try reload it. I edit the files, correctly according to the 2 videos. But, when I turn on the server, no changes were made, and when I go back to the files I editted, everything was erased and went back to the default layout
-
View User Profile
-
Send Message
Posted Jan 26, 2012@Darq_Alder
Yea, I realized that after I posted. Thanks for the update - will be updating!
-
View User Profile
-
Send Message
Posted Jan 26, 2012meta:
prority: '50'
prefix: '&9[mod]&f'
towny_maxplots: '6'
Is that still a valid format? (obviously missing indentation :))
Bukkit 1818 RB, Herochat 5 build 41
-
View User Profile
-
Send Message
Posted Jan 26, 2012@fffizzz
I did change the code there, if there's an issue I'd love to fix it for you.
-
View User Profile
-
Send Message
Posted Jan 26, 2012anyone elses meta: info prefixes stop working going from 2.7.6 to 2.8.0?
-
View User Profile
-
Send Message
Posted Jan 26, 2012@codename_B
thank you so much :D
-
View User Profile
-
Send Message
Posted Jan 26, 2012@DarkMinecrafter
Why do you need mysql?
-
View User Profile
-
Send Message
Posted Jan 26, 2012support the newst version mysql
-
View User Profile
-
Send Message
Posted Jan 26, 2012@rotzak123
Top tip- use /permissions reload after editing the files by hand or edit the files while the server is offline Top tip- read the server.log to get the error that's happening (in this case this was the error you are getting)
This tells me that on line 58 you've got an error (obviously your key isn't prefixed by a "-"
It should be - bukkit.command.help
As always, we recommend you use commands or the gui to edit your permissions, rather than editing the files by hand if you're unsure what you're doing.
-
View User Profile
-
Send Message
Posted Jan 26, 2012i have a problem if i reload or stop my server everything in Group files and user files get deleted
this is my group file in World One
http://pastie.org/3258518
and this is my user file in World One
http://pastie.org/3258535
please i need help.
-
View User Profile
-
Send Message
Posted Jan 26, 2012@rotzak123
http://pastie.org/
-
View User Profile
-
Send Message
Posted Jan 26, 2012@Darq_Alder
well how can i make it so that people can read it?
-
View User Profile
-
Send Message
Posted Jan 26, 2012@rotzak123
Did you stop, look at that, and think "Oh shit, they won't be able to read anything off of this!"?
@joshft91
2.8.0 works with the latest RB. It's up to AntiGuest to support us, not for us to support them.
-
View User Profile
-
Send Message
Posted Jan 26, 2012this is my group file in World one
default: default groups: admin: permissions: - ^group.moderator - bPermissions.admin - bPermissions.demote.donater - bPermissions.demote.moderator - bPermissions.demote.supermoderator - bPermissions.promote.donater - bPermissions.promote.moderator - bPermissions.promote.supermoderator - bukkit.broadcast - bukkit.command - bukkit.command.ban.ip - bukkit.command.kill - bukkit.command.op - bukkit.command.say - bukkit.command.stop - bukkit.command.unban.ip - bukkit.command.whitelist - essentials.butcher - essentials.compass - essentials.eco - essentials.kickall - essentials.tpall - essentials.tree - prefix.8.&4Admin - worldedit.butcher - worldedit.region.replace - worldedit.region.set - worldedit.region.smooth - worldedit.region.walls - worldedit.superpickaxe - worldedit.wand groups: - moderator meta: priority: '100' prefix: '&4admin' builder: permissions: - ^group.member - essentials.warp - factions.autoclaim - factions.claim - factions.create - factions.help - group.builder - prefix.2.&aBuilder groups: - member meta: priority: '80' prefix: '&2Builder' default: permissions: bukkit.command.help - group.default groups: [] meta: priority: '60' prefix: '&8Gast' member: permissions: - ^group.default - bPermissions.build - bukkit.command.spawn - bukkit.command.help - bukkit.command.plugins - bukkit.command.tell - prefix.1.&7Newb - essentials.balance - essentials.pay - essentials.balancetop - essentials.afk - essentials.clearinventory - essentials.home - essentials.sethome - essentials.tpa - essentials.tpaccept - essentials.tpdeny groups: - default meta: priority: '70' prefix: '&6Member' moderator: permissions: - ^group.member - bPermissions.promote.regular - bPermissions.demote.regular - bukkit.command.ban.player - bukkit.command.gamemode - bukkit.command.unban.player - bukkit.command.give - bukkit.command.list - bukkit.command.reload - bukkit.command.time - prefix.6.&bMod - essentials.gamemode - essentials.gamemode.others - essentials.time - essentials.mute - essentials.tphere - essentials.warp.list - essentials.teleport.cooldown.bypass - bukkit.command.kick - bukkit.command.teleport - essentials.tp - bukkit.command.weather - group.default - group.moderator groups: - member meta: priority: '90' prefix: '&3Moderator'
this is my user file in World One
users: banaan: permissions: [] groups: - admin
now if i stop my server or reload it everything delete's
the prefixes arent working too
-
View User Profile
-
Send Message
Posted Jan 25, 2012ETA for RB 1.1? Looking forward to updating Also, will this permissions system still work with AntiGuest? Planning on using that when it's updated.
-
View User Profile
-
Send Message
Posted Jan 25, 2012@bmandesign
Why?