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] Jak dodać drop itemów do ekwipunka ?


MCSH

Rekomendowane odpowiedzi

Opublikowano

Siemanko wziołem się do napisania skryptu na drop z poziomem na chat :) <tak jak na mchc> 
I nie wiem jak dodać żeby itemy nie wypadały tylko wlatywały do ekwpiunka i żeby kilof się niszczył , bo jak czytałem to trzeba coś dodać jak się doda żeby do ekwipunka wlatywały.

Proszę o szybką odpowiedz !

 

O to ten skrypt

Zastrzegam kopiowania skryptu  !


variables:

{drop.%player%.punkty} = 0
{drop.%player%.lvl} = 1
{diamond.%player%} = 0
{emerald.%player%} = 0
{zelazo.%player%} = 0
{zloto.%player%} = 0
{lapis.%player%} = 0
{redstone.%player%} = 0
{wegiel.%player%} = 0
{kamien.%player%} = 0
#===========================================================================================================
#Opcie
#===========================================================================================================
options:
heightdiax: 25
procentdiax: 0.7
heightemerald: 25
procentemerald: 0.6
heightzloto: 50
procentzloto: 1.3
procentzelazo: 2.1
heightredstone: 25
procentredstone: 1.0
heightwegiel: 200
procentwegiel: 1.2
heightlapis: 25
procentlapis: 0.7
                              # D R O P  #
on break of stone:
player has permissions "nodrop.gracz":
  chance of {@procentdiax}%:
   if block's y-coordinate is smaller than {@heightdiax}:
    drop diamond
    add 1 to {diamond.%player%}
    add 3 to {drop.%player%.punkty}
    message "&6Trafiles na: &bDiament &7+3 pkt"
    execute console command "/playsound random.successful_hit %player%"
  chance of {@procentzloto}%:
   if block's y-coordinate is smaller than {@heightzloto}:
    drop gold ore
    add 1 to {drop.%player%.punkty}
    add 1 to {zloto.%player%}
    message "&6Trafiles na: &eZloto &7+1 pkt"
    execute console command "/playsound random.successful_hit %player%"
  chance of {@procentzelazo}%:
   drop iron ore
   add 1 to {drop.%player%.punkty}
   add 1 to {zelazo.%player%}
   message "&6Trafiles na: &8Zelazo &7+1 pkt"
   execute console command "/playsound random.successful_hit %player%"
  chance of {@procentemerald}%:
   if block's y-coordinate is smaller than {@heightemerald}:
    drop emerald
    add 2 to {drop.%player%.punkty}
    add 1 to {emerald.%player%}
    message "&6Trafiles na: &2Emerald &7+2 pkt"
    execute console command "/playsound random.successful_hit %player%"
  chance of {@procentredstone}%:
   if block's y-coordinate is smaller than {@heightredstone}:
    drop 3 redstone
    add 2 to {drop.%player%.punkty}
    add 3 to {redstone.%player%}
    message "&6Trafiles na: &cRedstone [3] &7+2 pkt"
    execute console command "/playsound random.successful_hit %player%"
player has permissions "nodrop.gracz":
  if player's tool is a diamond pickaxe of fortune 1:
   chance of {@procentdiax}%:
    if block's y-coordinate is smaller than {@heightdiax}:
     chance of 50%:
      drop 2 diamond
      add 2 to {diamond.%player%}
      add 4 to {drop.%player%.punkty}
      message "&6Trafiles na: &bDiamenty [2] &7+4 pkt"
      execute console command "/playsound random.successful_hit %player%"
     else:
      add 3 to {drop.%player%.punkty}
      add 3 to {diamond.%player%}
      message "&6Trafiles na: &bDiament &7+2 pkt"
      drop diamond
      execute console command "/playsound random.successful_hit %player%"
   chance of {@procentzloto}%:
    if block's y-coordinate is smaller than {@heightzloto}:
     chance of 50%:
      drop 2 gold ingot
      add 2 to {zloto.%player%}
      add 2 to {drop.%player%.punkty}
      message "&6Trafiles na: &eZloto [2] &7+2 pkt"
      execute console command "/playsound random.successful_hit %player%"
     else:
      drop gold ingot
      add 1 to {zloto.%player%}
      add 1 to {drop.%player%.punkty}
      message "&6Trafiles na: &eZloto &7+2 pkt"
      execute console command "/playsound random.successful_hit %player%"
   chance of {@procentzelazo}%:
    chance of 50%:
     drop 2 iron ingot
     add 2 to {zelazo.%player%}
     add 2 to {drop.%player%.punkty}
     message "&6Trafiles na: &8Zelazo [2] &7+2 pkt"
     execute console command "/playsound random.successful_hit %player%"
    else:
     drop iron ingot
     add 1 to {zelazo.%player%}
     add 1 to {drop.%player%.punkty}
     message "&6Trafiles na: &8Zelazo &7+1 pkt"
     execute console command "/playsound random.successful_hit %player%"
   chance of {@procentemerald}%:
    if block's y-coordinate is smaller than {@heightemerald}:
     chance of 50%:
      drop 2 emerald
      add 2 to {emerald.%player%}
      add 3 to {drop.%player%.punkty}
      message "&6Trafiles na: &2Emeraldy [2] &7+3 pkt"
      execute console command "/playsound random.successful_hit %player%"
     else:
      drop emerald
      add 1 to {emerald.%player%}
      add 2 to {drop.%player%.punkty}
      message "&6Trafiles na: &2Emerald &7+2 pkt"
      execute console command "/playsound random.successful_hit %player%"
