Minecraft/Bukkit/WorldGuard

From Multiplay Wiki
Jump to: navigation, search

WorldGuard is one of the best Minecraft world Protection addons available for servers. It Allows admins to protect the servers world from griefing and accidents that may occur by implementing these features Turn off fire, control item usage, block TNT and flint and steel, and protect select areas.


Installing and Configuring

To install WorldGuard go to Multiplay's Clanforge Profile area and Select the addons tab. In Administrative addons near the end you will find WorldGuard click on it and the add button. Then Save the Profile. Clanforge will then add the files required for the addon.

Configuration

Worldguard has a pretty basic setup. In Worldguard/Worlds/Worldname*/config.yml You can choose what you would like to Enable/Disable to suit your server by Answering on/off or true/false.

In Worldguard/World/WORLDNAME*/Blacklist.yml You can enter in items you dont want on your server.Inside blacklist.yml you will find a format you have to use to blacklist these items and if you want implement an action on the abuser.Remember do not use # infront of your statement as it will ignore it.

Commands & Permission Nodes

To use Permissions, merely have it installed as a plugin and it will be used automatically.

Command syntax: <command/aliases> [-<flags>] <arguments>

Command Arguments Aliases Flags Permission Description Command Source file
/god None None s (Report back to sender) worldguard.god Enable godmode on self /com/sk89q/worldguard/bukkit/commands/

GeneralCommands.java

/god [players] None worldguard.god.other Enable godmode on a player
/ungod None None worldguard.god Disable godmode on self
/ungod [players] None worldguard.god.other Disable godmode on a player
/heal None None worldguard.heal Heal self
/heal [players] None worldguard.heal.other Heal a player
/slay None None worldguard.slay Slay self
/slay [players] None worldguard.slay.other Slay a player
/locate [player] None None worldguard.locate Locate a player
/stack None None None worldguard.stack Stack items
/region None None None None Region management commands /com/sk89q/worldguard/bukkit/commands/

ProtectionCommands.java

/worldguard None None None None WorldGuard commands
/region define <id> [<owner1> [<owner2> [<owners...>]]] /region def
/region d
None worldguard.region.define Defines a region /com/sk89q/worldguard/bukkit/commands/

RegionCommands.java

/region redefine <id> /region update
/region move
None worldguard.region.redefine Re-defines the shape of a region
/region claim <id> [<owner1> [<owner2> [<owners...>]]] None None worldguard.region.claim Claim a region
/region select <id> /region sel
/region s
None worldguard.region.select Load a region as a WorldEdit selection
/region info [world] <id> /region i None worldguard.region.info Get information about a region
/region list [page] [world] None None worldguard.region.list Get a list of regions
/region flag <id> <flag> [value] /region f None worldguard.region.flag Set flags
/region setpriority <id> <priority> /region priority
/region pri
None worldguard.region.setpriority Set the priority of a region
/region setparent <id> [parent-id] /region parent
/region par
None worldguard.region.setparent Set the parent of a region
/region remove <id> /region delete
/region del
/region rem
None worldguard.region.remove Remove a region
/region load [world] /region reload None None Reload regions from file
/region save [world] /region write None None Re-save regions to file
/region addmember <id> <members...> None None worldguard.region.addmember Add a member to a region /com/sk89q/worldguard/bukkit/commands/

RegionMemberCommands.java

/region addowner <id> <owners...> None None worldguard.region.addowner Add an owner to a region
/region removemember <id> <members...> /region remmember
/region removemem
/region remmem
None worldguard.region.removemember Remove a member from a region
/region removeowner <id> <owners...> /region remowner None worldguard.region.removeowner Remove an owner from a region
/stopfire [<world>] None None worldguard.fire-toggle.stop Disables all fire spread temporarily /com/sk89q/worldguard/bukkit/commands/

ToggleCommands.java

/allowfire [<world>] None None worldguard.fire-toggle.stop Allows all fire spread temporarily
/worldguard version None None None None Get the WorldGuard version /com/sk89q/worldguard/bukkit/commands/

WorldGuardCommands.java

/worldguard reload None None None worldguard.reload Reload WorldGuard configuration
/worldguard report None None p (Upload to pastebin) worldguard.report (p flag requires worldguard.report.pastebin) Writes a report on WorldGuard

Notes

The permissions for some of the worldguard.region permissions can have special suffixes:

Applies to Suffixes Meaning
worldguard.region.redefine
worldguard.region.info
Empty Can only perform command on regions that you are not an owner or member of
.own Can only perform command on regions that you own
.member Can only perform command on regions that you are a member of
worldguard.region.select
worldguard.region.flag
worldguard.region.setpriority
worldguard.region.setparent
worldguard.region.remove
worldguard.region.addmember
worldguard.region.addowner
worldguard.region.removemember
worldguard.region.removeowner
.<region-id> Can only perform command on the region and you must not be the owner or a member of it
.own.<region-id> Can only perform command on the region only if you own it
.member.<region-id> Can only perform command on the region only if you are a member of it
worldguard.region.flag .flags.<flag>.<region-id> Can only set the specified flag in the region and you must not be the owner or a member of it
.flags.<flag>.owner.<region-id> Can only set the specified flag in the region only if you own it
.flags.<flag>.member.<region-id> Can only set the specified flag in the region only if you are a member of it

The asterisk symbol (*) can be used anywhere in the permission to select everything in that node. Take a few examples

Permission Meaning
worldguard.region.info.* Allows performing the /region info command on any region
worldguard.region.remove.own.* Allows performing the /region remove command on any region you own
worldguard.region.remove.* Allows performing the /region remove command on any region
worldguard.region.flag.flags.pvp.member.* Allows setting the pvp flag for any region you are a member of
worldguard.region.flag.flags.*.owner.town Allows setting any flag for the region "town" only if you own it
worldguard.region.flag.flags.*.member.* Allows setting any flag for any region you are a member of
worldguard.region.flag.flags.*.* Allows setting any flag for any region
worldguard.region.bypass.[Your Worldname] To give a user the ability to bypass protection

Extra Permissions

The region restrictions for building and use can be overridden with the worldguard.region.bypass.<world> permission. <world> can be replaced by an asterisk to specify all worlds

Permissions and Nodes From the Worldguard wiki [[1]]