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

[Szukam] Skryptu do dropu ze stone


langue

Rekomendowane odpowiedzi

Opublikowano


variables:

{diamond.%player%} = 0

{emerald.%player%} = 0

{zloto.%player%} = 0

{zelazo.%player%} = 0

{wegiel.%player%} = 0

{string.%player%} = 0

{redstone.%player%} = 0

{apple.%player%} = 0

{enderpearl.%player%} = 0

{tnt.%player%} = 0

{obsydian.%player%} = 0

{kamien.%player%} = 0

{exp.%player%} = 0

 

options:

ydiax: 20

procentdiax: 0.1

 

yemerald: 30

procentemerald: 1.0

 

yzloto: 30

procentzloto: 1.0

 

yzelazo: 40

procentzelazo: 2.0

 

ywegiel: 50

procentwegiel: 2.0

 

ystring: 20

procentstring: 0.5

 

yredstone: 20

procentredstone: 3.0

 

yapple: 20

procentapple: 0.3

 

yenderpearl: 10

procentenderpearl: 0.1

 

ytnt: 20

procenttnt: 1.0

 

yobsydian: 30

procentobsydian: 1.0

 

 

yvipdiax: 20

procentvipdiax: 2.0

 

yvipemerald: 20

procentvipemerald: 2.0

 

yvipzloto: 30

procentvipzloto: 2.0

 

yvipzelazo: 40

procentvipzelazo: 4.0

 

yvipwegiel: 50

procentvipwegiel: 4.0

 

yvipstring: 20

procentvipstring: 1.0

 

yvipredstone: 20

procentvipredstone: 4.0

 

yvipapple: 20

procentvipapple: 0.6

 

yvipenderpearl: 10

procentvipenderpearl: 0.2

 

yviptnt: 20

procentviptnt: 2.0

 

yvipobsydian: 30

procentvipobsydian: 4.0

 

skname: AsherTiviDrop

iloscxp: 10

szansaxp: 50%

#<--> Drop Gracza<-->#

on break of stone:

if player has permission "kondidrop.gracz":

chance of {@procentdiax}:

if block's y-coordinate is smaller than {@ydiax}:

drop diamond

add 1 to {diamond.%player%}

message "&6Trafiles na: &bDiament&6!"

 

chance of {@procentzloto}:

if block's y-coordinate is smaller than {@yzloto}:

drop gold

add 1 to {zloto.%player%}

message "&6Trafiles na: &eZloto&6!"

 

chance of {@procentemerald}:

if block's y-coordinate is smaller than {@yemerald}:

drop emerald

add 1 to {emerald.%player%}

message "&6Trafiles na: &2Emerald&6!"

 

chance of {@procentzelazo}:

if block's y-coordinate is smaller than {@yzelazo}:

drop iron

add 1 to {zelazo.%player%}

message "&6Trafiles na: &fZelazo&6!"

 

chance of {@procentwegiel}:

if block's y-coordinate is smaller than {@ywegiel}:

drop coal

add 1 to {wegiel.%player%}

message "&6Trafiles na: &0Wegiel&6!"

 

chance of {@procentstring}:

if block's y-coordinate is smaller than {@ystring}:

drop string

add 1 to {string.%player%}

message "&6Trafiles na: &fString&6!"

 

chance of {@procentredstone}:

if block's y-coordinate is smaller than {@yredstone}:

drop redstone

add 1 to {redstone.%player%}

message "&6Trafiles na: &4Redstone&6!"

 

chance of {@procentapple}:

if block's y-coordinate is smaller than {@yapple}:

drop apple

add 1 to {apple.%player%}

message "&6Trafiles na: &cJablko&6!"

 

chance of {@procentobsydian}:

if block's y-coordinate is smaller than {@yobsydian}:

drop obsydian

add 1 to {obsydian.%player%}

message "&6Trafiles na: &aObsydian&6!"

#<--> Drop Vip(+) <-->#

on break of stone:

if player has permission "ashertividrop.vip":

chance of {@procentvipdiax}:

if block's y-coordinate is smaller than {@yvipdiax}:

drop diamond

add 2 to {diamond.%player%}

message "&6Trafiles na: &bDiament&6!"

 

chance of {@procentvipzloto}:

