Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- # 9 Stacków = 567
- cobblestone: 567 cobblestone
- # Nie ruszac !
- cobblestonemax: 1142 cobblestone
- #Komendy
- command /csx [<text="help">] [<items>]:
- trigger:
- player has permission "csx.admin":
- argument 1 is not "help", "add" or "remove":
- send "&4blad:&cNiepoprawna komenda!."
- stop
- argument 1 is "help":
- send "&4 + CobbleStoneX + "
- send "&c /csx add [Ilosc] [Item] - Dodajesz item do list'y"
- send "&c /csx remove [Ilosc] [Item] - Usuwasz item z list'y"
- send "&c List'a:"
- send "&c%{cobbleloses::*}%"
- argument 1 is "add":
- argument 2 is not set:
- send "&4Blad:&cMusisz wpisac ilosc i nazwe przedmiotu!"
- stop
- argument 2 is set:
- add argument 2 to {cobbleloses::*}
- send "&aDodano [ %arg 2% ] do list'y"
- argument 1 is "remove":
- argument 2 is not set:
- send "&4Blad:&cMusisz wpisac ilosc i nazwe przedmiotu!"
- stop
- argument 2 is set:
- remove argument 2 from {cobbleloses::*}
- send "&aUsunieto [ %arg 2% ] z list'y"
- else:
- send "&4Blad:&cNie masz uprawnien!."
- send "&cSkript by *RadIoActiVe !."
- stop
- #Nowy crafting emerald'a
- on craft of emerald ore:
- player has {@cobblestone}:
- player has {@cobblestonemax}:
- send "&cMasz za duzo cobblestone w ekwipunku!" to player
- cancel event
- else:
- remove {@cobblestone} from player
- else:
- send "&cNie masz tylko cobblestone!" to player
- cancel event
- on place of emerald ore:
- cancel event
- on click holding a emerald ore:
- remove 1 emerald ore from the player
- give a random item of {cobbleloses::*} to player
- #Broadcast na temat skript'u !
- every 10 minutes:
- loop all players:
- loop-player is an op:
- stop loop
- send "&a&lSkript na CobbleStoneX stworzyny przez *RadioActive!" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment