1

>>>Ultimate PermissionsEx Guide<<<

EmeraldModule 5/25/14 4:32 pm
327
I'm not a wizard. I'm not a wizard. I'M NOT A WIZARD!

I've devoted the last few weeks (maybe a month, I haven't been counting) on PermissionsEx, if you don't know what that is, it's a really amazing permissions plugin, I use it and so do many professional servers.

Well, first off you're going to need a brain, and time, and a workspace. Don't type this on a computer in school, type this at home where you have a nice amount of time.

On average it takes 25 minutes to form a PermissionsEx base, then another 15-20 minutes to fix it up and jazz it up.

Code isn't pretty, don't expect ASCII art.

Now, let's start off with some epic features PermissionsEx has to offer.
¦¦¦¦ ¦¦¦¦ ¦¦¦¦¦¦ ¦¦¦¦¦ ¦¦¦¦¦
PermissionsEx is probably the #1 plugin for your server. This allows you to have trillions of possibilities!

Features PermissionsEx Has:
- Easy to use file.
- Can also be done in-game with commands.
- It can allow people who just joined the server to have different commands than moderators or admins, for example.
- Multiworld Permissions
- It allows one group to inherit permissions from another group.
- Fancy Prefixes
- Fancy Suffixes
- Rank Ladder
- Compatible with over 95% of all plugins!
- Doesn't require any plugins, it's a loner!
- You can have as many groups as you want! From one to a trillion! Although ain't nobody got time for a trillion groups.

What you'll need:
This isn't a cooking show so you'll need a small amount of things.
- A server, a guide is here: Server Tutorial Made by HDPIZZAS
- PermissionsEx: Get PermissionsEx Here!
- An hour or two
- A brain

First off.....
Get the PermissionsEx.jar and drag it into the 'plugins' folder. Then double-click run.bat
Or just restart your server.

Now take a visit into the 'plugins' folder once again. You should see a folder titled 'PermissionsEx'. Open it. NOW!

???????????????
Into permissions.yml
???????????????

Reading the words inside the fancy boxes should make you open the 'permissions.yml' file. Then edit it. But first! You've got to review what you've got. In the 'permissions.yml' file you should see some text. If you do, you're going good so far!

This should be in permissions.yml:
I changed the permission 'modifyworld.*' to 'essentials.help' for special reasons.
groups:
default:
default: true
permissions:
- "modifyworld.*"

If you kept that code, then ANYONE that joins your server will have /help, except for OP's. Pretty bad.

Let's read the code. The text I put in quotes is the Permission Node.

DICTIONARY CHECK TIME!
What's a Permission Node?
A permission node is something you can find on nearly ever plugin page! It allows you to give the command, for example,
the command in the plugin essentials, /nick, would become essentials.nick ! If you use the plugin, Essentials, which you
should, you can use the documentation found here: http://wiki.mc-ess.net/wiki/Command_Reference/Perm


Thanks dictionary! ?° ?? ?°

So after the word 'permissions:' you can delete modifyworld.* and replace it with Permission Nodes you have found! Every good plugin should have a permission node. You should be able to find them in under a few minutes. Check back when you're done
So. You're permission.yml file should be a little bit hotter than it was 20 minutes ago. Now, let's add some Fancy Prefixes.
You know where it says 'default: true'. Well hit 'Enter' under that. Just a quick note, .yml files do not read Tabs. Never use tabs
when in .yml files. It will treat them as NOTHING. So, under 'default: true' line up the spaces and type: 'prefix: '&7[default] '
That's my prefix, you could change it and use color codes, Color Codes Here. You must use the apostrophes.

Here's an example:
groups:
default:
default: true
prefix: '&7[&aMember&7] '
permissions:
- "essentials.help"
Say 'Bob113' joins your server. He will have access to /help, and nothing else, when he chats it will have a prefix with light grey brackets and light green text saying 'Member'. Cool! Use the color codes to enhance your prefix!



Now. Suffixes are the same. Line up the words and type: 'suffix: &8SuffixGoesHere&9' . Feel free to change the words and color codes to anything you want.
Next up, Mo' Groups!
¯_¯_¯_¯_¯_¯_
Ever wanted another group? It's possible! Just line up the group name to 'default'
Then copy and paste everything lined up:
groups:
default:
default: true
permissions:
- essentials.help
user:
permissions:
- essentials.say
inheritance:
- default
Woah Mama! That's a ton! Let's read it up. So we added a new group, called 'user'. The group 'user' has the command /say,
and it inherits the group 'default' so it has the commands that the group 'default' has! Cool beans! Let's just add some quick
features and BAM BADA BAM! We've set up PermissionsEx!

groups:
default:
default: true
prefix: '&7[&aMember&7] '
permissions:
- essentials.help
- -essentials.ban
user:
default: false
prefix: '&6[&4User&6] '
permissions:
- essentials.say
inheritance:
- default
Well, why did we add essentials.ban!
We don't want default members to ban people! They cannot!
Using two hyphens, that makes sure the player can NEVER use that permission node!
Add /ban, /unban, /banip, /unbanip and others to players you cannot trust, put two hyphens!



Well, this isn't needed.
So, multiworld.

If you use BungeeCord IGNORE THIS!

Spoiler - click to reveal
Multiworld permissions. If you have a MultiServer network, just ignore this. If you use the plugin Multiverse, please read this, this makes sure people in the PVP world, about to die, cannot type /spawn and escape the death!
?Example:
?
worlds:
World_Name:
prefix: '&4[&4ExamplePvP&4]&2'
inheritance:
- user
permissions:
- essentials.fly
- -essentials.god
That should be added at the end, right after the permissions.
Look:
groups:
default:
default: true
permissions:
- "modifyworld.*"
PLACE MULTIWORLD PERMISSIONS HERE
Nothing can follow the Multiworld permissions, only more groups!

Well, let's see what we can add. In the first diagram, just the worlds. You can have a custom prefix, the one in the example is all red with the username being dark green. You can have inheritance, so anyone in the world called World_Name will have
the previously stated prefix, it will inherit the permissions from the group 'user' it will have access to /fly and it will prevent the command /god being used by all means! COOL!


: .ili.——Volume——.ili.
: _ ¦ _ ¦ _ _ ¦ _ ¦ _ ¦
: Min- – – – – – – – – – -Max
NEXT UP IS THE USER PART!
I like to add users the easy way. With a command:
/pex group <GroupName> user add <TheirUserName

NEXT!
The commands! Well, these are simple!
Use This: https://github.com/PEXPlugins/Permissio ... i/Commands

Use all commands from the console, you don't have to but it's recommended!

Well, as my teacher once said, 'Cite what is needed!'
So I'll cite what I used.
https://forums.bukkit.org/threads/tutor ... dly.50962/


That's it!

Subscribe if it helped you!

BONUS:
Can you read this:

___
/\ \ \
\/ \ \
/\ ) )
\/ / /
/__/

It's a face.
Posted by
EmeraldModule
Level 32 : Artisan Pixel Painter
58

  Have something to say?

JoinSign in

Welcome