Cześć, przychodzę do was z prostym, acz użytecznym skryptem na ustawienie spawna. Temat ma na celu zebranie od użytkowników forum propozycji na kody skryptów, jakie będę tu zamieszczać. Z góry dzięki za wszelkie propozycje, postaram się zrealizować wszystkie możliwe do wykonania. Poniżej zostawiam wam download.
Jest to prosty skrypt na pomoc w GUI ksiazki
Jak to wyglada?
http://prntscr.com/o58t7w
command /pomoc:
trigger:
set {_book} to a new book
set {_component} to a new text component with "&8★ &6Pomoc &8(&71/2&8)"
set {_component2} to a new text component with "%nl%&8➤ &6/Drop"
add hover event with action SHOW_TEXT with text "&8» &7Informacje o dropach serwerowych" to text component {_component2}
add click event with action RUN_COMMAND with execute "/drop" to text component {_component2}
set {_component3} to a new text component with "%nl%&8➤ &6/VIP"
add hover event with action SHOW_TEXT with text "&8» &7Informacje o &6VIP" to text component {_component3}
add click event with action RUN_COMMAND with execute "/vip" to text component {_component3}
set {_component4} to a new text component with "%nl%&8➤ &6/SVIP"
add hover event with action SHOW_TEXT with text "&8» &7Informacje o &5SVIP" to text component {_component4}
add click event with action RUN_COMMAND with execute "/svip" to text component {_component4}
set {_component5} to a new text component with "%nl%&8➤ &6/YT"
add hover event with action SHOW_TEXT with text "&8» &7Informacje o &4Y&FT" to text component {_component5}
add click event with action RUN_COMMAND with execute "/svip" to text component {_component5}
set {_component6} to a new text component with "%nl%&8➤ &6/Media"
add hover event with action SHOW_TEXT with text "&8» &7Media serwera" to text component {_component6}
add click event with action RUN_COMMAND with execute "/media" to text component {_component6}
set {_component7} to a new text component with "%nl%&8➤ &6/Itemy"
add hover event with action SHOW_TEXT with text "&8» &7Itemy na gildie" to text component {_component7}
add click event with action RUN_COMMAND with execute "/itemy" to text component {_component7}
set {_component8} to a new text component with "%nl%&8➤ &6/Craftingi"
add hover event with action SHOW_TEXT with text "&8» &7Informacje o craftingach" to text component {_component8}
add click event with action RUN_COMMAND with execute "/craftingi" to text component {_component8}
set {_component9} to a new text component with "%nl%&8➤ &6/Gildia"
add hover event with action SHOW_TEXT with text "&8» &7Informacje o gildiach" to text component {_component9}
add click event with action RUN_COMMAND with execute "/g" to text component {_component9}
set {_component10} to a new text component with "%nl%&8➤ &6/Sklep"
add hover event with action SHOW_TEXT with text "&8» &7Sklep oraz skup przedmiotow" to text component {_component10}
add click event with action RUN_COMMAND with execute "/sklep" to text component {_component10}
set {_component11} to a new text component with "%nl%&8➤ &6/Efekt"
add hover event with action SHOW_TEXT with text "&8» &7Efekty dla gracza oraz gildi" to text component {_component11}
add click event with action RUN_COMMAND with execute "/efekt" to text component {_component11}
set {_component12} to a new text component with "%nl%&8➤ &6/Resetujranking"
add hover event with action SHOW_TEXT with text "&8» &7Resetuje twoje punkty rankingowe" to text component {_component12}
add click event with action RUN_COMMAND with execute "/resetujranking" to text component {_component12}
set {_component13} to a new text component with "%nl%&8➤ &6/Schowek"
add hover event with action SHOW_TEXT with text "&8» &7Schowek na koxy, refile oraz perly" to text component {_component13}
add click event with action RUN_COMMAND with execute "/schowek" to text component {_component13}
set {_component14} to a new text component with "%nl% &8★ &6Nastepna strona &8★"
add hover event with action SHOW_TEXT with text "&8» &7Kliknij aby otworzyc nastepna strone" to text component {_component14}
add click event with action RUN_COMMAND with execute "/pomoc2" to text component {_component14}
add text component {_component} and {_component2} and {_component3} and {_component4} and {_component5} and {_component6} and {_component7} and {_component8} and {_component9} and {_component10} and {_component11} and {_component12} and {_component13} and {_component14} to book {_book}
open book {_book} to player
command /pomoc2:
trigger:
set {__book} to a new book
set {_component} to a new text component with "&8★ &6Pomoc &8(&72/2&8)"
set {_component2} to a new text component with "%nl%&8➤ &6/Kosz"
add hover event with action SHOW_TEXT with text "&8» &7Kosz na niepotrzebne przedmioty" to text component {_component2}
add click event with action RUN_COMMAND with execute "/kosz" to text component {_component2}
set {_component3} to a new text component with "%nl%&8➤ &6/Otchlan"
add hover event with action SHOW_TEXT with text "&8» &7GUI na usuniete z ziemi przedmioty" to text component {_component3}
add click event with action RUN_COMMAND with execute "/otchlan" to text component {_component3}
set {_component4} to a new text component with "%nl%&8➤ &6/Gracz"
add hover event with action SHOW_TEXT with text "&8» &7Informacje o graczu" to text component {_component4}
add click event with action RUN_COMMAND with execute "/gracz" to text component {_component4}
set {_component5} to a new text component with "%nl%&8➤ &6/Helpop"
add hover event with action SHOW_TEXT with text "&8» &7Kontakt z administracja" to text component {_component5}
add click event with action RUN_COMMAND with execute "/helpop" to text component {_component5}
set {_component6} to a new text component with "%nl% &8★ &6Poprzednia strona &8★"
add hover event with action SHOW_TEXT with text "&8» &7Kliknij aby otworzyc poprzednia strone" to text component {_component6}
add click event with action RUN_COMMAND with execute "/pomoc" to text component {_component6}
add text component {_component} and {_component2} and {_component3} and {_component4} and {_component5} and {_component6} to book {__book}
open book {__book} to player
Skrypt nie jest jakims wynalazkiem, ma sluzyc jedynie jako przyklad
Wymagania:
Skript 2.2
Skellet
WildSkript
SkQuery
command /test [<text>]:
trigger:
open chest with 1 rows named "Test" to player
wait a tick
set {_zbroja} to leather tunic
dye {_zbroja} (0, 0, 0)
set player's current inventory's slot 0 to {_zbroja}
Lub:
command /test [<text>]:
trigger:
open chest with 1 rows named "Test" to player
wait a tick
set {_zbroja} to leather tunic
set player's current inventory's slot 0 to {_zbroja}
dye player's current inventory's slot 0 (0, 0, 0)
Już kiedyś coś takiego widziałem na zagranicznym forum, ale w Polsce jest to nowość. Tylko czekać aż 50000 serwerów będzie mówiło, że to ich autorskie.