Minecraft Blogs / Tutorial

[Bukkit] Guide to Permissions for Dummies

  • 3,156 views, 2 today
  • 3
  • 0
  • 2
Dydeyo's Avatar Dydeyo
Level 40 : Master Creeper Hugger
9
So your trying to get permissions to work in Bukkit and it's just problem after problem? You aren't really comfortable with coding and it all seems very confusing? Than you came to the right place. In this tutorial I will show you just how easy it is to not only use permissions effectively, but gain a better understanding of how it works!

As always, there are a few things you will want to have to complete this tutorial:


Now that you have all the required things we can begin. Now whichever permissions plugin you decided to use (PermissionsEx is recommended) should be the same, but may vary slightly. Anyhow, I'll be using PermssionsEx for this tutorial.



Permissions Nodes

Most plugin's you will find are compatible with permissions. What this means is that they are set up so that you can use nodes to control what a player can and cannot do. A node represents an action within the plugin code. If you would like to give a group (like admin) all permissions, instead of giving them every node, you can just give them a single node:

-'*'

No matter what permissions plugin, this node will give you every permission: past,present, and future.

Editing your Permissions.yml

The BIGGEST problem people have with permissions is that they use a Notepad or some other general word-processor, and don't notice when they use accidental TAB's! See the thing about YML is it loves spaces, but hates TABs! What I mean is that if there is a single TAB pressed within your YML file, your permissions will not load correctly! This is why, as mentioned above, you should use Notepad++. If you don't already have it than go get it(download link at the top of this post)!


Configuring Notepad++

Once you have obtained Notepad++, you'll want to configure it for optimal YML editing. Open it up and go to View-->Show Symbol-->Show White Space and Tab.
Now that you have that all set up it'll save you a lot of time trying to scope out those TABs. What it did was make TABs and spaces appear with symbols, as shown in the image below:
ekcpjpg


Anyway, thanks for reading! I hope this guide was able to help some people out. If you would like me to explain anything in more detail or have any other suggestions, let me know in the comments section below. Also, for more info on setting up permissions, check out this guide.
-Dr Danco
Tags

Create an account or sign in to comment.

1
06/13/2012 3:53 am
Level 15 : Journeyman Crafter
STRAYDOG0626
STRAYDOG0626's Avatar
thank you
1
06/13/2012 7:17 am
Level 40 : Master Creeper Hugger
Dydeyo
Dydeyo's Avatar
glad it helped someone xD
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome