Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # # # # # # # # # # # # # # # #
- # Script by PatisonPlayGames #
- # Name: FourSeasons #
- # Version: Beta 1.0 #
- # Skript: 2.0.2 /2.1 #
- # # # # # # # # # # # # # # # #
- #=============================================#
- # Licencja FourSeasons by PatisonPlayGames! #
- # + Nie zezwalam na: #
- # - Usuwanie tresci o autorze! #
- # - Udostepnaniu skryptu innym! #
- # - Podszywanie sie pod autora! #
- # - Uzywanie kodu skryptu w swoich skryptach! #
- # - Zarabianie na skrypcie! #
- # + Zezwalam na: #
- # - Dodawanie kodu na swoja potrzebe! #
- # - Modyfikowanie wiadomosci! #
- #=============================================#
- options:
- # # # # # # # # # # # # # # #
- # #
- # General Config #
- # #
- # # # # # # # # # # # # # # #
- # Tag wyświetlany przed wiadomościami skryptu:
- tag: &8[&6FourSeasons&8]
- #Komenda używana w skrypcie:
- komenda: seasons
- #Skróty do komendy wyżej:
- aliasy: fs, s, four
- #Nazwa pliku sk.Zanim wgrasz plik i zmieniles nazwe zmien ja takze tutaj i dopiero wgraj plik!:
- sk: FourSeasons
- # # # # # # # # # # # # # #
- # #
- # Permissions #
- # #
- # # # # # # # # # # # # # #
- # Wiadomośc przy braku uprawnienia:
- permission: &cNie masz uprawnien by używać tej komendy!
- # # # # # # # # # # # # # #
- # #
- # Temperature Config #
- # #
- # # # # # # # # # # # # # #
- # Max. temperatura w zimie:
- wintermax: 4
- # Min. temperatura w zimie:
- wintermin: -30
- # Max. temperatura w jesien:
- autumnmax: 10
- # Min. temperatura w jesien:
- autumnmin: -5
- # Max. temperatura w lecie:
- summermax: 40
- # Min. temperatura w lecie:
- summermin: 10
- #Max. temperatura w wiosne:
- springmax: 15
- #Min. temperatura w wiosne:
- springmin: 2
- # Script Code
- command /{@komenda} [<text>] [<text>]:
- aliases: {@aliasy}
- trigger:
- if arg 1 is not set:
- if player has permission "fourseason.help" or "fourseason.*":
- send "&8========{@tag}&8=========="
- send "&4 Admin Commands "
- send "&6/{@komenda} - &aPokazuje liste komend!"
- send "&6/{@komenda} temp - &aPokazuje aktualna temperature!"
- send "&6/{@komenda} score off - &awylacza scoreboarda!"
- send "&6/{@komenda} score on - &aWlacza scoreboarda!"
- send "&6/{@komenda} autor - &apokazuje autora skryptu!"
- send "&6/{@komenda} reload - &aPrzeladowywuje skrypt!"
- send "&8=========================="
- stop
- else:
- send "&8========{@tag}&8=========="
- send "&4 Player Commands "
- send "&6/{@komenda} - &aPokazuje liste komend!"
- send "&6/{@komenda} temp - &aPokazuje aktualna temperature!"
- send "&6/{@komenda} autor - &apokazuje autora skryptu!"
- send "&8=========================="
- stop
- if arg 1 is "help" or "pomoc":
- if player has permission "fourseason.help" or "fourseason.*":
- send "&8========{@tag}&8=========="
- send "&4 Admin Commands "
- send "&6/{@komenda} - &aPokazuje liste komend!"
- send "&6/{@komenda} temp - &aPokazuje aktualna temperature!"
- send "&6/{@komenda} score off - &awylacza scoreboarda!"
- send "&6/{@komenda} score on - &aWlacza scoreboarda!"
- send "&6/{@komenda} autor - &apokazuje autora skryptu!"
- send "&6/{@komenda} reload - &aPrzeladowywuje skrypt!"
- send "&8=========================="
- stop
- else:
- send "&8========{@tag}&8=========="
- send "&4 Player Commands "
- send "&6/{@komenda} - &aPokazuje liste komend!"
- send "&6/{@komenda} temp - &aPokazuje aktualna temperature!"
- send "&6/{@komenda} autor - &apokazuje autora skryptu!"
- send "&8=========================="
- stop
- if arg 1 is "autor":
- send "&7----------------------------------------------"
- send " &8Autor: &aPatisonPlayGames"
- send " &8Nazwa: &aFourSeason"
- send "&8 &8&nYou&4&nTube:&a &nwww.youtube.com/PatisonPlayGames"
- send "&7----------------------------------------------"
- stop
- if arg 1 is "temp" or "temperatura":
- send "{@tag} &aAktualna temperatura: &c%{season.temp}%"
- stop
- if arg 1 is "score":
- if arg 2 is "on":
- if player has permission "season.*" or "season.score.on":
- set {season.score} to true
- send "{@tag} &aWlaczano scoreboard!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- if arg 2 is "off":
- if player has permission "season.*" or "season.score.off":
- set {season.score} to false
- send "{@tag} &aWylaczano scoreboard!"
- loop all players:
- display board named "reset" to loop-player
- stop
- else:
- send "{@tag} {@permission}"
- stop
- if arg 1 is "reload" or "przeladuj":
- if player has permission "season.*" or "season.reload":
- execute console command "/sk reload {@sk}"
- send "{@tag} &aPrzeladowano!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- every 2 seconds:
- loop all players:
- if {season.score} is true:
- display board named "&6Season" to loop-player
- make score "&aTemp:&9" in board of loop-player to {season.temp}
- make score "&a%{season.s}%" in board of loop-player to {season.season}
- move display of loop-player to "sidebar"
- every minecraft day:
- add 1 to {season.days}
- if {season.days} is 30:
- add 1 to {season.month}
- set {season.days} to 0
- if {season.month} is 1:
- set {season.winter} to false
- set {season.autumn} to false
- set {season.summer} to false
- set {season.spring} to true
- if {season.month} is 2:
- set {season.winter} to false
- set {season.autumn} to false
- set {season.summer} to true
- set {season.spring} to false
- if {season.month} is 3:
- set {season.winter} to false
- set {season.autumn} to true
- set {season.summer} to false
- set {season.spring} to false
- if {season.month} is 4:
- set {seasons.month} to 0
- broadcast "{@tag} &aNadszedl nowy rok wszystkiego najlepszego!"
- set {season.winter} to true
- set {season.autumn} to false
- set {season.summer} to false
- set {season.spring} to false
- every 1 minutes:
- if {season.winter} is true:
- set {_winter} to a random integer between {@wintermin} and {@wintermax}
- set {season.temp} to {_winter}
- stop
- if {season.autumn} is true:
- set {_autumn} to a random integer between {@autumnmin} and {@autumnmax}
- set {season.temp} to {_autumn}
- stop
- if {season.summer} is true:
- set {_summer} to a random integer between {@summermin} and {@summermax}
- set {season.temp} to {_summer}
- stop
- if {season.spring} is true:
- set {_spring} to a random integer between {@springmin} and {@springmax}
- set {season.temp} to {_spring}
- stop
- every 1 seconds:
- if {season.winter} is true:
- set {season.season} to 1
- set {season.s} to "Zima"
- stop
- if {season.autumn} is true:
- set {season.season} to 2
- set {season.s} to "Jesien"
- stop
- if {season.summer} is true:
- set {season.season} to 3
- set {season.s} to "Lato"
- stop
- if {season.spring} is true:
- set {season.season} to 4
- set {season.s} to "Wiosna"
- stop
- every 30 minutes:
- loop all players:
- if {season.temp} is smaller than {@wintermax}:
- if loop-player's chestplate is empty:
- apply poison 2 to loop-player for 1 minutes
- stop
- if {season.temp} is greater than {@summermin}:
- if loop-player's helmet is empty:
- apply nausea 2 to loop-player for 1 minutes
- stop
- #------------------------------------------------ End of Script / Thanks for Use ---------------------------------#
- #-------------------------------- © by PationPlayGames - Author / YouTube www.youtube.com/PatisonPlayGames -------#
Advertisement
Add Comment
Please, Sign In to add comment