if block's y-coordinate is smaller than {@yvipzloto}:

drop gold

add 2 to {zloto.%player%}

message "&6Trafiles na: &eZloto&6!"

 

chance of {@procentvipemerald}:

if block's y-coordinate is smaller than {@yvipemerald}:

drop emerald

add 2 to {emerald.%player%}

message "&6Trafiles na: &2Emerald&6!"

 

chance of {@procentvipzelazo}:

if block's y-coordinate is smaller than {@yvipzelazo}:

drop iron

add 2 to {zelazo.%player%}

message "&6Trafiles na: &fZelazo&6!"

 

chance of {@procentvipwegiel}:

if block's y-coordinate is smaller than {@yvipwegiel}:

drop coal

add 2 to {wegiel.%player%}

message "&6Trafiles na: &0Wegiel&6!"

 

chance of {@procentvipstring}:

if block's y-coordinate is smaller than {@yvipstring}:

drop string

add 2 to {string.%player%}

message "&6Trafiles na: &fString&6!"

 

chance of {@procentvipredstone}:

if block's y-coordinate is smaller than {@yvipredstone}:

drop redstone

add 2 to {redstone.%player%}

message "&6Trafiles na: &4Redstone&6!"

 

chance of {@procentvipapple}:

if block's y-coordinate is smaller than {@yvipapple}:

drop apple

add 2 to {apple.%player%}

message "&6Trafiles na: &cJablko&6!"

 

chance of {@procentvipobsydian}:

if block's y-coordinate is smaller than {@yvipobsydian}:

drop obsydian

add 2 to {obsydian.%player%}

message "&6Trafiles na: &aObsydian&6!"

 

on mine of stone:

chance of {@szansaxp}

add {@iloscxp} xp to player

add {@iloscxp} to {exp.%player%}

command /exp:

permission: exp.use

trigger:

send "&b[&c============== &7AsherTiviDrop &c==============&b]"

send "&aWykopany EXP: &7%{exp.%player%}%"

send "&b[&c============== &7AsherTiviDrop &c==============&b]"

command /seprzeladuj:

permission: se.przeladuj

trigger:

execute console command "sk reload {@skname}"

send "&aPomyslnie przeladowales skrypt!"

 

#<--> Blokada Dropu z rud <-->#

on mine of any ore:

cancel event

delete block

send "&e&o >> &9Drop z Rud jest zablokowany! &lAby dowiedziec sie wiecej na temat dropu wpisz &a/stone"

stop

#<--> Komendy <-->#

command /stone:

alliases: kamien, drop

description: Informacje o itemach ze stone'a

trigger:

send "&4<&6||&4>&8============= &6&l<< &7Drop &6&l>> &8=============&4<&6||&4>"

send "&e&o >> &2Diament: &76.0 Od Poziomu 20"

send "&e&o >> &2Szmaragd: &74.0 Od Poziomu 20"

send "&e&o >> &2Zloto: &78.0 Od Poziomu 30"

send "&e&o >> &2Zelazo: &79.0 Od Poziomu 40"

send "&e&o >> &2Redstone: &77.0 Od Poziomu 20"

send "&e&o >> &2Wegiel: &75.0 Od Poziomu 50"

send "&e&o >> &2Perla Endermana: &70.1 Od Poziomu 10"

send "&e&o >> &2TNT: &71.0 Od Poziomu 20"

send "&e&o >> &2Jablko: &70.3 Od Poziomu 20"

send "&e&o >> &2Obsidian: &74.0 Od Poziomu 30"

send "&e&o >> &6VIP &ci &6SVIP &cPosiadaja Drop x2

send "&4<&6||&4>&8======================================&4<&6||&4>"

command /dropautor:

alliases: dautor, autor

description: Informacje o itemach ze stone'a

trigger:

send "&4<&6||&4>&8============= &6&l<< &7Drop Autor &6&l>> &8=============&4<&6||&4>"

send "&e&oAutorem Skryptu jest AsherTivi."

send "&e&oNie wolno ci usuwac tej komendy."

send "&e&oNie wolno ci podszywac sie pod autora!"

send "&4<&6||&4>&8============= &6&l<< &7Drop Autor &6&l>> &8=============&4<&6||&4>"

 

 

26_unnamed.png

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...