Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Pytanie] Blokowanie danego Budulca ?


Rekomendowane odpowiedzi

Opublikowano

A dało by rade żeby ktoś zrobił gotowy skrypt

 

on place 46:

player has permissions "uprawnienia.premium":

message "&4Postawiles ksiazki!"

else:

cancel event

message "&4Nie masz uprawnien do tego bloku !!"

 

 

on place 116:

player has permissions "uprawnienia.premium":

message "&4Postawiles Stolik do Enchantu !"

else:

cancel event

message "&4Nie masz uprawnien do tego bloku !!"

 

 

i co zrobić żeby to działało poprostu zrobić notatnik ? -> napisać to co u gory ?-> i zapisac jako np. enchant.sk ? i powinno dzialac ? bo nie dziala ;/

Opublikowano

Dlaczego nie dziala mi tez no-place w WorldGuard ? mam tak napisane :

 

 

#

 

# 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

 

 

 

[46]

ignore-groups=admin

ignore-perms=bl.blokadaenchant

on-place-deny,tell

on-acquire-deny,tell

message=Nie mozesz polozyc,podniesc Ksieg !

 

 

 

[116]

ignore-groups=admin

ignore-perms=bl.blokadaenchant1

on-place-deny,tell

on-acquire-deny,tell

message=Nie mozesz polozyc,podniesc Enchantu !

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...