5

Grief-Proof Your Server!

5 diamonds

Grief-Proof Your Server!

Contest Participant! This Blog is in the Minetorials : Tutorials with a Minecraft Theme contest, now Complete!
See the Final Leaderboard!

Get Embed Code

Forum:
HTML:
Link:
avatar CivilizationLord
Level 22 : Expert Nerd
Posted 07/11/12 8:33:23 am , last updated: 07/31/12 12:00:01 pm
07/11/12

Hey people! this is the blog I am putting together for the contest. Enjoy it, but please note, it is not done. This is the 2nd part of my server tutorials and I believe no one has guides on Permissions so here it goes, and this will probably the longest entry so please drop me a diamond if you like it. It only is one click.

Alright, so you just installed your server and put it up on PMC.

1 hour later...

Civ: Oh jolly! There are 3 people on.

CivilizationLord logged on

Hey wanna pvp with me?

This is a building server.

Not any more

"Turns around and sees entire area blow up"

SH**! Excuss my french. Now, /ban Pun

xXRavenXx Left the Game

Destroyer12311 Left the Game

PunkedViper Left the Game

Crap

If one of your names were the above, the author means no offence.


                                                     And now CivilizationLord presents to you...

The Ultimate Guide to Grief-Proofing your Server!

These are all complex plugins designed to keep your server from being griefed and add a whole new dimension.

mca.png


PermissionsEx


Note: This tutorial applies to PEX though the config file editing is the same.

1.Download whatever you are using from Bukkit.org.

2. Run it in your server, it should generate the neccesary files. ( If you are using PEX, you will have 3 plugins, this tutorial does not cover ModifyWorld. Bacon Avenger has a nice video for that on the PEX page.)

3. Download Notepad++, open it up go to language, YAML and really important tip, go to settings, language menu, and select yaml on the side. Check replace Tab with spaces. Remember Bukkit or YAML does not support tabs.

4. Open up the permissions file using Notepad++. As far as I am concerned, PMC does not support YML so don't copy the following. I slipt it up into parts so it is easier to look at. :)

Tutorial 1: Permissions File
groups:
     default:
         default: true
         permissions:
         - modifyworld.*
Groups states everything inside it is a group, from this you can tell default is the name of the group and all the players are this, since 1. It is the default so new players get it when they join and 2. There are no other groups. Proof? Type /pex users into the chat (if you are using PEX) when there are people on your server. So finnaly you might want to edit it like this.

groups:
Guest:
default: true
permissions:
Tutorial 2: The Permissions
This next part of the tutorial and setting up your permissions system is not very exciting or fun but is probably the most important part.
For every group you make you need to assign them certain permissions. If you wanted to give them the power to do the command /broadcast in Essentials the node, the form of the permission, would look like this: essentials.broadcast
NOTE: Make sure to line up your perms like this...
groups:
VIP:
default: false
permissions:
- essentials.broadcast
DO NOT put spaces in between the periods.
DO line up the dash with the permissions: section
DO put a space in between the dash and node.
A star (*) gives a user or group all permissions. In PEX you need to surround the star. An example would be like Builder:
default: false
permissions:

Get it?
this:

groups:
Admin:
permissions:
- '*'
default: false
BE VERY CAREFUL with this permission. If you give this, a player with certain abilities will be able to delete worlds, nuke the server, or ban everyone.

Another use of the node would be to give all the permissions to a certain player.
groups:
Op:
permissions:
- essentials.*
This would give the Op group all the commands to essentials. This is not recommended due to the /nuke command being put into the package.
This next part is boring but for every plugin you have. You need to figure out the permissions for that plugin and and put them n the config file. Some plugins will have this set up so the basic commands can be put into a certain group such as derp.basic.*
and derp.admin*

Tips:
- Permissions is case-sensitive. Stick to lower-case except when you put in the name of a group
- PEX does not support stuff like build.false or command.bukkit.say. You need to make the person op or use Modify World (Set up not included). If you want to use these commands please use PemissionsBukkit.
Tutorial 3: The Ranking Ladder

So you have your permissions set up and it looks something like this....

groups:

    Guest:

       default: true

       permissions:

       - modifyworld.*

       - civplugin.basic.*

    VIP:

       default: false

       permissions:

       - civplugin.admin

       inheritance:

       - Guest

You are probably thinking what is inheritace? So I will tell you. If there was no such thing as inheritance then you would have to add the modifyworld.* node to every rank. But since I added on the inheritace, now VIP as all the permissions Guest does. This saves a lot of time. Now let's say that you made a group called Admins and gave it an inheritance of VIP. The Admin would have bothe Guest and VIP's permissions because Guest's perms is linked with VIP's. But PEX doesn't know to give VIP Guest's permissions or Guest VIP's permissions so you need to make ranks.

Ranks are simple. In the consle type something like this: /pex group NAME rank #. So the higher the number, the lower it is down the scale so I might want to give Guest the rank 5000. I want VIP to be better so I give it 4000. NEVER PUT 0 FOR A RANK. PEX will not read this. Now use the commands /pex promote PLAYER or /pex demote NUMBER to modify ranks. The demote number is what amount you want to add to the rank number. So I would do if I wanted to move someone from VIP to Guest /pex demote 1000. This is a ranking ladder.

It should look like this:

groups:

    Guest:

       default: true

       permissions:

       - modifyworld.*

       - civplugin.basic.*

       options:

          rank: 5000

    VIP:

       default: false

       permissions:

       - civplugin.admin

        inheritance:

        - Guest

       options:

          rank: 4000

Tips:

- You don't need to give the lowest rank an inheritance

- You don't need to give someone with a star an inheritance