player has permissions "nodrop.gracz":
  if tool of player is a 278 of fortune 2:
   chance of {@procentdiax}%:
    if block's y-coordinate is smaller than {@heightdiax}:
     chance of 33%:
      drop 3 diamond
      add 3 to {diamond.%player%}
      add 5 to {drop.%player%.punkty}
      message "&6Trafiles na: &bDiamenty [3] &7+5 pkt"
      execute console command "/playsound random.successful_hit %player%"
     else:
      chance of 33%:
       message "&6Trafiles na: &bDiamenty [2] &7+4 pkt"
       add 4 to {drop.%player%.punkty}
       add 2 to {diamond.%player%}
       drop 2 diamond
       execute console command "/playsound random.successful_hit %player%"
      else:
       chance of 33%:
        message "&6Trafiles na: &bDiament &7+3 pkt"
        add 3 to {drop.%player%.punkty}
        add 1 to {diamond.%player%}
        drop diamond
        execute console command "/playsound random.successful_hit %player%"
   chance of {@procentzloto}%:
    if block's y-coordinate is smaller than {@heightzloto}:
     chance of 33%:
      drop 3 gold ingot
      add 3 to {drop.%player%.punkty}
      add 3 to {zloto.%player%}
      message "&6Trafiles na: &6Zloto [3] &7+3 pkt"
      execute console command "/playsound random.successful_hit %player%"
     else:
      chance of 33%:
       drop 2 gold ingot
       add 2 to {drop.%player%.punkty}
       add 2 to {zloto.%player%}
       message "&6Trafiles na: &6Zloto [2] &7+2 pkt"
       execute console command "/playsound random.successful_hit %player%"
      else:
       chance of 33%:
        message "&6Trafiles na: &6Zloto &7+1 pkt"
        add 1 to {drop.%player%.punkty}
        add 1 to {zloto.%player%}
        drop gold ingot
        execute console command "/playsound random.successful_hit %player%"
   chance of {@procentzelazo}%:
    chance of 33%:
     message "&6Trafiles na: &8Zelazo [3] &7+3 pkt"
     add 3 to {drop.%player%.punkty}
     drop 3 iron ingot
     add 3 to {zelazo.%player%}
     execute console command "/playsound random.successful_hit %player%"
    else:
     chance of 33%:
      drop 2 iron ingot
      add 2 to {drop.%player%.punkty}
      add 2 to {zelazo.%player%}
      message "&6Trafiles na: &8Zelazo [2] &7+2 pkt"
      execute console command "/playsound random.successful_hit %player%"
     else:
      chance of 33%:
       message "&6Trafiles na: &8Zelazo &7+1 pkt"
       drop iron ingot
       add 1 to {zelazo.%player%}
       add 1 to {drop.%player%.punkty}
       execute console command "/playsound random.successful_hit %player%"
   chance of {@procentemerald}%:
    if block's y-coordinate is smaller than {@heightemerald}:
     chance of 33%:
      drop 3 emerald
      add 4 to {drop.%player%.punkty}
      add 3 to {emerald.%player%}
      message "&6Trafiles na: &2Emerald [3] &7+4 pkt"
      execute console command "/playsound random.successful_hit %player%"
     else:
      chance of 33%:
       message "&6Trafiles na: &2Emerald [2] &7+3 pkt"
       drop 2 emerald
       add 2 to {emerald.%player%}
       add 3 to {drop.%player%.punkty}
       execute console command "/playsound random.successful_hit %player%"
      else:
       chance of 33%:
        message "&6Trafiles na: &2Emerald &7+2 pkt"
        drop emerald
        add 2 to {drop.%player%.punkty}
        add 1 to {emerald.%player%}
        execute console command "/playsound random.successful_hit %player%"
