Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- if yaml value "txt.przypomnienie" from file "zmienne/%player's uuid%.yml" is not set:
- set yaml value "txt.przypomnienie" from file "zmienne/%uuid of player%.yml" to true
- command txt [<text>] [<text>]:
- aliases: texturepack, texturka
- trigger:
- if arg 1 is not set:
- set {_on} to yaml value "txt.przypomnienie" from file "zmienne/%player's uuid%.yml"
- wait 2 ticks
- open chest with 3 rows named "&9» &0TXT" to player
- wait 2 tick
- if inventory name of current inventory of player is "&9» &0TXT":
- loop 27 times:
- format slot loop-number - 1 of player with 1 gray glass pane named " " to be unstealable
- format slot 10 of player with 1 of locked chest:14 named "&9➣ &rWersja 1.7.2 - 1.7.10 &4(BRAK)" with lore " &9&l➠&8Kliknij, aby wybrac te wersje" to close then run [execute player command "txt wersja 1.7.2-1.7.10"]
- format slot 11 of player with 1 of locked chest:4 named "&9➣ &rWersja 1.8 - 1.9.4 &e(OPCJONALNA)" with lore " &9&l➠&8Kliknij, aby wybrac te wersje" to close then run [execute player command "txt wersja 1.8-1.9.4"]
- format slot 12 of player with 1 of locked chest:13 named "&9➣ &rWersja 1.9.5 - 1.10.2 &2(ZALECANA)" with lore " &9&l➠&8Kliknij, aby wybrac te wersje" to close then run [execute player command "txt wersja 1.9.5-1.10.2"]
- format slot 13 of player with 1 of locked chest:1 named "&9➣ &rLinki" with lore " &9&l➠&8Kliknij, aby wyswietlic linki do txt" to close then run [execute player command "txt linki"]
- if {_on} is true:
- format slot 16 of player with 1 of paper named "&9➣ &cWylacz &rautomatyczne przepomnienie o txt" with lore " &9&l➠&8Kliknij, aby wylaczyc automatyczne przepominanie o txt" to run [execute player command "txt off"]
- else:
- format slot 16 of player with 1 of paper named "&9➣ &aWlacz &rautomatyczne przepomnienie o txt" with lore " &9&l➠&8Kliknij, aby wlacz automatyczne przypominanie o txt" to run [execute player command "txt on"]
- if arg 1 is "wersja":
- if arg 2 is "1.7.2-1.7.10":
- send "&f&lMC&c&lPL &9» &8Wersja nie jest wspierana. Wybierz nowsze wersje!"
- if arg 2 is "1.8-1.9.4":
- send "&f&lMC&c&lPL &9» &8Trwa ladowanie pliku z txt.."
- wait 2 seconds
- execute console command "frp send %player% stara"
- if arg 2 is "1.9.5-1.10.2":
- send "&f&lMC&c&lPL &9» &8Trwa ladowanie pliku z txt.."
- wait 2 seconds
- execute console command "frp send %player% nowa"
- if arg 1 is "linki":
- send " "
- send "&6» &bWersja &a1.7-1.7.10"
- send " &eâ–ş Ta wersja nie jest wspierana."
- send "&6» &bWersja &a1.8-1.9.4"
- send " &eâ–ş wpisac.."
- send "&6» &bWersja &61.9.4-1.10.2"
- send " &eâ–ş wpisac.."
- if arg 1 is "on":
- set yaml value "txt.przypomnienie" from file "zmienne/%uuid of player%.yml" to true
- send "&f&lMC&c&lPL &9» &aWlaczyles &8automatyczne przypominanie o txt"
- if arg 1 is "off":
- set yaml value "txt.przypomnienie" from file "zmienne/%uuid of player%.yml" to true
- send "&f&lMC&c&lPL &9» &cWylaczyles &8automatyczne przypominanie o txt"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement