Social Icons

Tuesday 9 October 2012

Guide To Creating Ranks with GroupManager

I see it everywhere.
"PLZ HELP MEHH MAKE GROOPS"
"LOOKING FOR GROUP MAKERS"

I'm here today to try and stop these pointless threads on the Internet.
I'll try to make this quick and easy, as that's how you like it!

Step One:
- Have greater knowledge than a Creeper
Yeah you heard me! If you're 6, I don't think
you will be able to comprehend most of the things
on here. Sorry pal!

Step Two:
- Install Essentials GroupManager
You can easily find it on Bukkit
Install it, along with Essentials, and open up the
GroupManager folder that appears after a server restart.

Step Three:
- Change premade groups to whatever you like
This is where the fun starts! As you open your
GroupManager folder, you will see a file called
'globalgroups.yml' This will come in good use in a bit.
There should be a folder called 'worlds'
Follow this series of events-
Open 'worlds' > 'YourWorldName' > 'groups.yml'
Once you open up 'groups.yml'
you will see a premade list of ranks for you.
They should be something like this: (If I remember correcty)

groups:
Owner:
default: false
permissions:
- -vanish.*
- '*'
inheritance:
- Owner
info:
prefix: '&4[Owner]'
build: true
suffix: ''

There should be other groups too, but I'll just show
you the Owner group. You cab rename any group you want.
Like you can change Owner to King. Here's what the King
group would look like.
*Take note of the prefixes I add*

groups:
King:
default: false
permissions:
- -vanish.*
- '*'
inheritance:
- king
info:
prefix: '&4[King]'
build: true
suffix: ''

All I have done is change the Name, prefix, and inheritance.
Now let me show you how inheritance works.

Step Four:
- Permission nodes and Inheritance
There are many permission nodes for different plugins.
Let me show you how to give one group the ability to change gamemode.
The node for that is essentials.gamemode
This is pretty much what you're going to put where it says 'permissions:'
in 'groups.yml' Here's what the King group will look like with that node.

groups:
King:
default: false
permissions:
- -vanish.*
- '*'
- essentials.gamemode <---- That right there!
inheritance:
- King
info:
prefix: '&4[King]'
build: true
suffix: ''

So now you have given King the permission to switch gamemodes.
You can do this to any group you want in 'groups.yml'
But let's say you want multiple groups to have the same
permissions as King? This is where Inheritance comes to play.
Remember that file called 'globalgroups.yml'?
Go open that up, and you will see a huge list of groups
followed by permission nodes. What you want to be looking at is


g:essentials_King: <------ renamed from Owner to King
permissions:
- essentials.gamemode <---- That's a node you will add to King only


So now that you've added that node there, go back to 'groups.yml'
Let's say you want the Builder group to have the same permissions as
the King's permissions in 'globalgroups.yml'
Now that you have 'groups.yml' opened up, you will see this:

Builder:
default: false
permissions:
inheritance:
- g:groupmanager_Guest
- g:bukkit_Guest
- g:essentials_Builder
- g:essentials_King <----- Add this if you want Builder to get all of King's nodes
info: from 'globalgroups.yml'
prefix: '[&4Builder]'
build: true
suffix: ''


So now Builders have all of the permission nodes you have listed
under ' - g:essentials_King' in 'globalgroups.yml'


Step Five:
- Copying and Pasting groups to create more groups
So now that you've learned how permissions work,
you can just copy any group in 'groups.yml'
paste it right underneath it, and rename it to whatever you like.
Make sure that you chance the prefix and/or permissions and
inheritance, if you choose to.

Here's some things you should know:
- Everything is now Case Sensitive in 1.3.2, so make sure all of your
groups are either all capitalized or all lowercased.
- NEVER EVER EVER EVER USE TAB!
- Make sure everything is aligned correctly. One small error
and everything breaks!

Here's a useful tool to see if your set up is correct and errorless:
Online YAML Parser

One more thing I'd like to add is I recommend either
using Notepad+ or Wordpad to edit these.
Never use the regular Notepad (trust me)


Builder: <--- Name of group
default: false <--- Set to True if you want new players to start as this rank
permissions: <---- The specific permission nodes for this group
- essentials.sethome
inheritance: <---- What groups you want this group to inherit from
- g:groupmanager_Guest
- g:bukkit_Guest
- g:essentials_Builder
- g:essentials_King
info:
prefix: '[&4Builder]' <---- The prefix that shows behind their name
build: true <---- Are they allowed to build?
suffix: '' <---- What shows after their name

Useful Commands:
- /manuadd (player) (group)
- /help groupmanager


If this helped, give a comment!
If I missed somrthing, comment too!
If this didn't help, comment why!

Good luck!

No comments:

Post a Comment