ahoj mám problém s blokováním itemů přes world guard prosím pomožte mi
Blokace
- Aishak
- Příspěvky: 431
- Registrován: 03 čer 2014, 15:02
- Reputation: 1
Re: Blokace
Jaký problém s tím máš? Trošku to popiš + server log při startu a config worldguardu.
-
miminkek
- Příspěvky: 565
- Registrován: 14 čer 2014, 11:29
- Reputation: 0
- Bydliště: U počítače
Re: Blokace
prostě nevím jak mám napsat do blacklistu world guardu text abych zablokoval quarry
- Aishak
- Příspěvky: 431
- Registrován: 03 čer 2014, 15:02
- Reputation: 1
Re: Blokace
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
2) Nevím ID té věci, ať je to cokoliv
3) Dej sem ten config
-
miminkek
- Příspěvky: 565
- Registrován: 14 čer 2014, 11:29
- Reputation: 0
- Bydliště: U počítače
Re: Blokace
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
Naposledy upravil(a) miminkek dne 15 čer 2014, 10:59, celkem upraveno 1 x.
-
mominil2
- Příspěvky: 506
- Věk: 26
- Registrován: 28 lis 2012, 22:07
- Reputation: 0
- Bydliště: /home
- Kontaktovat uživatele:
Re: Blokace
do code
-
miminkek
- Příspěvky: 565
- Registrován: 14 čer 2014, 11:29
- Reputation: 0
- Bydliště: U počítače
Re: Blokace
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
-- 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
- panChemicky
- Příspěvky: 1737
- Věk: 34
- Registrován: 07 čer 2013, 12:32
- Reputation: 1
- Bydliště: Cheb
- Kontaktovat uživatele:
Re: Blokace
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:
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
//EDIT:
miminkek: do CODE se myslí takhle
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
Naposledy upravil(a) panChemicky dne 15 čer 2014, 11:03, celkem upraveno 1 x.
-
miminkek
- Příspěvky: 565
- Registrován: 14 čer 2014, 11:29
- Reputation: 0
- Bydliště: U počítače
- nejento
- Příspěvky: 9815
- Registrován: 28 lis 2011, 14:09
- Reputation: 55
- Kontaktovat uživatele:
Re: Blokace
Tohle zakáže použití předmětu s ID 1503.
Přidejte se ke komunitě zákazníků na FakaHeda.eu Discord! Poznejte nové lidi nebo vyřešte svůj technický problém živě: https://discord.fakaheda.eu/Kdo je online
Uživatelé prohlížející si toto fórum: Google [Bot] a 57 hostů

