2010-11-14 09:55:01 +01:00
|
|
|
#
|
2010-11-17 21:05:07 +01:00
|
|
|
# This is the blacklist for WorldGuard. Comments start with # and they
|
2010-11-14 09:55:01 +01:00
|
|
|
# are ignored so you can put your own notes.
|
|
|
|
#
|
|
|
|
# Format:
|
2010-11-20 05:03:19 +01:00
|
|
|
# [item1,item2]
|
2010-11-14 09:55:01 +01:00
|
|
|
# option1=options
|
2010-11-20 05:03:19 +01:00
|
|
|
# event1=whatToDo1,whatToDo2,whatToDo3
|
|
|
|
# event2=whatToDo1,whatToDo2
|
2010-11-14 09:55:01 +01:00
|
|
|
#
|
2010-11-20 05:03:19 +01:00
|
|
|
# Example to block ore and catch some events:
|
|
|
|
# [coalore,goldore,ironore]
|
|
|
|
# on-destroy-with=deny,log,kick
|
|
|
|
# on-create=deny,tell
|
|
|
|
#
|
|
|
|
# Options:
|
2010-11-14 09:55:01 +01:00
|
|
|
# - ignore-groups (comma-delimited list of groups to not affect)
|
2010-11-20 20:47:32 +01:00
|
|
|
# - comment (message for yourself that is printed with 'log' and 'notify')
|
|
|
|
# - message (optional message to show the user instead; %s is the item name)
|
2010-11-14 09:55:01 +01:00
|
|
|
#
|
2010-11-20 05:03:19 +01:00
|
|
|
# Events:
|
|
|
|
# - on-destroy (when a block of this type is being destroyed)
|
2010-11-20 20:13:18 +01:00
|
|
|
# - on-break (when a block of this type is about to be broken)
|
2010-11-20 05:03:19 +01:00
|
|
|
# - on-destroy-with (the item/block held by the user while destroying)
|
|
|
|
# - on-create (the item/block in the user's inventory is being created)
|
|
|
|
# - on-use (the block is right clicked)
|
|
|
|
# - on-drop (the item is being dropped from the player's inventory)
|
2010-11-21 09:45:16 +01:00
|
|
|
# - on-acquire (the item enters a player's inventory via some method)
|
2010-11-20 05:03:19 +01:00
|
|
|
#
|
|
|
|
# Actions (for events):
|
2010-11-14 09:55:01 +01:00
|
|
|
# - deny (deny completely)
|
|
|
|
# - notify (notify admins)
|
2010-11-20 05:03:19 +01:00
|
|
|
# - log (log to console/file/database)
|
2010-11-14 09:55:01 +01:00
|
|
|
# - tell (tell a player that that's not allowed)
|
2010-11-20 05:03:19 +01:00
|
|
|
# - kick (kick player)
|
|
|
|
# - ban (ban player)
|
2010-11-14 09:55:01 +01:00
|
|
|
#
|
2010-11-21 09:45:16 +01:00
|
|
|
# With the on-acquire event, it will completely block item pick ups
|
|
|
|
# (the item will still be on the ground) if you use 'deny' but the other
|
|
|
|
# actions (notify, log, etc.) won't do anything. However, if the player
|
|
|
|
# receives the item via a different method (i.e. from a chest), all actions
|
|
|
|
# will work although the item is removed after a short delay rather than
|
|
|
|
# blocked from the beginning (as it is part client-side).
|
|
|
|
#
|
2010-11-20 05:03:19 +01:00
|
|
|
# Users with the /worldguardnotify permission will be receive notifications.
|
2010-11-14 09:55:01 +01:00
|
|
|
#
|
2010-11-20 07:02:46 +01:00
|
|
|
# -------------
|
|
|
|
#
|
|
|
|
# You can have the same block or item used in two different sections and
|
|
|
|
# they will both apply:
|
|
|
|
#
|
|
|
|
# [goldblock]
|
|
|
|
# ignore-groups=vip
|
|
|
|
# on-destroy=deny
|
|
|
|
# [goldblock]
|
|
|
|
# ignore-groups=admins
|
|
|
|
# on-destroy=tell
|
|
|
|
#
|
|
|
|
# However, some events override others. For example, if you disable both
|
|
|
|
# usage of the diamond pickaxe (with the on-destroy-with event) and
|
|
|
|
# destruction of gold blocks (with the on-destroy event) and a player tries
|
|
|
|
# to destroy a gold block with a diamond pickaxe, because the
|
|
|
|
# on-destroy-with event comes first, the rules for the gold block
|
|
|
|
# will not be applied (but the player will be denied nevertheless).
|
|
|
|
#
|
|
|
|
# -------------
|
|
|
|
#
|
2010-11-20 05:03:19 +01:00
|
|
|
# Some examples follow. Remember to remove # in front if you want them
|
|
|
|
# to work for you!
|
|
|
|
|
2010-11-14 09:55:01 +01:00
|
|
|
#[lavabucket]
|
2010-11-20 07:02:46 +01:00
|
|
|
#ignore-groups=admins,mods
|
2010-11-20 05:03:19 +01:00
|
|
|
#on-destroy-with=deny,log,kick
|
|
|
|
#on-create=deny,tell
|
|
|
|
|
2010-11-14 09:55:01 +01:00
|
|
|
#[coalore,goldore,ironore]
|
2010-11-20 07:02:46 +01:00
|
|
|
#ignore-groups=admins,mods,vip
|
2010-11-14 09:55:01 +01:00
|
|
|
#on-destroy=notify,deny,log
|
2010-11-20 05:03:19 +01:00
|
|
|
|
2010-11-14 09:55:01 +01:00
|
|
|
#[cobblestone]
|
2010-11-20 20:13:18 +01:00
|
|
|
#on-create=deny,tell,log
|
|
|
|
|
|
|
|
#[lever]
|
2010-11-20 20:47:32 +01:00
|
|
|
#on-break=deny
|
|
|
|
|
2010-11-21 05:10:29 +01:00
|
|
|
# This is an example of the 'durability cheat' workaround that destroys your
|
|
|
|
# tool when you drop it
|
|
|
|
#[256,257,258,259,267,268,269,270,271,272,273,274,275,276,277,278,279,283,284,285,286,290,291,292,293,294,346]
|
|
|
|
#on-drop=deny,tell
|
|
|
|
#comment=Durability Hacks
|
|
|
|
#message=Your tool was destroyed
|