- 3,803 views, 1 today
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:
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
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
Great! So now your permissions are all fine and dandy, what about ranking people up?
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.
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++.
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:
&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
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
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
tools/tracking
690871
6
permssionsex-tutorial
Create an account or sign in to comment.