#--------------------------------------------------# # # # # # AdminSave # # Autor: MatiiTV # # # # # #--------------------------------------------------# #Warunki korzystania z skryptu: #pozwalam na edytowanie linijek kodu #Zabraniam publikowania i podszywania sie podemnie na innych forach #Ver. 1.3 on script load: send "Wczytano skrypt: AdminSave v1.3" to console variables: {adminsave} = true {gm} = true {brush} = true {sk} = true {pex} = true {azrank} = true command /aadminsave []: permission: core.aas permission message: &c» Brak uprawnien (core.aas)! aliases: aas, aadmins trigger: if arg 1 is not set: send "&7» &6Aktualny stan komendy /adminsave:%nl%&7» &c%{adminsave}%%nl%&7» &6Jesli chcesz wlaczyc/wylaczyc komende wpisz: /aas przelacz" if arg 1 is "przelacz": if {adminsave} is true: set {adminsave} to false send player title "&7» &6Dezaktywowano /adminsave" else: set {adminsave} to true send player title "&7» &6Aktywowano /adminsave" command /adminsave []: permission: core.as permission message: &c» Brak uprawnien (core.as)! aliases: as, admins, trigger: if arg 1 is not set: open chest with 5 rows named "&7» &cAdminSave" to player wait 3 ticks format slot 10 of player with 1 redstone named "&7» Komenda &cAdminSave" with lore "&7» &cKliknij, aby wlaczyc/wylaczyc komende!" to close then run [execute player command "as adminsave"] format slot 12 of player with 1 feather named "&7» Komenda &cGamemode" with lore "&7» &cKliknij, aby wlaczyc/wylaczyc komende!" to close then run [execute player command "as gm"] format slot 14 of player with 1 wooden axe named "&7» Komenda &cBrush" with lore "&7» &cKliknij, aby wlaczyc/wylaczyc komende!" to close then run [execute player command "as br"] format slot 16 of player with 1 stick named "&7» Komenda &cSkript" with lore "&7» &cKliknij, aby wlaczyc/wylaczyc komende!" to close then run [execute player command "as sk"] format slot 22 of player with 1 bedrock named "&7» Wszystkie &ckomendy" with lore "&7» &cKliknij, aby wlaczyc/wylaczyc wszystkie komendy!" to close then run [execute player command "as all"] format slot 30 of player with 1 diamond block named "&7» Komenda &cPex" with lore "&7» &cKliknij, aby wlaczyc/wylaczyc komende!" to close then run [execute player command "as pex"] format slot 32 of player with 1 diamond named "&7» Komenda &cAZRank" with lore "&7» &cKliknij, aby wlaczyc/wylaczyc komende!" to close then run [execute player command "as azrank"] format slot 43 of player with 1 brick named "&7» Reload skryptu" with lore "&7» &cKliknij, aby przeladowac skrypt!" to close then run [execute player command "as reload"] format slot 44 of player with 1 emerald named "&7» Autor" with lore "&7» &cKliknij, aby poznac autora!" to close then run [execute player command "as autor"] format slot 43 of player with 1 brick named "&7» Reload skryptu" with lore "&7» &cKliknij, aby przeladowac skrypt!" to close then run [execute player command "as reload"] format slot 44 of player with 1 emerald named "&7» Autor" with lore "&7» &cKliknij, aby poznac autora!" to close then run [execute player command "as autor"] if arg 1 is "reload": execute console command "sk reload as" send "&7» &cConsola przeladowuje skrypt" if arg 1 is "autor": send player title "&7» Autorem AdminSave jest:" with subtitle "&7» &cMatiiTV" for 3 seconds if arg 1 is "adminsave": if {adminsave} is true: set {adminsave} to false send player title "&8[&cAdminSave&8]" with subtitle "&7» &cWylaczono: /adminsave" for 3 seconds else: set {adminsave} to true send player title "&8[&cAdminSave&8]" with subtitle "&7» &2Wlaczono: /adminsave" for 3 seconds if arg 1 is "gm": if {gm} is true: set {gm} to false send player title "&8[&cAdminSave&8]" with subtitle "&7» &cWylaczono: /gm" for 3 seconds else: set {gm} to true send player title "&8[&cAdminSave&8]" with subtitle "&7» &2Wlaczono: /gm" for 3 seconds if arg 1 is "br": if {brush} is true: set {brush} to false send player title "&8[&cAdminSave&8]" with subtitle "&7» &cWylaczono: /br" for 3 seconds else: set {brush} to true send player title "&8[&cAdminSave&8]" with subtitle "&7» &2Wlaczono: /br" for 3 seconds if arg 1 is "sk": if {sk} is true: set {sk} to false send player title "&8[&cAdminSave&8]" with subtitle "&7» &cWylaczono: /sk" for 3 seconds else: set {sk} to true send player title "&8[&cAdminSave&8]" with subtitle "&7» &2Wlaczono: /sk" for 3 seconds if arg 1 is "pex": if {pex} is true: set {pex} to false send player title "&8[&cAdminSave&8]" with subtitle "&7» &cWylaczono: /pex" for 3 seconds else: set {pex} to true send player title "&8[&cAdminSave&8]" with subtitle "&7» &2Wlaczono: /pex" for 3 seconds if arg 1 is "azrank": if {azrank} is true: set {azrank} to false send player title "&8[&cAdminSave&8]" with subtitle "&7» &cWylaczono: /azrank" for 3 seconds else: set {azrank} to true send player title "&8[&cAdminSave&8]" with subtitle "&7» &2Wlaczono: /azrank" for 3 seconds if arg 1 is "all": if {allas} is true: set {allas} to false set {sk} to false set {azrank} to false set {pex} to false set {gm} to false set {adminsave} to false set {br} to false send player title "&8[&cAdminSave&8]" with subtitle "&7» &cWylaczono wszystkie komendy" for 3 seconds else: set {allas} to true set {sk} to true set {azrank} to true set {pex} to true set {gm} to true set {adminsave} to true set {br} to true send player title "&8[&cAdminSave&8]" with subtitle "&7» &2Wlaczono wszystkie komendy" for 3 seconds on command "/adminsave" or "/admins" or "/as": if {adminsave} is false: if executor is "player": cancel event send player title "&8[&4ERROR&8]" with subtitle "&7» &cKomenda /%command% jest wylaczona!" for 3 seconds stop on command "/gm" or "/gamemode": if {gm} is false: if executor is "player": cancel event send player title "&8[&4ERROR&8]" with subtitle "&7» &cKomenda /%command% jest wylaczona!" for 3 seconds stop on command "/br" or "//br" or "/brush" or "//brush" or "//ToggleEditWand" or "/ToggleEditWand" or "/sel" or "//sel" or "//sell" or "/sell" or "/pos1" or "//pos1" or "/pos2" or "//pos2" or "/hpos1" or "//hpos1" or "/hpos2" or "//hpos2" or "/chunk" or "//chunk" or "/shift" or "//shift" or "/expand" or "//expand" or "/expand vort" or "//expand vort" or "/contract" or "//contract" or "/outset" or "//outset" or "/inset" or "//inset" or "/size" or "//size" or "/count" or "//count" or "/distr" or "//distr" or "/limit" or "//limit" or "/undo" or "//undo" or "/redo" or "//redo" or "/clearhistory" or "//clearhistory" or "/copy" or "//copy" or "/cut" or "//cut" or "/rotate" or "//rotate" or "/flip" or "//flip" or "/paste" or "//paste" or "/clearclipboard" or "//clearclipboard" or "/schematic list" or "//schematic list" or "/schematic save" or "//schematic save" or "/schematic load" or "//schematic load" or "/schematic delete" or "//schematic delete" or "/set" or "//set" or "/walls" or "//walls" or "/line" or "//line" or "/curve" or "//curve" or "/center" or "//center" or "/replace" or "//replace" or "/outline" or "//outline" or "/faces" or "//faces" or "/overlay" or "//overlay" or "/naturalize" or "//naturalize" or "/smooth" or "//smooth" or "/regen" or "//regen" or "/forest" or "//forest" or "/stack" or "//stack" or "/move" or "//move": if {brush} is false: if executor is "player": cancel event send player title "&8[&4ERROR&8]" with subtitle "&7» &cKomenda /%command% jest wylaczona!" for 3 seconds stop on command "/sk" or "/skript" or "/sk:skript" or "/skript:sk": if {sk} is false: if executor is "player": cancel event send player title "&8[&4ERROR&8]" with subtitle "&7» &cKomenda /%command% jest wylaczona!" for 3 seconds stop on command "/pex": if {pex} is false: if executor is "player": cancel event send player title "&8[&4ERROR&8]" with subtitle "&7» &cKomenda /%command% est wylaczona!" for 3 seconds stop on command "/azrank" or "/addrank" or "/setrank" or "/rank": if {azrank} is false: if executor is "player": cancel event send player title "&8[&4ERROR&8]" with subtitle "&7» &cKomenda /%command% jest wylaczona!" for 3 seconds stop