- You can have multiple ranking ladders. See the PEX wiki for more details.

Tutorial 4: Prefixes
So that is all you need to do to set up permissions. But while this will stop users from doing certain things it will keep their regular names I chat. I you want something like in the chat your going to have to use that nifty plugin called Chat Manager. Here is how it works:
The Minecraft Formatting codes can be found here: http://www.minecraftwiki.net/wiki/Formatting_codes
Here is an example of an Admin Prefix:
'&c&f'
Let's break this down. The ' is the way for the file to know the start/end of the prefix. The &c makes the following red. Now if you did not put the &f (white) there then their message in the chat and their name would be red. This is all there is to it! Finally in the permissions file it would look like this:
groups:
    Admin:
        prefix:  '&c&f'
Tips:
    - Please note that there are two spaces between the  prefix: and the prefix itself.
    - I think you need to enable the ChatManager in the config file.
    - You can also change the prefix in the game as always.
    - I recommend making the lower ranks chat's duller than   white so Admin's sticks out.

Nice job on installing perms! If you have a problem post it below and if this gets more support. Tutorial 5: In-Game Commands is coming! And as a parting gift...

mca.png

Onward...


PlotMe


Ever dreamed of having the ultimate creative server? 100% lag-free and easy to set up? Well plots are the king. PlotMe is a 100% grief-free, problem-free, and admin-free. A user just has to enter /p claim and voila!

1. Download PlotMe by ZachBora. It is a popular plugin so it is easy to find.

2. Run your server generate the files.

3. Open up the config with your YML editor (You have on right?)

4. Inside it it will say this:

Config
worlds:
  plotworld:
    Generator: PlotMe
    PlotAutoLimit: 100
    PathWidth: 7
    PlotSize: 32
    BottomBlockId: 7
    WallBlockId: 44
    PlotFloorBlockId: 2
    PlotFillingBlockId: 3
usemySQL: false
mySQLconn: jdbc:mysql://localhost:3306/minecraft
mySQLuname: root
mySQLpass: password

Now plots are square so you can adjust you Plot Size and everything else in the world. I recommend the default settings. Now you will need to create you own world.

I Have One World

1. Change plotworld to whatever the name of your world is (default: world)

2. Delete the world you have. Run your server

3. Let it generate.

4. When you go on it should have tons of plots. Remove the plot you are standing on and build your spawn.

I Have Several Worlds using Multiverse

1. Enter the world you like in the config. plotworld will do.

2. In-Game or on the console type /mv create normal -g PlotMe

3. /mvtp

4. Your done!

Commands
/p auto - Auto claim a plot.
/p claim - Claim the plot you are standing on.
More Commands and Perms on the Page!
If you have Voxel Sniper /p will not work. You must use /plotme

World Edit and World Guard


World Edit does not actully protect the server but is required for World Guard. I use it frequently. Here are some of the commands you use. Remember // is the world edit command.

Selection Required Commands
//wand - Get out the selection wand. Needed to use these commands.
//set - Puts a certain block in the selected region
//walls - Put a block on the outline of the region.
//expand - Expands the region
//hollow - Hollows the region
More soon!
Regular Commands
/green - Turns Dirt to Grass
/thaw - Turns snow to dirt
//sphere Makes a sphere where you are standing.
/brush - Makes a brush. Requires tool
/pyramid - Just like sphere
//help - More commands
// - Turns pickaxe into Super Pick. A instant block breaker with drops
More Soon!

To protect an area, select a region. If you want it from bedrock to air use //expand vert. Then enter the command /region define members

Then... /region flag This edits the properties of that area.

/region for more.


 

Thanks for reading! Expect more of this including Factions soon! This blog as taken roughly 9 straight hours to make so far and I finished 1 minute before it ended. I made the banner myself too! Please diamond if you like it!

Future Updates:

   - Remove lines in spoilers

   - Add plugins

   - Add Grief- Proof Tips

NOTE: If you are rating this blog for the contest please hold off as this is not done yet.

 

 

Additional Details

Tags:Permissions, World, Edit, Guard, Plot, Plots, Plotme, How, CivilizationLord, Civ, Server, Civilization, Tutorial

Update #8 : 07/31/2012 12:00:01 pm7/31/12

FINISHED!

Update #7 : 07/29/2012 3:03:06 pm7/29/12

New Tutorial/Title

Update #6 : 07/27/2012 12:59:27 pm7/27/12

Spoiler Updates

Update #5 : 07/26/2012 4:17:36 pm7/26/12

Massive Update:

- New Achievement

- New Tutorial

- Fixes

- Future Update bar

Update #4 : 07/26/2012 8:16:59 am7/26/12

Added Spoilers

Update #3 : 07/20/2012 5:18:09 pm7/20/12

New Achievment

Update #2 : 07/13/2012 7:57:36 pm7/13/12

Tutorial 2!

Update #1 : 07/11/2012 8:43:24 am7/11/12

Changed Title

Join us to post comments.

Comments : 4

1 - 4 of 4

CivilizationLord
Level 22
Expert Nerd
July 30, 2012, 9:41 am

@TheBlueDragon
I am planning to add what I said below but hou have to start somewhere :)

deltoraquestgirl
Level 25
Expert Creeper Hugger
July 13, 2012, 4:19 pm

good luck

CivilizationLord
Level 22
Expert Nerd
July 13, 2012, 5:19 pm

Thank you! I hope to put in World Edit and Guard plus PlotMe and perhaps Factions

deltoraquestgirl
Level 25
Expert Creeper Hugger
July 13, 2012, 5:22 pm

cool

 

1 - 4 of 4