Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #==============================================#
- #=-=-=-=-=-=-=-=-= StartItems =-=-=-=-=-=-=-=-=#
- # Version: 0.1 #
- # Author: AvaterysPL #
- #==============================================#
- on skript start:
- wait 5 seconds
- send "&9|| &2========================================== &9||" to console
- send "&9|| &cStartItems &azostal zaladowany!" to console
- send "&9|| &cAuthor: &aAvaterysPL" to console
- send "&9|| &cVersion: &a0.1" to console
- send "&9|| &2========================================== &9||" to console
- options:
- #========== NAZWA SKRYPTU ========#
- skname: StartItems
- #============= ITEM 1 ============#
- ilosc1: 2 #Ilosc itemu.
- item1: stone #Typ itemu.
- nazwa1: &aKamien #Nazwa itemu.
- #============= ITEM 2 ============#
- ilosc2: 2 #Ilosc itemu.
- item2: stone #Typ itemu.
- nazwa2: &aKamien #Nazwa itemu.
- #============= ITEM 3 ============#
- ilosc3: 2 #Ilosc itemu.
- item3: stone #Typ itemu.
- nazwa3: &aKamien #Nazwa itemu.
- #============= ITEM 4 ============#
- ilosc4: 2 #Ilosc itemu.
- item4: stone #Typ itemu.
- nazwa4: &aKamien #Nazwa itemu.
- #============= ITEM 5 ============#
- ilosc5: 2 #Ilosc itemu.
- item5: stone #Typ itemu.
- nazwa5: &aKamien #Nazwa itemu.
- #============== KOD ==============#
- on first join:
- add {@ilosc1} {@item1} named "{@nazwa1}" to player
- add {@ilosc2} {@item2} named "{@nazwa2}" to player
- add {@ilosc3} {@item3} named "{@nazwa3}" to player
- add {@ilosc4} {@item4} named "{@nazwa4}" to player
- add {@ilosc5} {@item5} named "{@nazwa5}" to player
- command /startitems:
- permission: si.use
- trigger:
- send "&b[&c============== &7STARTOWE ITEMY &c==============&b]"
- send "&c* &7Przedmiot 1: &7{@item1}"
- send "&c* &7Przedmiot 2: &7{@item2}"
- send "&c* &7Przedmiot 3: &7{@item3}"
- send "&c* &7Przedmiot 4: &7{@item4}"
- send "&c* &7Przedmiot 5: &7{@item5}"
- send "&c============================================"
- command /siprzeladuj:
- permission: si.przeladuj
- trigger:
- send "&aPomyslnie przeladowales skrypt!"
- execute console command "sk reload {@skname}"
Advertisement
Add Comment
Please, Sign In to add comment