Minecraft Blogs / Article

How to protect things in a server

  • 2,576 views, 1 today
  • 3
  • 3
  • 10
mop8899's Avatar mop8899
Level 25 : Expert Scribe
44
How to protect your minecraft server builds



Hello again, in this quick and simple tutorial Io��ll be telling you how to protect your server spawn or anything else.



Requirements:



  • A bukkit server
  • Worldedit
  • Worldguard
  • A building of somesort










Once you have all that stuff installed to your server and have built your self something to protect let's start.



Actually protecting everything is easy, first you need to go to a corner of your build and dig down to bedrock and type //pos1 or left click it with a wooden axe. Then go to the corner directly across from the one you were just in. Fly up pretty high and type //pos2. Once you have covered the tunnel going to bedrock you can type in the actually command to protect it which is /region define You can add as many owners as you want.






Flags



The main command for setting and disabling flags is /region flag < disable or enable>

passthrough :Use allow to have this region treated as a region that doesn't check build permission (use this to make simple no-PVP, etc. zones).
build-All : members and owners will be able to build normally without changing this flag, do not change it. This flag overrides all region build checks. Deny always takes precedence over allow. If you simply want to protect a region, you don't have to touch this flag. By default no one can build in a region until you use addowner/addmember to add a player to the region.
pvp :Allow or block PvP.
mob-damage :Allow or block mob damage on players.
entity-item-frame-destroy :Allow or block non-player entities from destroying item-frames.
entity-painting-destroy : Allow or block non-player entities from destroying paintings.
mob-spawning :Allow or deny mobs spawning
creeper-explosion :Allow or block creeper damage to terrain and players.
enderman-grief :Allow or prevent endermen from picking up or placing blocks.
enderpearl : Allow or prevent players from teleporting to or from regions using enderpearls.
enderdragon-block-damage :Allow or prevent enderdragon damage to blocks.
ghast-fireball : Allow or block fireballs damage to terrain and players.
sleep : Allow or block players from entering beds.
tnt :Allow or block TNT.
lighter : Allow or block flint and steel.
fire-spread : Allow or block the spread of fire (requires high frequency flags to be on in configuration)
lava-fire :Allow or block whether lava can start fires (requires high frequency flags to be on in configuration)
lightning :Allow or block lightning striking at all in a region
chest-access : Allow or block the player from opening chests, furnaces, and other containers in a region
pistons Allow or block piston activation
water-flow :Allow or block flow of water. (requires high frequency flags to be on in configuration)
lava-flow : Allow or block flow of lava. (requires high frequency flags to be on in configuration)
use : Allow or block the ability to use doors, buttons, pressure plates, levers, etc
vehicle-place :Allow or block the ability to place vehicles
vehicle-destroy : Allow or block the ability to remove vehicles
snow-fall : Allow or block snow from forming in an area. Note that this will not block weather altogether, that can be done in the config.
snow-melt :Allow or block snow from melting in an area.
ice-form : Allow or block ice from forming in an area.
ice-melt :Allow or block ice from melting in an area.
leaf-decay :Allow or block leaves from decaying.
grass-growth : Allow or block grass from spreading to dirt.
invincible : Sets a temporary godmode on the player. This will also disable /god-mode if set to deny, unless the player has the worldguard.god.override-regions permission.
entry : Allow or deny a group of players to enter an area
entry group :Set the group to be considered when checking if a player is allowed entry. See group flag type for more info.
exit :Allow or deny a group of players to leave an area
exit group - Set the group to be considered when checking if a player is allowed to leave. See group flag type for more info.
greeting :Message to show a player when they enter a region. See String flag below for formatting.
farewell :Message to show a player when they leave a region. See String flag below for formatting.
notify-enter : Sends a message to players with the worldguard.notify permission when a player enters a region.
notify-leave :Sends a message to players with the worldguard.notify permission when a player leaves a region.
deny-spawn : Set mobs that can't spawn within the region. From console or ingame: /region flag [id] denyspawn
Skeleton,Zombie,Creeper,etc . In config file: deny-spawn: [SKELETON, CREEPER, ZOMBIE, ETC]
heal-delay :Set the time in seconds between heal-amount triggering
heal-amount :Set the amount per heal time (see heal-delay)
heal-min-health Minimum health the heal flags will drop a player to.
heal-max-health : Maximum health the heal flags will raise a player to. (a full bar is 20 hearts)
feed-delay :Set the time in seconds between feed-amount triggering
feed-amount :Set the amount per hunger regen time (see feed-delay)
feed-min-hunger :Minimum hunger the feed flags will drop a player to.
feed-max-hunger :Maximum hunger the feed flags will raise a player to. (a full bar is 20 food)
teleport :Defines the location /region teleport teleports you to. Location
spawn :Define the spawn of the region, use /region flag region x y z
blocked-cmds : Sets the commands that will be blocked inside the region
allowed-cmds : Sets the commands allowed in the region. If this is set (not empty) it will act like a whitelist and ONLY commands
from this list will be allowed.
send-chat :Sets whether or not a player can send chat inside the region
receive-chat :Sets whether or not a player can receive chat inside the region.
game-mode : Sets the gamemode when a player enters a region. Can either be SURVIVAL, CREATIVE or ADVENTURE.
potion-splash :Allow or block splash effect from potion





If you enjoyed and or found this helpful,subscribe for more!
Tags

1 Update Logs

Update #1 : by mop8899 08/25/2014 5:34:41 pmAug 25th, 2014

Made the blog smaller.

Create an account or sign in to comment.

1
07/28/2013 4:11 am
Level 3 : Apprentice Miner
spika101
spika101's Avatar
wow thanks this has every thing from protecting your server thanks! :D
1
07/28/2013 3:45 pm
Level 25 : Expert Scribe
mop8899
mop8899's Avatar
No problem! Always happy to help!
1
08/03/2013 9:14 pm
Level 3 : Apprentice Miner
spika101
spika101's Avatar
also is there a way of protecting your server without mods?
1
08/03/2013 10:36 pm
Level 25 : Expert Scribe
mop8899
mop8899's Avatar
No, the only way is through plugins, actually... There is a spawn protection, you could put that number really high and use that.
1
08/03/2013 10:36 pm
Level 25 : Expert Scribe
mop8899
mop8899's Avatar
But I recommend using plugins, it's much easier!
1
08/03/2013 11:41 pm
Level 3 : Apprentice Miner
spika101
spika101's Avatar
oh well thanks anyway
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome