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

Problem przy wywalaniu itemow


KillerThePro

Rekomendowane odpowiedzi

Opublikowano

skrypt mam

options:
#=======================================================#
#                                                       #
#                                                       #
#                         Opcje                         #
#                                                       #
#                                                       #
#=======================================================#


# Tag
tag: &6[Drop]


# Ilosc expa za wydobycie stone:
dExp: 150


#================#
# Szansy na drop #
#================#
# Zelazo:
dIron: 15
# Zloto:
dGold: 13
# Diamenty:
dDiax: 10
# Emeraldy:
dEmer: 3
#Perly kresu:
dPerla: 1
#Biblioteczki:
dBiblio: 3
#Obsydian:
dObsy: 10
#Wegiel:
dWegiel: 12




#=====================================================#
# Wiadomosci po zniszczniu rudy ktora wypada ze stone #
#=====================================================#
# Z rudy zelaza:
rIron: &7Zelazo &3leci tylko ze stone.
# Z rudy zlota:
rGold: &6Zloto &3leci tylko ze stone.
# Z rudy diamentow:
rDiax: &bDiamenty &3leca tylko ze stone.
# Z rudy emeraldow:
rEmer: &aEmeraldy &3leca tylko ze stone.


#=================#
# Inne wiadomosci #
#=================#
mPerms: &3Nie masz pozwolen na ta komende


#=====================================================#
#                                                     #
#                                                     #
#                         Kod                         #
#                                                     #
#                                                     #
#=====================================================#


on mine of iron ore:
cancel event
set block to air
send "{@tag} {@rIron}"
on mine of gold ore:
cancel event
set block to air
send "{@tag} {@rGold}"
on mine of diamond ore:
cancel event
set block to air
send "{@tag} {@rDiax}"
on mine of emerald ore:
cancel event
set block to air
send "{@tag} {@rEmer}"
on mine of stone:
if player's gamemode is survival:
drop {@dExp} xp
execute console command "playsound random.pop %player%"
on mine stone:
if player's gamemode is survival:
if player's tool is pickaxe:
chance of {@dIron}%:
give 1 iron ingot to the player
send "{@tag} {@mIron}"
drop {@dExp} xp
chance of {@dGold}%:
give 1 gold ingot to the player
send "{@tag} {@mGold}"
drop {@dExp} xp
chance of {@dDiax}%:
give 1 diamond to the player
send "{@tag} {@mDiax}"
drop {@dExp} xp
chance of {@dEmer}%:
give 1 emerald to the player
send "{@tag} {@mEmer}"
drop {@dExp} xp
chance of {@dPerla}%:
give 1 ender pearl to the player
send "{@tag} {@mPerla}"
drop {@dExp} xp
chance of {@dBiblio}%:
give 1 bookshelf to the player
send "{@tag} {@mBiblio}"
drop {@dExp} xp
chance of {@dObsy}%:
give 1 obsidian to the player
send "{@tag} {@mObsy}"
drop {@dExp} xp
chance of {@dWegiel}%:
give 1 coal to the player
send "{@tag} {@mWegiel}"
DROP {@dExp} xp
on explode:
if entity is TNT:
loop blocks in radius 6:
if loop-block is iron ore:
set loop-block to air
if entity is TNT:
loop blocks in radius 6:
if loop-block is gold ore:
set loop-block to air
if entity is TNT:
loop blocks in radius 6:
if loop-block is diamond ore:
set loop-block to air
if entity is TNT:
loop blocks in radius 6:
if loop-block is emerald ore:
set loop-block to air




command /stone [<text>]:
trigger:
if arg 1 is not set:
if player has permission "stone.help":
execute player command "stone help"
if arg 1 is "help" or "pomoc":
if player has permission "stone.help":
if arg 1 is "drop":
if player has permission "stone.drop":
send "&c╔═══════ {@tag} &c═══════"
send "&c╠ &7Zelazo: &6{@dIron} &3procent"
send "&c╠ &6Zloto: &6{@dGold} &3procent"
send "&c╠ &bDiament: &6{@dDiax} &3procent"
send "&c╠ &aEmerald: &6{@dEmer} &3procent"
send "&c╠ &9Perla Kresu: &6{@dPerla} &3procent"
send "&c╠ &cBiblioteczka: &6{@dBiblio} &3procent"
send "&c╠ &3Obsydian: &6{@dObsy} &3procent"
send "&c╠ &0Wegiel: &6{@dWegiel} &3procent"
send "&c╚═══════════════════"
command /drop:
trigger:
execute player command "stone drop"
Opublikowano
options:
    czas: 5 #w minutach
every {@czas} minutes:
    execute console command "remove item 999999"
    broadcast "&8► &cItemy zostaly usuniete" 

wgraj ten skrypt i usuń plugin ClearLag

 

­

Uważam, że poziom mojej inteligencji nie przekracza poziomu inteligencji przeciętnego człowieka.

Opublikowano

@KillerThePro yyy 30 sekund? nie za mało? Będziesz miał spam, no chyba że usuniesz wiadomość ;P
zamień w skrypcie @JimForce

 

w wersie 3 (3 linijka od góry :P) minutes na seconds
no i tam gdzie czas będziesz mógl wpisać ile sekund zamiast minut

409.jpg?7190

|---> Z o s t a n ę <---|

 

Zostanę technikiem na twój serwer minecraft, zrobie cały serwer według twojego pomysłu!
http://www.mpcforum.pl/topic/1486254-zostanę-technikiem-stworzę-serwer-twojego-pomysłu/#entry12589185

Opublikowano
options:
    czas: 4 #w minutach
every {@czas} minutes:
    send "&8► &cZa minute wszystkie itemy z ziemi zostana usuniete"
    wait 1 minutes
    execute console command "remove item 999999"
    broadcast "&8► &cItemy zostaly usuniete"  

­

Uważam, że poziom mojej inteligencji nie przekracza poziomu inteligencji przeciętnego człowieka.

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...