Blokace

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
miminkek
Příspěvky: 565
Registrován: 14 čer 2014, 11:29
Reputation: 0
Bydliště: U počítače

Blokace

#1 Příspěvekod miminkek » 14 čer 2014, 22:24

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 :(

Uživatelský avatar
Aishak
Příspěvky: 431
Registrován: 03 čer 2014, 15:02
Reputation: 1

Re: Blokace

#2 Příspěvekod Aishak » 14 čer 2014, 23:43

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

#3 Příspěvekod miminkek » 14 čer 2014, 23:48

prostě nevím jak mám napsat do blacklistu world guardu text abych zablokoval quarry

Uživatelský avatar
Aishak
Příspěvky: 431
Registrován: 03 čer 2014, 15:02
Reputation: 1

Re: Blokace

#4 Příspěvekod Aishak » 15 čer 2014, 00:38

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

miminkek
Příspěvky: 565
Registrován: 14 čer 2014, 11:29
Reputation: 0
Bydliště: U počítače

Re: Blokace

#5 Příspěvekod miminkek » 15 čer 2014, 10:53

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: 25
Registrován: 28 lis 2012, 22:07
Reputation: 0
Bydliště: /home
Kontaktovat uživatele:

Re: Blokace

#6 Příspěvekod mominil2 » 15 čer 2014, 10:54

do code

miminkek
Příspěvky: 565
Registrován: 14 čer 2014, 11:29
Reputation: 0
Bydliště: U počítače

Re: Blokace

#7 Příspěvekod miminkek » 15 čer 2014, 10:54

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

Uživatelský avatar
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

#8 Příspěvekod panChemicky » 15 čer 2014, 10:59

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 5035 x
Naposledy upravil(a) panChemicky dne 15 čer 2014, 11:03, celkem upraveno 1 x.
ObrázekObrázek

miminkek
Příspěvky: 565
Registrován: 14 čer 2014, 11:29
Reputation: 0
Bydliště: U počítače

Re: Blokace

#9 Příspěvekod miminkek » 15 čer 2014, 11:03

Kód: Vybrat vše

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


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

Uživatelský avatar
nejento
Příspěvky: 9815
Registrován: 28 lis 2011, 14:09
Reputation: 55
Kontaktovat uživatele:

Re: Blokace

#10 Příspěvekod nejento » 15 čer 2014, 19:52

Tohle zakáže použití předmětu s ID 1503.
Obrázek

Obrázek 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/


Zpět na „Minecraft, Tekkit“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 17 hostů