player has permissions "nodrop.gracz":
  if tool of player is a 278 of fortune 3:
   chance of {@procentdiax}%:
    if block's y-coordinate is smaller than {@heightdiax}:
     chance of 25%:
      message "&6Trafiles na: &2Diamenty [3] &7+5 pkt"
      add 5 to {drop.%player%.punkty}
      drop 3 diamond
      add 3 to {diamond.%player%}
      execute console command "/playsound random.successful_hit %player%"
     else:
      chance of 25%:
       message "&6Trafiles na: &2Diamenty [2] &7+4 pkt"
       add 4 to {drop.%player%.punkty}
       drop 2 diamond
       add 2 to {diamond.%player%}
       execute console command "/playsound random.successful_hit %player%"
      else:
       chance of 25%:
        message "&6Trafiles na: &2Diamenty &7+3 pkt"
        add 3 to {drop.%player%.punkty}
        add 1 to {diamond.%player%}
        drop diamond
         execute console command "/playsound random.successful_hit %player%"
   chance of {@procentzloto}%:
    if block's y-coordinate is smaller than {@heightzloto}:
     chance of 25%:
      drop 3 gold ingot
      add 3 to {drop.%player%.punkty}
      add 3 to {zloto.%player%}
      message "&6Trafiles na: &eZloto [3] &7+3 pkt"
      execute console command "/playsound random.successful_hit %player%"
     else:
      chance of 25%:
       drop 2 gold ingot
       add 2 to {drop.%player%.punkty}
       add 2 to {zloto.%player%}
       message "&6Trafiles na: &eZloto [2] &7+2 pkt"
       execute console command "/playsound random.successful_hit %player%"
      else:
       chance of 25%:
        drop gold ingot
        add 1 to {drop.%player%.punkty}
        add 1 to {zloto.%player%}
        message "&6Trafiles na: &eZloto &7+1 pkt"
        execute console command "/playsound random.successful_hit %player%"
   chance of {@procentzelazo}%:
    if block's y-coordinate is smaller than {@heightzelazo}:
     chance of 25%:
      drop 3 iron ingot
      add 3 to {drop.%player%.punkty}
      add 3 to {zloto.%player%}
      message "&6Trafiles na: &8Zelazo [3] &7+3 pkt"
      execute console command "/playsound random.successful_hit %player%"
     else:
      chance of 25%:
       drop 2 iron ingot
       add 2 to {drop.%player%.punkty}
       add 2 to {zloto.%player%}
       message "&6Trafiles na: &8Zelazo [2] &7+2 pkt"
       execute console command "/playsound random.successful_hit %player%"
      else:
       chance of 25%:
        drop iron ingot
        add 2 to {drop.%player%.punkty}
        add 1 to {zloto.%player%}
        message "&6Trafiles na: &8Zelazo &7+1 pkt"
        execute console command "/playsound random.successful_hit %player%"
   chance of {@procentemerald} + 0.3%:
    if block's y-coordinate is smaller than {@heightemerald}:
     chance of 25%:
      add 1 emerald to the player
      add 4 to {drop.%player%.punkty}
      add 3 to {emerald.%player%}
      message "&6Trafiles na: &2Emerald [3] &7+4 pkt"
      execute console command "/playsound random.successful_hit %player%"
     else:
      chance of 25%:
       add 1 emerald to the player
       add 3 to {drop.%player%.punkty}
       add 2 to {emerald.%player%}
       message "&6Trafiles na: &2Emeraldy [2] &7+3 pkt"
       execute console command "/playsound random.successful_hit %player%"
      else:
       chance of 25%:
        add 1 emerald to the player
        add 2 to {drop.%player%.punkty}
        add 1 to {emerald.%player%}
        message "&6Trafiles na: &2Emeraldy &7+2 pkt"
        execute console command "/playsound random.successful_hit %player%"
