Minecraft Blogs / Tutorial

PermssionsEX Tutorial

  • 3,803 views, 1 today
  • 12
  • 2
  • 19
Dimitri2012's Avatar Dimitri2012
Level 42 : Master Cake
69
I have noticed many people are having trouble with thir permissions, once you get your head round it its very easy!


Stuff you need:


Notepad++: LINK


PermissionsEX: LINK


SetRankPEX (Optional): LINK


YAML Parser: LINK





Remember YAML does not like tabs so don't use them.





NB: the permissions file is in the PermissionsEX folder in your plugins folder.





First:

Groups



A group is basically the rank, it contains all the permission nodes and the prefix (think [Admin] before the name), the suffix (opposite of a prefix). Example:





Admin:


prefix: '&cAdmin&f'


suffix: ''


permissions:


- '*'


inheritance:


- Moderator





Break-Down:


Admin: - The group name, simple.


prefix: '&cAdmin&f' - What will be before their name in chat ( [Admin] ) the '&c' and '&f' is the colour codes &c is red and '&f' Stops the colour. Colour codes at the bottom of this guide.


suffix: '' - What comes after the name


permissions: - The permissions '*' means all the permissions (More info down)


- '*'


inheritance: - What to inherit permissions from e.g. You want the Builder rank to get permission from the Guest rank.


- Moderator






Nodes



The node is the actual permission, as said earlier '*' is all the nodes you could also do - essentials.* for all the Essentials nodes. BEWARE sometimes '*' can muck it up don't over use it. You list the nodes like this:


permissions:
- bukkit.command.plugins
- essentials.nick
- essentials.me
- -factions.create (notice the - -factions.create a '-' before the node takes away the command)
- essentials.tpa
- essentials.tpahere
- essentials.tpaccept
- essentials.back
- essentials.back.ondeath
- chatmanager.override.ranged
- chatmanager.chat.color



These are the Permission for my Trusted rank.


As you can see the permissions start with '-' then a space then the node. The nodes for you'r plugins can usually be found on the BukkitDev page or just Google '[Name of plugin] nodes' .


If you want to see here is my file:


NOTE: Do not steal, use for learning, otherwise you won't learn.


My Permissions File

My Permissions File
User:
default: true
prefix: '&eUser&f'
suffix: ''
permissions:
- essentials.help
- turnstile.open
- essentials.home
- essentials.sethome
- essentials.spawn
- essentials.motd
- essentials.rules
- essentials.sethome
- essentials.balance
- essentials.pay
- essentials.sell
- essentials.worth
- essentials.afk
- essentials.ignore
- essentials.suicide
- essentials.msg
- showcase.buy.infinite
- factions.chat
- factions.home
- factions.join
- factions.leave
- factions.power
- factions.show
- factions.help
- factions.map
- buycraft.buy
- lwc.protect
- scs.create.buy
- scs.create.sell
- scs.use
- -essentials.kit
- -factions.create
- essentials.tpaccept
- essentials.signs.use.warp
- essentials.warp.*
- -mcmmo.commands.ptp
Trusted:
prefix: '&2Trusted&f'
suffix: ''
permissions:
- bukkit.command.plugins
- autocraft.transport
- essentials.nick
- essentials.me
- factions.create
- essentials.tpa
- essentials.tpahere
- essentials.tpaccept
- essentials.back
- essentials.back.ondeath
- chatmanager.override.ranged
- chatmanager.chat.color
- -mcmmo.commands.ptp
inheritance:
- User
Moderator:
prefix: '&5Moderator&f'
suffix: ''
permissions:
- essentials.tp
- essentials.tphere
- bukkit.command.gamemode
- bukkit.command.time.*
- bukkit.command.say
- bukkit.command.kick
- bukkit.command.ban
- bukkit.command.unban
- essentials.tree
- essentials.afk.others
- essentials.backup
- essentials.invsee
- essentials.mute.exempt
- essentials.setjail
- essentials.jails
- essentials.chat.spy
- essentials.jail.exempt
- essentials.tempban
- essentials.weather
- essentials.ban
- essentials.unban
- lwc.mod
- factions.*
- essentials.gm
- bukkit.command.gamemode
- essentials.gamemode
- chatmanager.override.ranged
- chatmanager.chat.color
- bukkit.command.ban.player
inheritance:
- Trusted
Donator:
prefix: '&eDonator&f'
suffix: ''
permissions:
- bukkit.command.version
- bukkit.command.plugins
- essentials.nick
- essentials.me
- factions.create
- blockhat.hat
inheritance:
- Trusted
SubAdmin:
prefix: '&5Moderator+&f'
suffix: ''
permissions:
- worldedit.*
inheritance:
- Moderator
Admin:
prefix: '&cAdmin&f'
suffix: ''
permissions:
- -essentials.heal
- -essentials.give
- -essentials.god
- -essentials.feed
- -essentials.enchant
- -essentials.repair
- -bukkit.command.teleport
- -bukkit.command.xp
- '*'
inheritance:
- Moderator




