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
|
2010-12-26 07:16:45 +01:00
|
|
|
# on-place=deny,tell
|
2010-11-20 05:03:19 +01:00
|
|
|
#
|
|
|
|
# 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)
|
2010-12-26 07:16:45 +01:00
|
|
|
# - on-place (a block is being placed)
|
|
|
|
# - on-use (an item like a lighter is being used)
|
|
|
|
# - on-right-click (the block is right clicked -- curently INEFFECTIVE)
|
2010-11-20 05:03:19 +01:00
|
|
|
# - 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-12-26 07:16:45 +01:00
|
|
|
# Deny lava buckets
|
2010-11-14 09:55:01 +01:00
|
|
|
#[lavabucket]
|
2010-11-20 07:02:46 +01:00
|
|
|
#ignore-groups=admins,mods
|
2010-12-26 07:16:45 +01:00
|
|
|
#on-use=deny,tell
|
2010-11-20 05:03:19 +01:00
|
|
|
|
2010-12-26 07:16:45 +01:00
|
|
|
# Deny lighter usage
|
|
|
|
#[259]
|
|
|
|
#on-use=deny,tell
|
|
|
|
|
|
|
|
# Deny some ore
|
2010-11-14 09:55:01 +01:00
|
|
|
#[coalore,goldore,ironore]
|
2010-12-26 07:16:45 +01:00
|
|
|
#ignore-groups=admins,mods
|
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-12-26 07:16:45 +01:00
|
|
|
#on-place=deny,tell,log
|
2010-11-20 20:13:18 +01:00
|
|
|
|
|
|
|
#[lever]
|
2010-12-26 07:16:45 +01:00
|
|
|
#on-break=deny,tell
|