Noob's Guide to Bukkit permissions [Inc example files]
109 diamonds
-
37,762Views, 136 today
- Comments
- Favorites
- Flag / Report
Get Embed Code

These days I play Supreme Commander, which is probably the greatest RTS you've never heard of!Â
I do daily uploads of gameplays, replays and tutorials - check out my videos you might like them :)
Channel: Â Â http://www.youtube.com/user/ZaphodX1
Subscribe:Â Â http://bit.ly/-subscribe
One part of:Â The Ultimate Server Guide

This guide is part 5 of the ultimate server guide. For all other server stuff, check out the ultimate server guide. Includes: Making a server, using plugins, great plugins to have, stopping cheaters and griefers, and a noob's guide to permissions!
- If you liked it, please Diamond and maybe Favourite ^_^
- Also, subscribe to me if you want more tutorials!
Permissions, they are an absolute pain, and never seem to be explained in an easy way. This should hopefully be able to get you to set up your own permissions system and be able to use permissions just fine. The 2 plugins available are bPermissions and PermissionsEX. Apologies for length!
The Basics
User groups
Allows you to give ranks/groups to certain players, meaning different players can have different prefixes in front of their name and have access to different commands.
Example:
Default has access to basic stuff. Trusted gets access to a bit more and [Trusted] before their name. Moderator gets access to /mute, /kick, /ban etc and [Mod] before their name.
Inheritance:Inheritance allows you to have all the commands from a lower group. 'Inheritance' in bPermissions works a little differently (see later).
Example:Â A moderator has inheritance from default users and trusted users. This means they get access to all commands that those two user groups have, as well as the moderator commands.
Nodes:A node basically refers to which /command you are giving or restricting access to. By adding a permissions node, you give access to that particular command. To find which command refers to which node, go to the plugin's page on bukkit (search bukkit.org or dev.bukkit.org) and view the page on their 'permissions nodes'.
Permission node format:
pluginname.commandname
Examples:
Plugin:Â CommandBookÂ
Command:Â /sethome
commandbook.home.set
Plugin:Â
WorldEditÂ
Command:Â /sp
worldedit.superpickaxe
Formatting:
Permissions files are done in yaml format. You cannot use tabs in yaml format, you need to use multiple spaces instead. I highly recommend using Notepad++, as it is very easy to use and shows when you have formatted incorrectly by changing text to red.Â
When you have finished formatting your permissions file, you need to put it through a yaml parser. This basically checks to see if it conforms to the yaml formatting. Copy the permissions into the window. If it displays fine, then great. If it shows you errors, then navigate to the line the error is shown in and check what you have done wrong.
Setting up Permissions
There are two main options for permissions, bPermissions and PermissionsEX. I am going to go into PermissionsEX in detail and give a brief overview of bPermissions. I recommend using PermissionsEX.
Advice
1Â Permissions are a nightmare. If you do just one thing wrong it is likely absolutely nothing will work. Don't do anything unless you are sure it is the right thing to do. Don't just guess how it should be! Best way is just to copy from the examples I give.
2 After you do some editing and before you load it up, copy the whole text in your permissions file into HERE. If you get errors then go to line the error is on, and work out what you did wrong. 90% of the time it is adding a tab by accident. Always uses spaces and not tabs.
3 Go really slowly. Don't do or add too many things at once. Go in game and check it is working properly before you move on too far. Otherwise you don't know which bit is wrong.
4Â Keep at it, permissions is something you eventually learn from making mistakes and fixing them. It gets easier with practice as you stick with it.
5Â Use Google. Find out how to fix various things from other people with the same problem.
 PermissionsEx
1 Download and install Notepad++. Open all these .yml files using Notepad++.
2 Download PermissionsEX and put all 4 jar files in your plugins folder. Startup your server, and then type 'stop' in the server command window.
3 Download THIS and open the example files as your read through each part
1Â Basic structure of permissions file, with default member, trusted member, moderator and admin.Â
1Â Go to your plugins/chatmanager folder and open config.yml. Change the line 'enable:false' to 'enable:true'. ChatManager is needed to add colours and prefixes.
Open up file 1 and have a look through as you read.
2Â 'default:true' means that a new player joining the server will start in the group 'Default'
Each group has its own prefix, which you can change to whatever you want. The suffix is currently left blank.
'permissions:null' means that currently none of the groups have any permissions to use commands.
'inheritance:' means that that group inherits all the nodes (commands) from that group.
The admins have - '*' in their permissions list. The * means 'everything' so this means they can use every single command possible.
3Â Take the file and put it into you plugins/permissionsEX folder. Rename it to permissions.yml. Now replace 'zaphodx' with your minecraft name at the bottom in the 'users:' section. Try it out and you should see when you chat that your prefix will change depending on what group you are in. Also notice you can only use basic commands unless you are in the admin group.
 2 Adding basic Bukkit commands