Great! So now your permissions are all fine and dandy, what about ranking people up?





Users





Since this tutorial is aimed at PermissionEX we will be using the commands for it.


To rank someone up there are two ways you can do this: In game: Type '/pex user [user's name] group set [Group name]'. Done! In the file:


You will see this at the bottom of you file:


users:


Underneath here is where your users go e.g.


users:
dimitri2012:
group:
- Admin



Some fine person has also made a plugin for shortening the command its is called SetRankPEX. LINK.


Simples.


Troubleshooting





Most likely first time around it wont work so, put your permission through a YAML parser. Also don't forget that YAML does not like tabs so convert them to spaces. Make sure you are using Notepad++.


Other Stuff





So you want fancy prefixes? First off you will need a plugin like iChat or Chatmanger which comes with PEX.


And now for the codes:

Codes


&4 Red

&c Rose

&6 Gold

&e Yellow

&2 Green

&a Light green

&b Light blue

&3 Cyan

&1 Navy

&9 Blue

&d Light purple

&5 Purple

&f White

&7 Lightgray

&8 Gray

&0 Black




Any further questions? please leave a comment.


Don't forget to Diamond and Favourite!


~Dimitri2012
Tags

3 Update Logs

Update #3 : by Dimitri2012 03/25/2012 1:15:15 pmMar 25th, 2012

Fixed link
LOAD MORE LOGS

Create an account or sign in to comment.

1
03/26/2013 10:53 am
Level 7 : Apprentice Modder
TenaciousEz
TenaciousEz's Avatar
Thanks so much!
1
03/07/2013 9:41 am
Level 1 : New Miner
Jagay3
Jagay3's Avatar
I have PermissionEx but when i try to do so my guest rank can't do /plugins it wont work they can still do it! How can i do so they can't? :)
1
03/08/2013 11:57 am
Level 42 : Master Cake
Dimitri2012
Dimitri2012's Avatar
Try: - blah.blah
1
03/08/2013 2:12 pm
Level 1 : New Miner
Jagay3
Jagay3's Avatar
what shod that do?
1
03/09/2013 6:32 am
Level 42 : Master Cake
Dimitri2012
Dimitri2012's Avatar
Make it so the guest rank cant use that permission.
1
03/15/2013 10:42 am
Level 1 : New Miner
Jagay3
Jagay3's Avatar
i wrighted - blah.blah in the permissionex but it diden't changed i can still do /plugins
1
03/20/2013 3:22 pm
Level 42 : Master Cake
Dimitri2012
Dimitri2012's Avatar
I didn't mean write blah.blah, I meant write your permission there. Sorry that confused you.
1
07/30/2012 8:33 pm
Level 6 : Apprentice Explorer
Undefinedmaster
Undefinedmaster's Avatar
Another awesome post. Thanks.
1
06/29/2012 6:06 am
Level 1 : New Miner
albinorhino911
albinorhino911's Avatar
how about addding how to give permission for factions. i played on your bordercraft server really liked the way the permissions were with the whole faction deal
1
06/29/2012 10:25 am
Level 42 : Master Cake
Dimitri2012
Dimitri2012's Avatar
At least someone liked the permissions! Do make it do a group can't make a faction put:- -faction.create
1
07/02/2012 6:06 am
Level 1 : New Miner
albinorhino911
albinorhino911's Avatar
i got it ty but it didnt take as long as it did to reply.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome