Stránka 1 z 1

Blokace

Napsal: 14 čer 2014, 22:24
od miminkek
Server: 93.91.250.142:27922
ahoj mám problém s blokováním itemů přes world guard prosím pomožte mi :(

Re: Blokace

Napsal: 14 čer 2014, 23:43
od Aishak
Jaký problém s tím máš? Trošku to popiš + server log při startu a config worldguardu.

Re: Blokace

Napsal: 14 čer 2014, 23:48
od miminkek
prostě nevím jak mám napsat do blacklistu world guardu text abych zablokoval quarry

Re: Blokace

Napsal: 15 čer 2014, 00:38
od Aishak
1) Nevím jestli bude worldguard správně fungovat s modovaným serverem
2) Nevím ID té věci, ať je to cokoliv
3) Dej sem ten config

Re: Blokace

Napsal: 15 čer 2014, 10:53
od miminkek

Kód: Vybrat vše

Tady máš blacklist do jakého nevím co napsat aby mi nešel předmět s ID 1503
#
# 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

Re: Blokace

Napsal: 15 čer 2014, 10:54
od mominil2
do code

Re: Blokace

Napsal: 15 čer 2014, 10:54
od miminkek
BBcode?

-- 15 čer 2014, 09:57 --

#
# 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

Re: Blokace

Napsal: 15 čer 2014, 10:59
od panChemicky
Dávej ty configy do CODE, aby se neztratilo formátování.

Jinak na modované servery funguje WG dobře, nic jiného na to nepoužívám.

Tady máš názornou ukázku:

Kód: Vybrat vše

# Zakazane na pouziti //SEM DEJ NĚJAKÝ NÁZEV
[46,223,223:1,225:1,237,250:7,250:14,250:15] //SEM PŘIJDOU VŠECHNY ID, CO CHCEŠ ZAKÁZAT
ignore-groups=majitel //TOHLE JSOU SKUPINY, KTERÉ BUDE WG IGNOROVAT A JIM VŠECHNY ITEMY PŮJDOU
on-use=deny //ZDE JE TYP OMEZENÍ: V TOMTO PŘÍPADĚ NA POUŽITÍ


Místo on-use (na použití), může do dalšího řádku přijít on-break (rozbití) a on-place (položit). Celý zápis WG s BlackListem by tedy mohl vypadat takhle

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.
#

# Zakazane na pouziti
[46,223,223:1,225:1,237,250:7]
ignore-groups=majitel
on-use=deny

# Zakazane na rozbiti
[46,223,223:1,225:1,237,250:7]
ignore-groups=majitel
on-break=deny

# Zakazane na polozeni
[46,223,223:1,225:1,237,250:7]
ignore-groups=majitel
on-place=deny



//EDIT:
miminkek: do CODE se myslí takhle
code.jpg
code.jpg (25.65 KiB) Zobrazeno 5039 x

Re: Blokace

Napsal: 15 čer 2014, 11:03
od miminkek

Kód: Vybrat vše

#Quarry
[1503]
ignore-groups=majite
on-use=deny


může to bejt takto? bude to fungovat?

Re: Blokace

Napsal: 15 čer 2014, 19:52
od nejento
Tohle zakáže použití předmětu s ID 1503.