Open up file 2 and check through it as you read this portion.
Important Note:When adding nodes, you MUST NOT add any tabs. When you press enter to add another line of nodes, it will automatically add 2 tabs. YOU MUST delete these tabs and enter 8 spaces instead!
1 First of all go HERE.
These are the basic commands for a Bukkit server. Look through them and decide who should have which commands. Here is how I decided to do it:
I decided moderators can have the following commands: /kick, /ban, /ban-ip, /pardon and /pardon-ip.So from the list I can see the permission nodes I need to add are:
bukkit.command.kickÂ
bukkit.command.ban
bukkit.command.ban.ip
bukkit.command.ban.player
bukkit.command.unban
bukkit.command.unban.ip
bukkit.command.unban.playerÂ
Using the * wildcard I can reduce the nodes I need to add to the 'Moderators' group to just this:
bukkit.command.kick
bukkit.command.ban.*
bukkit.command.unban.*
2Â Now moving on to trusted players, I don't really need to give them anything, since they inherit all the commands that Default users have anyway.
And for Default users, Looking at the 'permissions default' column of the Bukkit commands I can see they already get some commands. However I also want to let them have /help and /list so I add:
bukkit.command.list
bukkit.command.help
3 However, If you have read my guide HERE, I recommend disabling /version and /plugins to make it harder for griefers and cheaters. So I will add a negative permissions node to the default group.Â
Optionally, you could allow your trusted members to access those two commands. In this example I have decided to let the trusted users access these commands. Check the difference in-between the 'Default' group and the 'Trusted' group. Default have a negative node stopping them from using them, and then the Trusted have a normal node added, allowing them to use these commands again.
Default:
-bukkit.command.version
-bukkit.command.plugins
Trusted:
bukkit.command.version
bukkit.command.plugins
4Â Look through file 2 and make sure you understand where and why I added the nodes.
3Â Adding a couple of plugins
So, I'm now going to add a few plugins, NoCheat and Lockette.
1Â NoCheat
First check out the NoCheat permissions nodes HERE.
1Â I don't want to let any of my players cheat, but I do want my moderators and admins to be able to fly. From the NoCheat permissions page I see I can add nocheat.checks to stop nocheat checking players.
Add to Moderators group:
nocheat.checks.moving.*
2 Admins have '*' so they have access to all commands. But I don't want my admins to be able to cheat, so I have to place a negative permissions node for all NoCheat checks. This means they aren't immune to NoCheat. However I do still want to let my admins fly and check in-game logs from nocheat. So these are the permissions nodes that I add for admins:
Admins:
-nocheat.* (even admins are checked)
nocheat.checks.moving.* (Admins can still fly)
nocheat.admin.* (Admins can check NoCheat logs)
2Â Lockette
Go to the Lockette page HERE. Scroll down and open the spoiler called 'advanced setup (permissions)'.
1Â Looking through the permissions nodes, I want my moderators to be able to check up on anyone suspicious, so I will let them have all the admin permissions for snooping, by giving them the node:
lockette.admin.*
2Â I want to be able to allow even new guest users in the Default group to lock their chests/furnaces, so I will give the Default group the node:
lockette.user.create.*
3Â Have a look through file 3 and check you understand how I edited the permissions file.
 4 Multiple world permissions
Multiple worlds:If you have multiple worlds or want seperate permissions for the nether, just split the permissions up into 2 groups, based on the worldname (name of the folder your world is in).
Check file 4 to view how to convert file 3 into worlds with different permissions.
Using modifyworld
Modifyworld is an optional part of PermissionsEX that gives you some extra control over what you choose to let players do.Â
Go HERE and check out what it can do. In particular, scroll down to the 'generic' modifyworld permission nodes.
First open up your plugins/modifyworld folder. Open the config.yml and set enable:true.
Until you add some modifyworld nodes, nobody can do anything. To enable all, add the permissions node:modifyworld.*
Examples of how you could use modify world:
Protect a VIP's tamed wolves by putting a negative permission on damaging a certain player's wolves:
-modifyworld.damage.deal.wolf.playersname
Stop Default users from using flint and steel (item ID=259):
-modifyworld.items.use.259
To make a special 'Guest' group that can only walk around and check out the server, make a new group and give them only these two nodes and no others:
modifyworld.chat
modifyworld.sprint
If you want some more support for PermissionsEX check out BENNETTMAN's guide here!
bPermissions
1Â A few different player groups, prefixes, players
First open file 1, in the bPermissions folder HERE and look at it in notepad++. I've created 5 groups.
 Â