if {drop.%player%.lvl} is 1:
  If {drop.%player%.punkty} is greater than 15:
   set {drop.%player%.lvl} to 2
   drop 35 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   send "&6Awansowales na &22 &6poziom kopania!"
if {drop.%player%.lvl} is 2:
  If {drop.%player%.punkty} is greater than 50:
   broadcast "&6Gracz &2%player% &6awansowal na &23 &6poziom kopania&2!"
   send "&2Nagroda: &eDiamentowy Kilof"
   drop 1 278
   drop 45 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   set {drop.%player%.lvl} to 3
if {drop.%player%.lvl} is 3:
  If {drop.%player%.punkty} is greater than 125:
   send "&6Awansowales na &24 &6poziom kopania!"
   drop 55 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   set {drop.%player%.lvl} to 4
if {drop.%player%.lvl} is 4:
  If {drop.%player%.punkty} is greater than 250:
   send "&6Awansowales na &25 &6poziom kopania!"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   drop 65 xp
   set {drop.%player%.lvl} to 5
if {drop.%player%.lvl} is 5:
  If {drop.%player%.punkty} is greater than 450:
   send "&6Awansowales na &26 &6poziom kopania!"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   drop 75 xp
   broadcast "&6Gracz &2%player% &6awansowal na &26 &6poziom kopania&2!"
   send "&2Nagroda: &eDiamentowy Kilof z wydajnoscia 3!"
   drop 1 278 of efficiency 3
   set {drop.%player%.lvl} to 6
if {drop.%player%.lvl} is 6:
  If {drop.%player%.punkty} is greater than 650:
   send "&6Awansowales na &27 &6poziom kopania!"
   drop 85 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   set {drop.%player%.lvl} to 7
if {drop.%player%.lvl} is 7:
  If {drop.%player%.punkty} is greater than 800:
   send "&6Awansowales na &28 &6poziom kopania!"
   drop 95 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   set {drop.%player%.lvl} to 8
if {drop.%player%.lvl} is 8:
  If {drop.%player%.punkty} is greater than 1050:
   broadcast "&6Gracz &2%player% &6awansowal na &29 &6poziom kopania&2!"
   send "&6Awansowales na &29 &6poziom kopania!"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"  
   drop 105 xp
   send "&2Nagroda: &eDiamentowy Kilof z wydajnoscia 4 i szczesciem 2!"
   drop 1 278 of efficiency 4 and fortune 2
   set {drop.%player%.lvl} to 9
if {drop.%player%.lvl} is 9:
  If {drop.%player%.punkty} is greater than 1250:
   send "&6Awansowales na &210 &6poziom kopania!"
   drop 1 278 of fortune 1
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   drop 115 xp
   set {drop.%player%.lvl} to 10
if {drop.%player%.lvl} is 10:
  If {drop.%player%.punkty} is greater than 1500:
   drop 125 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   send "&6Awansowales na &211 &6poziom kopania!"
   set {drop.%player%.lvl} to 11
if {drop.%player%.lvl} is 11:
  If {drop.%player%.punkty} is greater than 1650:
   set {drop.%player%.lvl} to 12
   drop 135 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   broadcast "&6Gracz &2%player% &6awansowal na &212 &6poziom kopania&2!"
   send "&6Awansowales na &212 &6poziom kopania!"
   send "&2Nagroda: &eDiamentowy Kilof z wydajnoscia 4 i szczesciem 3!"
   drop 1 278 of efficiency 4 and fortune 3
if {drop.%player%.lvl} is 12:
  If {drop.%player%.punkty} is greater than 1800:
   send "&6Awansowales na &213 &6poziom kopania!"
   drop 145 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   set {drop.%player%.lvl} to 13
if {drop.%player%.lvl} is 13:
  If {drop.%player%.punkty} is greater than 2100:
   send "&6Awansowales na &214 &6poziom kopania!"
   drop 155 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   set {drop.%player%.lvl} to 14
if {drop.%player%.lvl} is 14:
  If {drop.%player%.punkty} is greater than 2200:
   send "&6Awansowales na &215 &6poziom kopania!"
   broadcast "&6Gracz &2%player% &6awansowal na &215 &6poziom kopania&2!"
   drop 165 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   send "&6Gracz &2%player% &6awansowal na &215 &6poziom kopania&2!"
   send "&6Awansowales na &215 &6poziom kopania!"
   send "&2Nagroda: &eDiamentowy Kilof z wydajnoscia 5 i szczesciem 3!"
   drop 1 278 of efficiency 5 and fortune 3
   set {drop.%player%.lvl} to 15
if {drop.%player%.lvl} is 15:
  If {drop.%player%.punkty} is greater than 2500:
   send "&6Awansowales na &216 &6poziom kopania!"
   drop 175 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   set {drop.%player%.lvl} to 16
if {drop.%player%.lvl} is 16:
  If {drop.%player%.punkty} is greater than 2800:
   send "&6Awansowales na &217 &6poziom kopania!"
   drop 185 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   set {drop.%player%.lvl} to 17
if {drop.%player%.lvl} is 17:
  If {drop.%player%.punkty} is greater than 3000:
   drop 195 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   set {drop.%player%.lvl} to 18
   broadcast "&6Gracz &2%player% &6awansowal na &218 &6poziom kopania&2!"
   send "&6Awansowales na &218 &6poziom kopania!"
   send "&2Nagroda: &eDiamentowa Zbroja, buty ochrona 4!"
   drop 1 311 of protection 4
   drop 1 313 of protection 4
if {drop.%player%.lvl} is 18:
  If {drop.%player%.punkty} is greater than 3250:
   send "&6Awansowales na &219 &6poziom kopania!"
   drop 205 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   set {drop.%player%.lvl} to 19
if {drop.%player%.lvl} is 19:
  If {drop.%player%.punkty} is greater than 3500:
   send "&6Awansowales na &220 &6poziom kopania!"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   drop 215 xp
   set {drop.%player%.lvl} to 20
if {drop.%player%.lvl} is 20:
  If {drop.%player%.punkty} is greater than 3700:
   drop 225 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   set {drop.%player%.lvl} to 21
   broadcast "&6Gracz &2%player% &6awansowal na &221 &6poziom kopania&2!"
   send "&6Awansowales na &221 &6poziom kopania!"
   send "&2Nagroda: &eDiamentowa Zbroja, buty ochrona 4!"
   drop 1 312 of protection 4
   drop 1 310 of protection 4
if {drop.%player%.lvl} is 21:
  If {drop.%player%.punkty} is greater than 4000:
   set {drop.%player%.lvl} to 22
   drop 235 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   send "&6Awansowales na &222 &6poziom kopania!"
if {drop.%player%.lvl} is 22:
  If {drop.%player%.punkty} is greater than 4500:
   send "&6Awansowales na &223 &6poziom kopania!"
   drop 245 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   set {drop.%player%.lvl} to 23
if {drop.%player%.lvl} is 23:
  If {drop.%player%.punkty} is greater than 5000:
   drop 255 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   set {drop.%player%.lvl} to 24
   broadcast "&6Gracz &2%player% &6awansowal na &221 &6poziom kopania&2!"
   send "&6Awansowales na &221 &6poziom kopania!"
   send "&2Nagroda: &e2 KOXY!"
   drop 2 322:1
if {drop.%player%.lvl} is 24:
  If {drop.%player%.punkty} is greater than 5700:
   send "&6Awansowales na &225 &6poziom kopania!"
   drop 265 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   set {drop.%player%.lvl} to 25
if {drop.%player%.lvl} is 25:
  If {drop.%player%.punkty} is greater than 6400:
   send "&6Awansowales na &226 &6poziom kopania!"
   drop 275 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   set {drop.%player%.lvl} to 26
if {drop.%player%.lvl} is 26:
  If {drop.%player%.punkty} is greater than 7000:
   drop 285 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   set {drop.%player%.lvl} to 27
   broadcast "&6Gracz &2%player% &6awansowal na &227 &6poziom kopania&2!"
   send "&6Awansowales na &227 &6poziom kopania!"
   send "&2Nagroda: &e4 KOXY!"
   drop 4 322:1
if {drop.%player%.lvl} is 27:
  If {drop.%player%.punkty} is greater than 8000:
   send "&6Awansowales na &228 &6poziom kopania!"
   drop 295 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   set {drop.%player%.lvl} to 28
if {drop.%player%.lvl} is 28:
  If {drop.%player%.punkty} is greater than 9000:
   send "&6Awansowales na &229 &6poziom kopania!"
   drop 305 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   set {drop.%player%.lvl} to 29
