Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Prefix: &6[Bank]
- Prefix1: &c[BankError]
- Variables:
- {Bank.Kasa::%player%} = 0
- on join:
- set {graczonline.%player%} to true
- set {dolaczenie.%player%} to true
- on quit:
- set {graczonline.%player%} to false
- command /bank <text>:
- aliases: b
- trigger:
- arg 1 is not set:
- execute player command "/bank pomoc"
- if arg is "pomoc":
- send "{@Prefix}&2 Twoja liczba talarow to: &3%{Bank.Kasa::%player%}%"
- send "&e By wymienic cobble na talary uzyj:"
- send "&c /bank dodaj"
- send "&e Informacje o nagrodach:"
- send "&c /nagrody"
- send "&e Autor: OldisPL"
- if arg is "dodaj":
- if player has 256 cobblestone:
- remove 256 cobblestone from player
- send "{@Prefix}&2Pomyslnie dokonano wymiany"
- add 1 to {Bank.Kasa::%player%}
- stop
- else:
- send "{@Prefix1}&c Brak odpowiedniej ilosci cobble"
- command /nagroda <text>:
- trigger:
- if arg is "helm":
- if {Bank.Kasa::%player%} is bigger than 20:
- remove 20 from {Bank.Kasa::%player%}
- give diamond helmet of protection 4 and unbreaking 3 to player
- send "{@Prefix}&2 Dokonales wymiany"
- stop
- else:
- send "{@Prefix1} &c Halo halo a Talarki gdzie?"
- if arg is "klata":
- if {Bank.Kasa::%player%} is bigger than 20:
- remove 20 from {Bank.Kasa::%player%}
- give diamond chestplate of protection 4 and unbreaking 3 to player
- send "{@Prefix}&2 Dokonales wymiany"
- stop
- else:
- send "{@Prefix1} &c Halo halo a Talarki gdzie?"
- if arg is "spodnie":
- if {Bank.Kasa::%player%} is bigger than 20:
- remove 20 from {Bank.Kasa::%player%}
- give diamond leggings of protection 4 and unbreaking 3 to player
- send "{@Prefix}&2 Dokonales wymiany"
- stop
- else:
- send "{@Prefix1} &c Halo halo a Talarki gdzie?"
- if arg is "buty":
- if {Bank.Kasa::%player%} is bigger than 20:
- remove 20 from {Bank.Kasa::%player%}
- give diamond boots of protection 4 and unbreaking 3 to player
- send "{@Prefix}&2 Dokonales wymiany"
- stop
- else:
- send "{@Prefix1} &c Halo halo a Talarki gdzie?"
- if arg is "kox":
- if {Bank.Kasa::%player%} is bigger than 50:
- remove 50 from {Bank.Kasa::%player%}
- give enchanted golden apple to player
- send "{@Prefix}&2 Dokonales wymiany"
- stop
- else:
- send "{@Prefix1} &c Halo halo a Talarki gdzie?"
- if arg is "kilof":
- if {Bank.Kasa::%player%} is bigger than 20:
- remove 20 from {Bank.Kasa::%player%}
- give diamond pickaxe of efficiency 4, fortune 3 and unbreaking 3 to player
- send "{@Prefix}&2 Dokonales wymiany"
- stop
- else:
- send "{@Prefix1} &c Halo halo a Talarki gdzie?"
Advertisement
Add Comment
Please, Sign In to add comment