Scroll down to the bottom and you will see names of players and then the groups of commands they are allowed to use. For example a VIP has default, trusted and VIP groups. This means they get access to all commands that default and trusted players get, as well as VIP commands.
Scroll back up to the top, and you can see which nodes are in each group. The default group has 'bpermissions.build' which means they can break and place blocks. If you only want guests to be able to walk around, then you could put that node into the trusted group.
A prefix appears before your name in chat. Each group has a prefix, in the format:- prefix.[strength].[text]The strength indicates whichever prefix a player has will override any other prefix which has a lower strength. Example: admins have strength 50 for the prefix [Admin], so in-game they will only have '[Admin]', and not get any other prefixes that have a lower strength. I have left the prefixes as the same name as the groups but they can be changed to whatever you want.Â
The moderators and admins have 'bpermission.' nodes that allow them to promote or demote up to their rank of moderator/admin.
Important things to note:
You cannot use '*' as a wildcard in bPermissions, you MUST enter every permission node.
Capital letters are very important! You MUST enter player's names and group names with the correct capital letters!
Using /p helpme:
This is a useful command in bPermissions, but be very careful! Backup your permissions file FIRST. By typing /p helpme it will generate a new permissions file that generates all the permission nodes for the plugins that support it, and auto-places them into groups based on a guess of where they should be. This isn't supported by all plugins, but it does work for quite a few.  You can then cut and paste the permissions into the groups you want them to be in.
Troubleshooting bPermissions
Use the YAML parser and check you do not have any errors
Be very careful with capital letters of player names and group names
You have to stop the server to reload permissions changes
Additional Details
| Tags: | Tutorial, Minecraft, Server, Make, Setup, Create, Host, Beta, Hosting, Vanilla, Bukkit, Plugins, Help, Hamachi, Port, Forwarding, Portforwarding, Guide, Herobrine, Permissions, BPermissions, PermissionsEX |
Join us to post comments.
Comments : 115
123 next »
1 - 50 of 115
123 next »
1 - 50 of 115