if {drop.%player%.lvl} is 29:
  If {drop.%player%.punkty} is greater than 10000:
   drop 315 xp
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   execute console command "/playsound random.levelup %player%"
   set {drop.%player%.lvl} to 30
   broadcast "&6Gracz &2%player% &6awansowal na &230 [Max] &6poziom kopania&2!"
   send "&6Awansowales na &221 &6poziom kopania!"
# Z A M I A N A    R O D #
on mine 14:
cancel event
set block to stone
on mine 15:
cancel event
set block to stone
on mine 16:
cancel event
set block to stone
on mine 56:
cancel event
set block to stone
on mine 73:
cancel event
set block to stone
on mine 129:
cancel event
set block to stone
                              # K O M E N D A  /DAJPOZIOM #
command /dajpoziom:
trigger:
  if player has permission "nodrop.admin":
   set {drop.%player%.lvl} to 30
   set {drop.%player%.punkty} to 10001
   broadcast "&6Gracz &2%player% &6awansowal na &230 [Max] &6poziom kopania&2!"
   stop
               # K O M E N D A   /PUNKTY #
command /pkt:
trigger:
  if {drop.%player%.lvl} is 1:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&225&7, posiadasz &21 POZIOM&7."
  if {drop.%player%.lvl} is 2:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&250&7, posiadasz &22 POZIOM&7."
  if {drop.%player%.lvl} is 3:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2150&7, posiadasz &23 POZIOM&7."
  if {drop.%player%.lvl} is 4:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2250&7, posiadasz &24 POZIOM&7."
  if {drop.%player%.lvl} is 5:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2450&7, posiadasz &25 POZIOM&7."
  if {drop.%player%.lvl} is 6:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2650&7, posiadasz &26 POZIOM&7."
  if {drop.%player%.lvl} is 7:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&2800&7, posiadasz &27 POZIOM&7."
  if {drop.%player%.lvl} is 8:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21050&7, posiadasz &28 POZIOM&7."
  if {drop.%player%.lvl} is 9:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21250&7, posiadasz &29 POZIOM&7."
  if {drop.%player%.lvl} is 10:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21500&7, posiadasz &210 POZIOM&7."
  if {drop.%player%.lvl} is 11:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21650&7, posiadasz &211 POZIOM&7."
  if {drop.%player%.lvl} is 12:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&21800&7, posiadasz &212 POZIOM&7."
  if {drop.%player%.lvl} is 13:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&22100&7, posiadasz &213 POZIOM&7."
  if {drop.%player%.lvl} is 14:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&22200&7, posiadasz &214 POZIOM&7."
  if {drop.%player%.lvl} is 15:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&22500&7, posiadasz &215 POZIOM&7."
  if {drop.%player%.lvl} is 16:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&22800&7, posiadasz &216 POZIOM&7."
  if {drop.%player%.lvl} is 17:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&23000&7, posiadasz &217 POZIOM&7."
  if {drop.%player%.lvl} is 18:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&23250&7, posiadasz &218 POZIOM&7."
  if {drop.%player%.lvl} is 19:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&23500&7, posiadasz &219 POZIOM&7."
  if {drop.%player%.lvl} is 20:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&23700&7, posiadasz &220 POZIOM&7."
  if {drop.%player%.lvl} is 21:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&24000&7, posiadasz &221 POZIOM&7."
  if {drop.%player%.lvl} is 22:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&24500&7, posiadasz &222 POZIOM&7."
  if {drop.%player%.lvl} is 23:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&25000&7, posiadasz &223 POZIOM&7."
  if {drop.%player%.lvl} is 24:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&25700&7, posiadasz &224 POZIOM&7."
  if {drop.%player%.lvl} is 25:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&26400&7, posiadasz &225 POZIOM&7."
  if {drop.%player%.lvl} is 26:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&27000&7, posiadasz &226 POZIOM&7."
  if {drop.%player%.lvl} is 27:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&28000&7, posiadasz &227 POZIOM&7."
  if {drop.%player%.lvl} is 28:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&29000&7, posiadasz &228 POZIOM&7."
  if {drop.%player%.lvl} is 29:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7/&210000&7, posiadasz &229 POZIOM&7."
  if {drop.%player%.lvl} is 30:
   send "&7Twoja ilosc punktow to: &2%{drop.%player%.punkty}%&7, posiadasz &2MAKSYMALNY POZIOM"
on mine stone:
chance of 100%:
  drop 3 xp
  add 1 to {kamien.%player%}

 

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...