Stránka 1 z 1

WorldGuard

Napsal: 22 čer 2014, 13:09
od Tuegutex
IP: 93.91.250.103:27884
Chcy se zeptat jak stím WordGuard BlackListem!
Spoiler: zobrazit

Kód: Vybrat vše

#
# WorldGuard blacklist
#
# The blacklist lets you block actions, blocks, and items from being used.
# You choose a set of "items to affect" and a list of "actions to perform."
#
###############################################################################
#
# Example to block some ore mining and placement:
# [coalore,goldore,ironore]
# on-break=deny,log,kick
# on-place=deny,tell
#
# Events that you can detect:
# - on-break (when a block of this type is about to be broken)
# - on-destroy-with (the item/block held by the user while destroying)
# - on-place (a block is being placed)
# - on-use (an item like flint and steel or a bucket is being used)
# - on-interact (when a block in used (doors, chests, etc.))
# - on-drop (an item is being dropped from the player's inventory)
# - on-acquire (an item enters a player's inventory via some method)
#
# Actions (for events):
# - deny (deny completely, used blacklist mode)
# - allow (used in whitelist mode)
# - notify (notify admins with the 'worldguard.notify' permission)
# - log (log to console/file/database)
# - tell (tell a player that that's not allowed)
# - kick (kick player)
# - ban (ban player)
#
# Options:
# - ignore-groups (comma-separated list of groups to not affect)
# - ignore-perms (comma-separated list of permissions to not affect - make up
#   your very own permissions!)
# - comment (message for yourself that is printed with 'log' and 'notify')
# - message (optional message to show the user instead; %s is the item name)
#
###############################################################################
#
# For more information, see:
# http://wiki.sk89q.com/wiki/WorldGuard/Blacklist
#
###############################################################################
#
# Some examples follow.
# REMEMBER: If a line has # in front, it will be ignored.
#

# Deny lava buckets
#[lavabucket]
#ignore-perms=my.own.madeup.permission
#ignore-groups=admins,mods
#on-use=deny,tell

# Deny some ore
#[coalore,goldore,ironore]
#ignore-groups=admins,mods
#on-break=notify,deny,log

#[7769]
#ignore-groups=admin
#on-use=deny,tell

#[1505]
#ignore-groups=admin
#on-use=deny,tell

#[1503]
#ignore-groups=admin
#on-use=deny,tell

#[1228]
#ignore-groups=admin
#on-use=deny,tell

#[1227:3]
#ignore-groups=admin
#on-use=deny,tell

#[1227:1]
#ignore-groups=admin
#on-use=deny,tell

#[1230]
#ignore-groups=admin
#on-use=deny,tell

#[1500]
#ignore-groups=admin
#on-use=deny,tell

#[3120:7]
#ignore-groups=admin
#on-use=deny,tell

Tu to mám diki K+!

Obrázek

Re: WorldGuard

Napsal: 22 čer 2014, 13:25
od nejento
U těch, který chceš, aby fungovali, tak musíš odebrat ty #. Jinak to značí zakomentovaný text, který potom ten plugin nevidí a nepoužije je.

Re: WorldGuard

Napsal: 22 čer 2014, 13:29
od Tuegutex
[3120:7]
ignore-groups=admin
on-use=deny,tell

Re: WorldGuard

Napsal: 22 čer 2014, 13:35
od nejento
Teď jsem nepochopil, o co se teď jedná? :D Takhle to bude vypadat:
Spoiler: zobrazit

Kód: Vybrat vše

#
# WorldGuard blacklist
#
# The blacklist lets you block actions, blocks, and items from being used.
# You choose a set of "items to affect" and a list of "actions to perform."
#
###############################################################################
#
# Example to block some ore mining and placement:
# [coalore,goldore,ironore]
# on-break=deny,log,kick
# on-place=deny,tell
#
# Events that you can detect:
# - on-break (when a block of this type is about to be broken)
# - on-destroy-with (the item/block held by the user while destroying)
# - on-place (a block is being placed)
# - on-use (an item like flint and steel or a bucket is being used)
# - on-interact (when a block in used (doors, chests, etc.))
# - on-drop (an item is being dropped from the player's inventory)
# - on-acquire (an item enters a player's inventory via some method)
#
# Actions (for events):
# - deny (deny completely, used blacklist mode)
# - allow (used in whitelist mode)
# - notify (notify admins with the 'worldguard.notify' permission)
# - log (log to console/file/database)
# - tell (tell a player that that's not allowed)
# - kick (kick player)
# - ban (ban player)
#
# Options:
# - ignore-groups (comma-separated list of groups to not affect)
# - ignore-perms (comma-separated list of permissions to not affect - make up
#   your very own permissions!)
# - comment (message for yourself that is printed with 'log' and 'notify')
# - message (optional message to show the user instead; %s is the item name)
#
###############################################################################
#
# For more information, see:
# http://wiki.sk89q.com/wiki/WorldGuard/Blacklist
#
###############################################################################
#
# Some examples follow.
# REMEMBER: If a line has # in front, it will be ignored.
#

# Deny lava buckets
#[lavabucket]
#ignore-perms=my.own.madeup.permission
#ignore-groups=admins,mods
#on-use=deny,tell

# Deny some ore
#[coalore,goldore,ironore]
#ignore-groups=admins,mods
#on-break=notify,deny,log

[7769]
ignore-groups=admin
on-use=deny,tell

[1505]
ignore-groups=admin
on-use=deny,tell

[1503]
ignore-groups=admin
on-use=deny,tell

[1228]
ignore-groups=admin
on-use=deny,tell

#[1227:3]
#ignore-groups=admin
#on-use=deny,tell

[1227:1]
ignore-groups=admin
on-use=deny,tell

[1230]
ignore-groups=admin
on-use=deny,tell

[1500]
ignore-groups=admin
on-use=deny,tell

[3120:7]
ignore-groups=admin
on-use=deny,tell

Re: WorldGuard

Napsal: 22 čer 2014, 14:06
od Chytrolin
Když už budeš zakazovat v Hexxitu věci, nezapomeň na Ender Bow (někdo ho použije a server padá), Chest Transporter (tenhle mód můžeš odstranit celý - lze v pohodě komukoli kdekoli vzít truhlu), baťoh ID 7608 (množení věcí) ... Když budeš hledat, tak najdeš další věci, které shazují server nebo s nimi lze podvádět, ničit krajinu nebo zabíjet v PvP false - například tady: http://www.jwlservers.com/forum/m/13014 ... /post/last nebo http://www.hexxit.org/forum/m/14898526/ ... items-list

Re: WorldGuard

Napsal: 22 čer 2014, 17:09
od AyACZE
Jen poznámka. Pokud máš v tom blacklistu "tell" a chceš aby to tedy hráči, který chce zakázaný předmět použít napsalo hlášku, tak doplň řádek

Kód: Vybrat vše

message=Tvuj text !


takže například

Kód: Vybrat vše

[7769]
ignore-groups=admin
on-use=deny,tell
message=V tomto svete neni pouziti %s povoleno !