Reply
Delete
Junior_Rawrs
Level 1
New Miner
April 3, 2013, 6:17 pm
Reply
Delete
Phase_Saber
Level 8
Apprentice Pony
April 2, 2013, 4:29 pm
Reply
Delete
OnlyIn5DYT
Level 13
Journeyman Architect
February 17, 2013, 9:34 am
Reply
Delete
Droid177
Level 1
New Miner
January 31, 2013, 8:56 am
What should i do?
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
January 31, 2013, 11:15 am
Reply
Delete
Droid177
Level 1
New Miner
January 31, 2013, 11:02 pm
Reply
Delete
Aang2720
Level 7
Apprentice Dragon
January 30, 2013, 10:27 am
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
January 31, 2013, 11:15 am
Reply
Delete
JamesBondage77
Level 14
Journeyman Architect
January 29, 2013, 11:11 am
Reply
Delete
I_PRO_JACKZ
Level 1
New Miner
January 20, 2013, 4:49 am
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
January 20, 2013, 10:52 pm
Reply
Delete
trollinggenius
Level 7
Apprentice Warrior
January 9, 2013, 6:04 pm
Reply
Delete
Aang2720
Level 7
Apprentice Dragon
December 26, 2012, 1:02 pm
Reply
Delete
cjcraft01
Level 19
Journeyman Dragonborn
December 23, 2012, 6:36 am
Reply
Delete
Zeromight12
Level 1
New Miner
December 13, 2012, 5:43 am
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
December 13, 2012, 6:13 am
Reply
Delete
Zeromight12
Level 1
New Miner
December 13, 2012, 9:02 pm
Reply
Delete
Awes0mecraft
Level 3
Apprentice Mage
November 12, 2012, 11:29 am
Reply
Delete
Awes0mecraft
Level 3
Apprentice Mage
November 12, 2012, 11:30 am
Reply
Delete
jogoodman
Level 2
Apprentice Miner
October 23, 2012, 5:41 pm
Reply
Delete
jogoodman
Level 2
Apprentice Miner
October 30, 2012, 7:18 pm
Reply
Delete
BeastFactionServer
Level 4
Apprentice Warrior
October 13, 2012, 2:29 pm
Reply
Delete
papuang
Level 25
Expert Unicorn
September 24, 2012, 11:48 pm
Thanks Zaphod, but I wrote a load of permission nodes in the file in what I thought was the correct way but it didn't seem to work. Can I send the file over to you so you can see anything, or is that too much to ask, sorry :(. I don't mind if you can't/don't want to/can't be bothered. I would be eternally grateful if you did so though. Thanks in advance if you do.
-Pap
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
September 25, 2012, 12:38 am
Reply
Delete
papuang
Level 25
Expert Unicorn
September 25, 2012, 4:07 am
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
September 25, 2012, 4:12 am
[code]your text here[/code]
Reply
Delete
eldin
Level 17
Journeyman Geek
September 19, 2012, 10:20 pm
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
September 19, 2012, 10:26 pm
Reply
Delete
Creeper_Killer_X
Level 20
Expert Architect
September 2, 2012, 4:39 am
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
September 2, 2012, 4:51 am
Reply
Delete
Creeper_Killer_X
Level 20
Expert Architect
September 2, 2012, 3:05 pm
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
September 2, 2012, 3:51 pm
Reply
Delete
Creeper_Killer_X
Level 20
Expert Architect
September 2, 2012, 6:02 pm
- essentials*
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
September 3, 2012, 12:38 am
Reply
Delete
Creeper_Killer_X
Level 20
Expert Architect
September 3, 2012, 3:56 am
Reply
Delete
Creeper_Killer_X
Level 20
Expert Architect
September 2, 2012, 4:38 am
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
September 2, 2012, 4:51 am
Reply
Delete
rejectdeath
Level 1
New Miner
September 1, 2012, 11:50 am
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
September 1, 2012, 3:39 pm
Reply
Delete
monkeygate369
Level 1
New Miner
August 25, 2012, 9:55 pm
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
August 26, 2012, 2:12 am
Reply
Delete
Creeper_Killer_X
Level 20
Expert Architect
September 2, 2012, 6:02 pm
Reply
Delete
jacksonzane
Level 1
New Explorer
August 10, 2012, 1:08 pm
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
August 26, 2012, 2:11 am
Reply
Delete
leobizaz
Level 3
Apprentice Crafter
July 9, 2012, 3:04 pm
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
July 9, 2012, 10:24 pm
Reply
Delete
Zaven
Level 13
Journeyman Pirate
July 6, 2012, 8:00 pm
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
July 7, 2012, 1:19 am
Reply
Delete
Haydox99
Level 16
Journeyman Dragon
June 28, 2012, 12:40 am
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
June 28, 2012, 12:51 am
Reply
Delete
Haydox99
Level 16
Journeyman Dragon
June 28, 2012, 2:44 pm
Reply
Delete
lilleahy
Level 1
New Miner
May 24, 2012, 3:00 pm
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
May 24, 2012, 3:18 pm
Reply
Delete
lilleahy
Level 1
New Miner
May 24, 2012, 4:02 pm
i redownloaded it is version 1.19.2 still wont work
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
May 24, 2012, 9:35 pm
Reply
Delete
Emorak
Level 9
Apprentice Miner
May 9, 2012, 7:11 am
Use this > http://yaml-online-parser.appspot.com/
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
May 9, 2012, 7:46 am
Reply
Delete
gogocp
Level 14
Journeyman Cake
May 18, 2012, 10:23 pm
Reply
Delete
karatyman
Level 30
Artisan Architect
April 24, 2012, 5:12 pm
Nice, could you explain negative permissions tho?
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
April 24, 2012, 9:18 pm
Normal:
- essentials.spawn
negative:
- -essentials.spawn
Reply
Delete
EmptyOrange360
Level 24
Expert Creeper
April 20, 2012, 1:46 pm
Reply
Delete
EmptyOrange360
Level 24
Expert Creeper
April 20, 2012, 1:17 pm
Reply
Delete
gogocp
Level 14
Journeyman Cake
May 18, 2012, 10:24 pm
Reply
Delete
EmptyOrange360
Level 24
Expert Creeper
May 19, 2012, 9:58 pm
Reply
Delete
EmptyOrange360
Level 24
Expert Creeper
April 20, 2012, 1:11 pm
Reply
Delete
gogocp
Level 14
Journeyman Cake
May 18, 2012, 10:25 pm
Reply
Delete
UCHIHA_JAMES
Level 1
New Miner
April 12, 2012, 7:37 am
I kinda understand but i dont understand how to put other plugins in the permission like Essentials and setrank to stop ppl from using thoso things. im like WTF @A@
i need mega help
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
April 12, 2012, 8:02 am
Example: for Essentials /spawn the node is: essentials.spawn
Reply
Delete
UCHIHA_JAMES
Level 1
New Miner
April 12, 2012, 8:09 am
is it
bukkit.essentials.spawn
or not cause i dont know @=@
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
April 12, 2012, 8:31 am
Reply
Delete
riley351999
Level 1
New Miner
March 29, 2012, 1:19 am
Reply
Delete
gogocp
Level 14
Journeyman Cake
May 18, 2012, 10:25 pm
Reply
Delete
66MrDerpster99
Level 11
Journeyman Pirate
May 28, 2012, 8:16 am
Reply
Delete
ZaphodX
Retired Moderator
Level 70
Legendary Warrior
March 29, 2012, 1:37 am