PermissionsBukkit
PermissionsBukkit - the Official Default Groups Plugin
Current Version: v2.3 (beta v2.4)
Find PermissionsBukkit on the forums!
It's been a long time coming, but with the accomplishment of build 1000 Bukkit has finally accomplished a built-in Permissions system (codenamed Superperms). For more info on how they work, and how to integrate them with your plugin, see the official Permissions FAQ. Keep in mind that you should rarely, if ever, have to hook this plugin directly; instead keep things in the realm of checking player.hasPermission("yourplugin.node"). The FAQ thread has more info on how to use Superperms with things like chat prefixes/suffixes.
Features:
- Storage of users and groups in plugins/PermissionsBukkit/config.yml.
- Both users and groups can be assigned individual permissions and parent groups to inherit permissions from.
- Support for global and per-world permissions.
- Reload configuration from file without reloading the plugin.
- Ability to check if a player has a specific permission node.
- Ability to dump all permissions a player has and the plugins that set them.
- Ability to print plugin, description, and default for a given permission node.
- Ability to modify the permissions of groups and users and the groups of a user in-game.
- Built-in antibuild via the "permissions.build" node (defaults to allowing anyone to build).
Downloads:
Current Beta Version:
PermissionsBukkit v2.4 beta (details)
Current Version:
PermissionsBukkit v2.3 (jar) (details)
Previous Beta Version (for older than 1.7.6):
PermissionsBukkit v2.2 beta (details)
Other Important Information:
Commands
Configuration
FAQ
Changelog:
For changelog information, known caveats, and other release notes, see the entries on the files page.
Plugin Metrics
PermissionsBukkit gathers some information about your usage via PluginMetrics. The information is available here, and you can disable metrics on your server by changing 'opt-out' to true in plugins/PluginMetrics/config.yml. You can view your own stats with the /perm about command.
PermissionsBukkit collects this information about your specific usage:
- The number of groups, users, worlds, permissions, and permission roots (first parts) in your configuration.
- Whether you use per-user permissions, per-world permissions, group inheritance, and API features.
- Whether anti-build is enabled, assigned to the default group, and has a message.
- Whether debug mode or custom permissions (permissions.yml file) are in use.
- Whether the example user "ConspiracyWizard" is in your configuration (this is not a real person).
Additionally, some information is collected by PluginMetrics by default:
- Java version
- Operating system
- Authentication mode (online/offline)
- System architecture (32/64-bit) and core count
- Game version
- Server location
@Preefix
there is no command to create Groups :(
You must do it by Hand , manually type in :(
I can't create new groups :(
can it use mysql to share ranks from players to my other servers (bungeecord network)
How i can make that a group can't use any permission (/help, /plugins, /spawn, /tp, etc.) ?
How do you clean out old players?
What is the command?
Cheers
Can someone clean up my code to fit the way used in PermBukkit? If you could, it would be really helpful. I'm having trouble on my server.
groups:
default:
permissions:
permissions.build: true
simpleprefix.member: true
essentials.help: true
essentials.afk: true
essentials.tpa: true
essentials.tpahere: true
essentials.tpaccept: true
essentials.tpdeny: true
essentials.spawn: true
essentials.sethome: true
essentials.home: true
essentials.delhome: true
essentials.msg: true
essentials.chat.shout: true
essentials.chat.question: true
essentials.me: true
essentials.balance: true
essentials.balancetop: true
essentials.pay: true
essentials.kick.notify: true
essentials.tempban.notify: true
essentials.ban.notify: true
essentials.motd: true
essentials.rules: true
essentials.info: true
essentials.ignore: true
essentials.helpop: true
essentials.getpos: true
essentials.compass: true
essentials.depth: true
essentials.kit: true
essentials.kits: true
essentials.kit.tools: true
essentials.kits.tools: true
essentials.mail: true
essentials.mail.send: true
essentials.mail.clear: true
essentials.mail.read: true
essentials.list: true
essentials.whois: true
essentials.realname: true
essentials.near: true
essentials.seen: true
essentials.ping: true
essentials.reply: true
essentials.recipe: true
essentials.suicide: true
essentials.clearinventory: true
lwc.protect: true
op:
permissions:
permissions.: true
simpleprefix.op: true
essentials.: true
worldedit.: true
factions.: true
worldguard.: true
inheritance:
- member
admin:
permissions:
permissions.build: true
simpleprefix.admin: true
'': true
messages:
build: '&cYou do not have permission to build here.'
I'm having problems with mine, it wont let me promote a player without making me completely redo the permissions.
Please help me!
These are my perms
groups:
default:
permissions:
permissions.build: true
simpleprefix.member: true
essentials.help: true
essentials.afk: true
essentials.tpa: true
essentials.tpahere: true
essentials.tpaccept: true
essentials.tpdeny: true
essentials.spawn: true
essentials.sethome: true
essentials.home: true
essentials.delhome: true
essentials.msg: true
essentials.chat.shout: true
essentials.chat.question: true
essentials.me: true
essentials.balance: true
essentials.balancetop: true
essentials.pay: true
essentials.kick.notify: true
essentials.tempban.notify: true
essentials.ban.notify: true
essentials.motd: true
essentials.rules: true
essentials.info: true
essentials.ignore: true
essentials.helpop: true
essentials.getpos: true
essentials.compass: true
essentials.depth: true
essentials.kit: true
essentials.kits: true
essentials.kit.tools: true
essentials.kits.tools: true
essentials.mail: true
essentials.mail.send: true
essentials.mail.clear: true
essentials.mail.read: true
essentials.list: true
essentials.whois: true
essentials.realname: true
essentials.near: true
essentials.seen: true
essentials.ping: true
essentials.reply: true
essentials.recipe: true
essentials.suicide: true
essentials.clearinventory: true
lwc.protect: true
op:
permissions:
permissions.: true
simpleprefix.op: true
essentials.: true
worldedit.: true
factions.: true
worldguard.: true
inheritance:
- member
admin:
permissions:
permissions.build: true
simpleprefix.admin: true
'': true
messages:
build: '&cYou do not have permission to build here.'
is this plugin compatible with cb 1.6.4 ?
@ssoylu1996
yeah, it works for me, are you sure you have 4 spaces instead of tab for indent? and is default the top one?
Is,
groups:
default:
permissions:
working for people? It doesnt work for me unless i say that the user is assigned to this group..
This is supposed to be default.
Could someone let me know in what i am doing wrong.
Thanks.
Well sorry for all this trouble but I was testing different ways of typing while waiting for a response and I got it! Yay! Sorry for spamming the chat! But it turns out that the Crazy_World:
and
bukkit.command.gamemode
just had to be 2 spaces further out, so if anyone is having the same problem there ya go :)
Sorry for all those mistakes, kinda new to this :P. But I finally got it:
# PermissionsBukkit configuration file
#
# A permission node is a string like 'permissions.build', usually starting
# with the name of the plugin. Refer to a plugin's documentation for what
# permissions it cares about. Each node should be followed by true to grant
# that permission or false to revoke it, as in 'permissions.build true'.
# Some plugins provide permission nodes that map to a group of permissions -
# for example, PermissionsBukkit has 'permissions.*', which automatically
# grants all admin permissions. You can also specify false for permissions
# of this type.
#
# Users inherit permissions from the groups they are a part of. If a user is
# not specified here, or does not have a 'groups' node, they will be in the
# group 'default'. Permissions for individual users may also be specified by
# using a 'permissions' node with a list of permission nodes, which will
# override their group permissions. World permissions may be assigned to
# users with a 'worlds:' entry.
#
# Groups can be assigned to players and all their permissions will also be
# assigned to those players. Groups can also inherit permissions from other
# groups. Like user permissions, groups may override the permissions of their
# parent group(s). Unlike users, groups do NOT automatically inherit from
# default. World permissions may be assigned to groups with a 'worlds:' entry.
users:
nb123123:
groups:
- default
jukill:
groups:
- admin
hb123123:
groups:
- admin
thediablo64:
groups:
- admin
groups:
default:
permissions:
factions.autoclaim true
factions.claim true
factions.claim.radius true
factions.create true
factions.demote true
factions.description true
factions.disband true
factions.faction true
factions.home true
factions.invite true
factions.join true
factions.kick true
factions.leader true
factions.leave true
factions.list true
factions.map true
factions.officer true
factions.open true
factions.player true
factions.promote true
factions.relation true
factions.seechunk true
factions.sethome true
factions.name: true
factions.title true
factions.title.color true
factions.unclaim true
factions.unclaimall true
economy.balance true
economy.pay true
multiverse.core.spawn.self true
multiverse.core.spawnself true
easywarp.command.warp true
easywarp.command.listwarps true
easywarp.command.setwarp true
easywarp.command.delwarp true
easwarp.command.help true
heavyspleef.join true
heavyspleef.vote true
heavyspleef.leave true
heavyspleef.statistic true
heavyspleef.help.user true
heavyspleef.list true
heavyspleef.join.inventory true
phomes.limit.1 true
worlds:
Crazy_World:
bukkit.command.gamemode true
admin:
permissions:
bukkit.command.kick true
bukkit.command.ban.player true
bukkit.command.ban.list true
bukkit.command.unban.player true
bukkit.command.teleport true
bukkit.command.list true
bukkit.command.time.add true
bukkit.command.time.set true
bukkit.command.gamemode true
bukkit.command.weather true
bukkit.command.clear true
factions.officer.any true
factions.map true
factions.join.any true
factions.join.others true
factions.leader.any true
factions.version true
cpp.ignore.command.spam true
cpp.ignore.anticaps true
cpp.ignore.chat.spam true
populationdensity.idle true
inheritance:
- default
- moderator
moderator:
permissions:
bukkit.command.kick true
bukkit.command.ban.list true
bukkit.command.teleport true
bukkit.command.list true
bukkit.command.time.add true
bukkit.command.time.set true
factions.map true
cpp.ignore.command.spam true
cpp.ignore.anticaps true
adminlogin: true
inheritance:
- default
messages:
build: '&cYou do not have permission to build here.'
debug: false
users:
nb123123:
groups: []
jukill:
groups:
- admin
hb123123:
groups:
- admin
thediablo64:
groups:
- admin
groups:
default:
permissions:
factions.autoclaim: true
factions.claim: true
factions.claim.radius: true
factions.create: true
factions.demote: true
factions.description: true
factions.disband: true
factions.faction: true
factions.home: true
factions.invite: true
factions.join: true
factions.kick: true
factions.leader: true
factions.leave: true
factions.list: true
factions.map: true
factions.officer: true
factions.open: true
factions.player: true
factions.promote: true
factions.relation: true
factions.seechunk: true
factions.sethome: true
factions.name: true
factions.title: true
factions.title.color: true
factions.unclaim: true
factions.unclaimall: true
economy.balance: true
economy.pay: true
multiverse.core.spawn.self: true
multiverse.core.spawnself: true
easywarp.command.warp: true
easywarp.command.listwarps: true
easywarp.command.setwarp: true
easywarp.command.delwarp: true
easwarp.command.help: true
heavyspleef.join: true
heavyspleef.vote: true
heavyspleef.leave: true
heavyspleef.statistic: true
heavyspleef.help.user: true
heavyspleef.list: true
heavyspleef.join.inventory: true
phomes.limit.1: true
worlds:
Crazy_World:
bukkit.command.gamemode: true
admin:
permissions:
bukkit.command.kick: true
bukkit.command.ban.player: true
bukkit.command.ban.list: true
bukkit.command.unban.player: true
bukkit.command.teleport: true
bukkit.command.list: true
bukkit.command.time.add: true
bukkit.command.time.set: true
bukkit.command.gamemode: true
bukkit.command.weather: true
bukkit.command.clear: true
factions.officer.any: true
factions.map: true
factions.join.any: true
factions.join.others: true
factions.leader.any: true
factions.version: true
cpp.ignore.command.spam: true
cpp.ignore.anticaps: true
cpp.ignore.chat.spam: true
populationdensity.idle: true
inheritance:
- default
- moderator
moderator:
permissions:
bukkit.command.kick: true
bukkit.command.ban.list: true
bukkit.command.teleport: true
bukkit.command.list: true
bukkit.command.time.add: true
bukkit.command.time.set: true
factions.map: true
cpp.ignore.command.spam: true
cpp.ignore.anticaps: true
adminlogin: true
inheritance:
- default
messages:
build: '&cYou do not have permission to build here.'
debug: false
Ok fixed it but it still isn't showing it right, uhh... is there a certain to copy/paste like this?
whoops that come out wrong
Help! For some reason the per-world commands AREN'T working! I tried manually adding them to the config and with the commands! And when I tried the commands quite a large error popped up. Here is what my config looks like:
hallo.
why there is no command for adding a Group ?
ist horrible to add the Group manually to the yml :(
@HTML5MPH
@skullboneslayer
Oh and btw, essentials chat does have prefixes ;) However if you want another chat plugin ex. LiveChat then you will probably have to find something for your chat plugin. Remember though, don't get another prefix/suffix plugin that will interfere with your specific chat plugin.
Whenever I use a command in the console it says: commando323 was denied access to command.
Can someone help?
I know it isn't much to work with but if you need extra info (config files, plugin list, ect.) Just ask me. I would be happy to help if it helps me come closer to solving this problem. ;)
Thanks, Commando323
Don't think there is a possible way to set prefixes with this plugin. If you want prefixes and stuff, and you want to keep this plugin, try ColorMe, or I think even essentials chat might work, but I don't think so. There is also ColoredGroups, which is pretty good.
Ive been wondering how to prefix too, but I just got PermissionsEx, so it doesn't really matter... Still, I had essentialschat, and there was no way to prefix. It should be something like /perm group setprefix <group> <prefix> or something, based on the other commands of this plugin. I would recommend just using PermissionsEx, or GroupManager, or bPermissions.