Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /msg [<offlineplayer>] [<text>]:
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- send "&2[&7%player% &3? &7Ty&2] &6%arg 2%" to arg 1
- send "&2[&7Ty &3? &7%arg 1%&2] &6%arg 2%"
- set {ess::%player's uuid%::reply} to arg 1
- set {ess::%uuid of arg 1%::reply} to player
- else:
- send "&7Uzycie komendy: &c/msg <nick> <wiadomosc>"
- else:
- send "&7Uzycie komendy: &c/msg <nick> <wiadomosc>"
- command /tell [<offlineplayer>] [<text>]:
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- send "&2[&7%player% &3? &7Ty&2] &6%arg 2%" to arg 1
- send "&2[&7Ty &3? &7%arg 1%&2] &6%arg 2%"
- set {ess::%player's uuid%::reply} to arg 1
- set {ess::%uuid of arg 1%::reply} to player
- else:
- send "&7Uzycie komendy: &c/tell <nick> <wiadomosc>"
- else:
- send "&7Uzycie komendy: &c/tell <nick> <wiadomosc>"
- command /m [<offlineplayer>] [<text>]:
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- send "&2[&7%player% &3? &7Ty&2] &6%arg 2%" to arg 1
- send "&2[&7Ty &3? &7%arg 1%&2] &6%arg 2%"
- set {ess::%player's uuid%::reply} to arg 1
- set {ess::%uuid of arg 1%::reply} to player
- else:
- send "&7Uzycie komendy: &c/m <nick> <wiadomosc>"
- else:
- send "&7Uzycie komendy: &c/m <nick> <wiadomosc>"
- command /t [<offlineplayer>] [<text>]:
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- send "&2[&7%player% &3? &7Ty&2] &6%arg 2%" to arg 1
- send "&2[&7Ty &3? &7%arg 1%&2] &6%arg 2%"
- set {ess::%player's uuid%::reply} to arg 1
- set {ess::%uuid of arg 1%::reply} to player
- else:
- send "&7Uzycie komendy: &c/t <nick> <wiadomosc>"
- else:
- send "&7Uzycie komendy: &c/t <nick> <wiadomosc>"
- command /w [<offlineplayer>] [<text>]:
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- send "&2[&7%player% &3? &7Ty&2] &6%arg 2%" to arg 1
- send "&2[&7Ty &3? &7%arg 1%&2] &6%arg 2%"
- set {ess::%player's uuid%::reply} to arg 1
- set {ess::%uuid of arg 1%::reply} to player
- else:
- send "&7Uzycie komendy: &c/w <nick> <wiadomosc>"
- else:
- send "&7Uzycie komendy: &c/w <nick> <wiadomosc>"
- command /whisper [<offlineplayer>] [<text>]:
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- send "&2[&7%player% &3? &7Ty&2] &6%arg 2%" to arg 1
- send "&2[&7Ty &3? &7%arg 1%&2] &6%arg 2%"
- set {ess::%player's uuid%::reply} to arg 1
- set {ess::%uuid of arg 1%::reply} to player
- else:
- send "&7Uzycie komendy: &c/whisper <nick> <wiadomosc>"
- else:
- send "&7Uzycie komendy: &c/whisper <nick> <wiadomosc>"
- command /wiadomosc [<offlineplayer>] [<text>]:
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- send "&2[&7%player% &3? &7Ty&2] &6%arg 2%" to arg 1
- send "&2[&7Ty &3? &7%arg 1%&2] &6%arg 2%"
- set {ess::%player's uuid%::reply} to arg 1
- set {ess::%uuid of arg 1%::reply} to player
- else:
- send "&7Uzycie komendy: &c/wiadomosc <nick> <wiadomosc>"
- else:
- send "&7Uzycie komendy: &c/wiadomosc <nick> <wiadomosc>"
- command /r [<text>]:
- trigger:
- if arg 1 is set:
- if {ess::%player's uuid%::reply} is set:
- if {ess::%player's uuid%::reply} is online:
- send "&2[&7%player% &3? &7Ty&2] &6%arg 1%" to {ess::%player's uuid%::reply}
- send "&2[&7Ty &3? &7%{ess::%player's uuid%::reply}%&2] &6%arg 1%"
- else:
- send "&cGracz jest offline"
- else:
- send "&cNie masz do nikogo odpowiedziec"
- else:
- send "&7Uzycie komendy: &c/r <wiadomosc>"
- command /reply [<text>]:
- trigger:
- if arg 1 is set:
- if {ess::%player's uuid%::reply} is set:
- if {ess::%player's uuid%::reply} is online:
- send "&2[&7%player% &3? &7Ty&2] &6%arg 1%" to {ess::%player's uuid%::reply}
- send "&2[&7Ty &3? &7%{ess::%player's uuid%::reply}%&2] &6%arg 1%"
- else:
- send "&cGracz jest offline"
- else:
- send "&cNie masz do nikogo odpowiedziec"
- else:
- send "&7Uzycie komendy: &c/reply <wiadomosc>"
- options:
- spamhelpop: 1
- command /helpop [<text>]:
- trigger:
- if arg 1 is set:
- send "&c[HelpOP] &3%player%&7: %arg 1%" to all ops
- send "&aTwoja wiadomosc zostala wyslana na HELPOP." to player
- set {helpop.%player%} to false
- wait {@spamhelpop} minute
- set {helpop.%player%} to true
- if arg 1 is not set:
- send "&7Uzycie komendy: &c/helpop <wiadomosc>"
- on command "/helpop":
- if {helpop.%player%} is false:
- cancel event
- send "&cNa Helpopie mozna pisac co 1 minute."
- command /ac [<text>]:
- trigger:
- if arg 1 is set:
- send "&c[HelpOP] &3%player%&7: %arg 1%" to all ops
- send "&aTwoja wiadomosc zostala wyslana na HELPOP." to player
- set {helpop.%player%} to false
- wait {@spamhelpop} minute
- set {helpop.%player%} to true
- if arg 1 is not set:
- send "&7Uzycie komendy: &c/ac <wiadomosc>"
- on command "/helpop":
- if {helpop.%player%} is false:
- cancel event
- send "&cNa Helpopie mozna pisac co 1 minute."
- command /gm [<text>] [<player>]:
- permission: essentials.gamemode
- permission message: &7Dostep do tej komendy ma tylko ranga &cAdmin&7 wzwyz!
- trigger:
- if arg 1 is not set:
- send "&7Uzycie komendy: &c/gm <tryb>" to player
- if arg 2 is set:
- if arg 1 is "1":
- set the gamemode of argument 2 to creative
- send "&c%player% &7zmienil Twoj tryb gry na &cKreatywny&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cKreatywny."
- stop
- if arg 1 is "0":
- set the gamemode of argument 2 to survival
- send "&c%player% &7zmienil Twoj tryb gry na &cSurvival&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cSurvival."
- stop
- if arg 1 is "2":
- set the gamemode of argument 2 to adventure
- send "&c%player% &7zmienil twoj tryb gry na &cPrzygoda&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cPrzygoda&7."
- stop
- if arg 1 is "3":
- set the gamemode of argument 2 to spectator
- send "&c%player% &7zmienil twoj tryb gry na &cObserwator&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cObserwator&7."
- stop
- if arg 1 is "c":
- set the gamemode of argument 2 to creative
- send "&c%player% &7zmienil Twoj tryb gry na &cKreatywny&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cKreatywny."
- stop
- if arg 1 is "s":
- set the gamemode of argument 2 to survival
- send "&c%player% &7zmienil Twoj tryb gry na &cSurvival&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cSurvival."
- stop
- if arg 1 is "a":
- set the gamemode of argument 2 to adventure
- send "&c%player% &7zmienil twoj tryb gry na &cPrzygoda&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cPrzygoda&7."
- stop
- if arg 1 is "sp":
- set the gamemode of argument 2 to spectator
- send "&c%player% &7zmienil twoj tryb gry na &cObserwator&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cObserwator&7."
- stop
- if arg 1 is "creative":
- set the gamemode of argument 2 to creative
- send "&c%player% &7zmienil Twoj tryb gry na &cKreatywny&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cKreatywny."
- stop
- if arg 1 is "survival":
- set the gamemode of argument 2 to survival
- send "&c%player% &7zmienil Twoj tryb gry na &cSurvival&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cSurvival."
- stop
- if arg 1 is "adventure":
- set the gamemode of argument 2 to adventure
- send "&c%player% &7zmienil twoj tryb gry na &cPrzygoda&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cPrzygoda&7."
- stop
- if arg 1 is "spectator":
- set the gamemode of argument 2 to spectator
- send "&c%player% &7zmienil twoj tryb gry na &cObserwator&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cObserwator&7."
- stop
- else:
- if arg 1 is "1":
- set the gamemode of the player to creative
- send "&7Zmieniles swoj tryb gry na &cKreatywny&7."
- stop
- if arg 1 is "0":
- set the gamemode of the player to survival
- send "&7Zmieniles swoj tryb gry na &cSurvival&7."
- stop
- if arg 1 is "2":
- set the gamemode of the player to adventure
- send "&7Zmieniles swoj tryb gry na &cPrzygoda&7."
- if arg 1 is "3":
- set the gamemode of the player to spectator
- send "&7Zmieniles swoj tryb gry na &cObserwator&7."
- if arg 1 is "c":
- set the gamemode of the player to creative
- send "&7Zmieniles swoj tryb gry na &cKreatywny&7."
- stop
- if arg 1 is "s":
- set the gamemode of the player to survival
- send "&7Zmieniles swoj tryb gry na &cSurvival&7."
- stop
- if arg 1 is "a":
- set the gamemode of the player to adventure
- send "&7Zmieniles swoj tryb gry na &cPrzygoda&7."
- if arg 1 is "sp":
- set the gamemode of the player to spectator
- send "&7Zmieniles swoj tryb gry na &cObserwator&7."
- if arg 1 is "creative":
- set the gamemode of the player to creative
- send "&7Zmieniles swoj tryb gry na &cKreatywny&7."
- stop
- if arg 1 is "survival":
- set the gamemode of the player to survival
- send "&7Zmieniles swoj tryb gry na &cSurvival&7."
- stop
- if arg 1 is "adventure":
- set the gamemode of the player to adventure
- send "&7Zmieniles swoj tryb gry na &cPrzygoda&7."
- if arg 1 is "obserwator":
- set the gamemode of the player to spectator
- send "&7Zmieniles swoj tryb gry na &cObserwator&7."
- command /gamemode [<text>] [<player>]:
- permission: essentials.gamemode
- permission message: &7Dostep do tej komendy ma tylko ranga &cAdmin&7 wzwyz!
- trigger:
- if arg 1 is not set:
- send "&7Uzycie komendy: &c/gamemode <tryb>" to player
- if arg 2 is set:
- if arg 1 is "1":
- set the gamemode of argument 2 to creative
- send "&c%player% &7zmienil Twoj tryb gry na &cKreatywny&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cKreatywny."
- stop
- if arg 1 is "0":
- set the gamemode of argument 2 to survival
- send "&c%player% &7zmienil Twoj tryb gry na &cSurvival&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cSurvival."
- stop
- if arg 1 is "2":
- set the gamemode of argument 2 to adventure
- send "&c%player% &7zmienil twoj tryb gry na &cPrzygoda&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cPrzygoda&7."
- stop
- if arg 1 is "3":
- set the gamemode of argument 2 to spectator
- send "&c%player% &7zmienil twoj tryb gry na &cObserwator&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cObserwator&7."
- stop
- if arg 1 is "c":
- set the gamemode of argument 2 to creative
- send "&c%player% &7zmienil Twoj tryb gry na &cKreatywny&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cKreatywny."
- stop
- if arg 1 is "s":
- set the gamemode of argument 2 to survival
- send "&c%player% &7zmienil Twoj tryb gry na &cSurvival&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cSurvival."
- stop
- if arg 1 is "a":
- set the gamemode of argument 2 to adventure
- send "&c%player% &7zmienil twoj tryb gry na &cPrzygoda&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cPrzygoda&7."
- stop
- if arg 1 is "sp":
- set the gamemode of argument 2 to spectator
- send "&c%player% &7zmienil twoj tryb gry na &cObserwator&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cObserwator&7."
- stop
- if arg 1 is "creative":
- set the gamemode of argument 2 to creative
- send "&c%player% &7zmienil Twoj tryb gry na &cKreatywny&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cKreatywny."
- stop
- if arg 1 is "survival":
- set the gamemode of argument 2 to survival
- send "&c%player% &7zmienil Twoj tryb gry na &cSurvival&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cSurvival."
- stop
- if arg 1 is "adventure":
- set the gamemode of argument 2 to adventure
- send "&c%player% &7zmienil twoj tryb gry na &cPrzygoda&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cPrzygoda&7."
- stop
- if arg 1 is "spectator":
- set the gamemode of argument 2 to spectator
- send "&c%player% &7zmienil twoj tryb gry na &cObserwator&7." to arg 2
- send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cObserwator&7."
- stop
- else:
- if arg 1 is "1":
- set the gamemode of the player to creative
- send "&7Zmieniles swoj tryb gry na &cKreatywny&7."
- stop
- if arg 1 is "0":
- set the gamemode of the player to survival
- send "&7Zmieniles swoj tryb gry na &cSurvival&7."
- stop
- if arg 1 is "2":
- set the gamemode of the player to adventure
- send "&7Zmieniles swoj tryb gry na &cPrzygoda&7."
- if arg 1 is "3":
- set the gamemode of the player to spectator
- send "&7Zmieniles swoj tryb gry na &cObserwator&7."
- if arg 1 is "c":
- set the gamemode of the player to creative
- send "&7Zmieniles swoj tryb gry na &cKreatywny&7."
- stop
- if arg 1 is "s":
- set the gamemode of the player to survival
- send "&7Zmieniles swoj tryb gry na &cSurvival&7."
- stop
- if arg 1 is "a":
- set the gamemode of the player to adventure
- send "&7Zmieniles swoj tryb gry na &cPrzygoda&7."
- if arg 1 is "sp":
- set the gamemode of the player to spectator
- send "&7Zmieniles swoj tryb gry na &cObserwator&7."
- if arg 1 is "creative":
- set the gamemode of the player to creative
- send "&7Zmieniles swoj tryb gry na &cKreatywny&7."
- stop
- if arg 1 is "survival":
- set the gamemode of the player to survival
- send "&7Zmieniles swoj tryb gry na &cSurvival&7."
- stop
- if arg 1 is "adventure":
- set the gamemode of the player to adventure
- send "&7Zmieniles swoj tryb gry na &cPrzygoda&7."
- if arg 1 is "obserwator":
- set the gamemode of the player to spectator
- send "&7Zmieniles swoj tryb gry na &cObserwator&7."
- command /tp [<offlineplayer>]:
- trigger:
- if player has permission "essentials.tp":
- if arg-1 is set:
- if arg-1 is online:
- teleport player to arg-1
- send "&7Zostales przeteleportowany do gracza &c%arg-1%&2."
- else:
- send "&cBlad: &7Gracz nie jest na serwerze!"
- else:
- send "&7Uzycie komendy: &c/tp <nick>"
- else:
- send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
- command /s [<offlineplayer>]:
- trigger:
- if player has permission "essentials.tp":
- if arg-1 is set:
- if arg-1 is online:
- teleport arg-1 to player
- send "&7Przeteleportowales &c%arg-1% &7do siebie."
- send "&7Zostales przeteleportowany do administratora &c%player%&2." to arg-1
- else:
- send "&cBlad: &7Gracz nie jest na serwerze!"
- else:
- send "&7Uzycie komendy: &c/s <nick>"
- else:
- send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
- command /fly [<offlineplayer>]:
- trigger:
- if player has permission "essentials.fly":
- if arg-1 is not set:
- if player's fly mode is false:
- send "&7Ustawiles fly: &aON"
- set player's fly mode to true
- stop
- if player's fly mode is true:
- send "&7Ustawiles fly: &cOFF"
- set player's fly mode to false
- stop
- if arg-1 is set:
- if arg-1 is online:
- if arg-1's fly mode is false:
- send "&7Ustawiles fly: &aON&7, dla gracza &c%arg-1%"
- send "&7Zmieniono fly na: &aON" to arg-1
- set arg-1's fly mode to true
- stop
- if arg-1's fly mode is true:
- send "&7Ustawiles fly: &cOFF&7, dla gracza &c%arg-1%"
- send "&7Zmieniono fly na: &cOFF" to arg-1
- set arg-1's fly mode to false
- stop
- else:
- send "&cBlad: &7Gracz nie jest na serwerze!"
- else:
- send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
- on damage:
- if {vanish::%victim%} is "on":
- cancel event
- on pick up:
- if {vanish::%player%} is "on":
- cancel event
- variables:
- vanish.%player% = 0
- vanish.budowanie.%player% = 1
- vanish.atak.%player% = 1
- vanish.redstone.%player% = 1
- vanish.itemy.%player% = 1
- vanish.god.%player% = 1
- command /vanish [<text>]:
- permission: essentials.v
- permission message: &7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!
- aliases: v
- trigger:
- if argument is not set:
- if {vanish.%player%} is 1:
- set {vanish.%player%} to 0
- reveal player to all players
- send "&7Zostales &codkryty"
- else:
- set {vanish.%player%} to 1
- hide player to all players
- send "&7Zostales &aukryty"
- if argument is "info":
- send "&bVanish &7- &binformacje"
- if {vanish.%player%} is 1:
- send "&7Status: &awłączony"
- else:
- send "&7Status: &cwyłączony"
- send "&bBlokady:"
- if {vanish.budowanie.%player%} is 1:
- send "&7Budowanie: &awłączona"
- else:
- send "&7Budowanie: &cwyłączona"
- if {vanish.atak.%player%} is 1:
- send "&7Atak: &awłączona"
- else:
- send "&7Atak: &cwyłączona"
- if {vanish.redstone.%player%} is 1:
- send "&7Redstone: &awłączona"
- else:
- send "&7Redstone: &cwyłączona"
- if {vanish.itemy.%player%} is 1:
- send "&7Itemy: &awłączona"
- else:
- send "&7Itemy: &cwyłączona"
- if {vanish.god.%player%} is 1:
- send "&7God: &awłączony"
- else:
- send "&7God: &cwyłączony"
- if argument is "budowanie":
- if {vanish.budowanie.%player%} is 1:
- set {vanish.budowanie.%player%} to 0
- send "&cBlokada budowania wyłączona"
- else:
- set {vanish.budowanie.%player%} to 1
- send "&aBlokada budowania włączona"
- if argument is "atak":
- if {vanish.atak.%player%} is 1:
- set {vanish.atak.%player%} to 0
- send "&cBlokada ataku wyłączona"
- else:
- set {vanish.atak.%player%} to 1
- send "&aBlokada ataku włączona"
- if argument is "redstone":
- if {vanish.redstone.%player%} is 1:
- set {vanish.redstone.%player%} to 0
- send "&cBlokada redstona wyłączona"
- else:
- set {vanish.redstone.%player%} to 1
- send "&aBlokada redstona włączona"
- if argument is "itemy":
- if {vanish.itemy.%player%} is 1:
- set {vanish.itemy.%player%} to 0
- send "&cBlokada itemów wyłączona"
- else:
- set {vanish.itemy.%player%} to 1
- send "&aBlokada itemów włączona"
- if argument is "god":
- if {vanish.god.%player%} is 1:
- set {vanish.god.%player%} to 0
- send "&cGod wyłączony"
- else:
- set {vanish.god.%player%} to 1
- send "&aGod włączony"
- on join:
- if {vanish.%player%} is 1:
- if player has permission "vanish":
- hide player to all players
- send "&aJestes ukryty"
- else:
- set {vanish.%player%} to 0
- loop all players:
- if {vanish.%loop-player%} is 1:
- hide loop-player to player
- on place:
- if {vanish.%player%} is 1:
- if {vanish.budowanie.%player%} is 1:
- cancel event
- on break:
- if {vanish.%player%} is 1:
- if {vanish.budowanie.%player%} is 1:
- cancel event
- on damage:
- if {vanish.%attacker%} is 1:
- if {vanish.atak.%attacker%} is 1:
- cancel event
- if {vanish.%victim%} is 1:
- if {vanish.god.%victim%} is 1:
- cancel event
- on right click on lever or button:
- if {vanish.%player%} is 1:
- if {vanish.redstone.%player%} is 1:
- cancel event
- on drop:
- if {vanish.%player%} is 1:
- if {vanish.itemy.%player%} is 1:
- cancel event
- on pick up:
- if {vanish.%player%} is 1:
- if {vanish.itemy.%player%} is 1:
- cancel event
- on right click on lever:
- cancel event
- send "&8AntyLagi &7-> &9Dzwignia zostala zablokowana!"
- command /heal [<player>]:
- trigger:
- if arg 1 is not set:
- if player's health is not 10:
- if player has permission "essentials.heal":
- set the player's food level to 10
- heal the player by 10 hearts
- send "&7Uleczono!"
- stop
- else:
- send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
- stop
- else:
- send "&cTwoje zycie jest pelne!"
- stop
- if arg 1 is set:
- if argument's health is not 10:
- if player has permission "essentials.heal":
- set the argument's food level to 10
- heal the argument by 10 hearts
- send "&7Uleczono!" to arg 1
- send "&7Uleczono gracza &a%arg 1%"
- stop
- else:
- send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
- stop
- else:
- send "&cZycie tego gracza jest pelne!"
- stop
- command /feed [<player>]:
- trigger:
- if arg 1 is not set:
- if player's food level is not 10:
- if player has permission "essentials.heal":
- set the player's food level to 10
- send "&7Nakarmiono!"
- stop
- else:
- send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
- stop
- else:
- send "&cTwoj glod jest pelny!"
- stop
- if arg 1 is set:
- if argument's food level is not 10:
- if player has permission "essentials.heal":
- set the argument's food level to 10
- send "&7Nakarmiono!" to arg 1
- send "&7Nakarmiono gracza &a%arg 1%"
- stop
- else:
- send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
- stop
- else:
- send "&cGlod tego gracza jest pelny!"
- stop
- command /god [<text>]:
- permission: essentials.god
- permission message: &7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!
- trigger:
- if {god.%player%} = false:
- set {god.%player%} to true
- send "&aWlaczyles &7god'a"
- else:
- set {god.%player%} to false
- send "&cWylaczyles &7god'a"
- on damage:
- if {god.%victim%} is true:
- cancel event
- command /broadcast [<text>]:
- executable by: players
- trigger:
- if player has permission "essentials.bc":
- if arg 1 is not set:
- send "&7Uzycie komendy: &c/broadcast <tekst>"
- else:
- broadcast "&8(&4&lBroadCast&8) &6%colored arg 1%"
- else:
- send "&7Dostep do tej komendy ma tylko ranga &cModerator&7 wzwyz!"
- command /bc [<text>]:
- executable by: players
- trigger:
- if player has permission "essentials.bc":
- if arg 1 is not set:
- send "&7Uzycie komendy: &c/bc <tekst>"
- else:
- broadcast "&8(&4&lBroadCast&8) &6%colored arg 1%"
- else:
- send "&7Dostep do tej komendy ma tylko ranga &cModerator&7 wzwyz!"
- on chat:
- if {mute0::%player%} is true:
- cancel event
- send "&4Blad: &7Twoje usta zostaly zaszyte na &c%{mute0czas::%player%}% &7minut!"
- if {mute.%player%} is true:
- send "&4Blad: &7Twoje usta zostaly zaszyte na zawsze!"
- cancel event
- command /mute [<player>] [<text>]:
- permission: essentials.mute
- permission message: &7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- if arg 2 is "perm":
- broadcast "&4&lMUTE&8: &c%player% &7wyciszyl &e%arg 1% &7na &czawsze!"
- set {mute.%arg 1%} to true
- else:
- set {mute0::%player-arg%} to true
- set {mute0czas::%player-arg%} to arg-2
- broadcast "&4&lMUTE&8: &c%player% &7wyciszyl &c%arg 1% &7na &c%{mute0czas::%player-arg%}% &7minut."
- else:
- send "&7Uzycie komendy: &c/mute <nick> <czas/perm>"
- else:
- send "&7Uzycie komendy: &c/mute <nick> <czas/perm>"
- every 60 seconds:
- loop all players:
- if {mute0::%loop-player%} is true:
- remove 1 from {mute0czas::%loop-player%}
- if {mute0czas::%loop-player%} is less than 0:
- set {mute0czas::%loop-player%} to false
- send "&4&lMUTE&8: &7Mozesz juz pisac!" to loop-player
- command /unmute [<text>]:
- permission: essentials.unmute
- permission message: &7Dostep do tej komendy ma tylko ranga &cModerator&7 wzwyz!
- trigger:
- if arg 1 is set:
- broadcast "&4&lUNMUTE&8: &c%player% &7zostal odciszony!"
- set {mute0::%arg 1%} to false
- set {mute.%arg 1%} to false
- else:
- send "&7Uzycie komendy: &c/unmute <nick>"
- command /tempban [<offline player>] [<text >] [<timespan>]:
- permission: essentials.tempban
- permission message: &7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!
- trigger:
- if argument 1 is not set:
- send "&7Uzycie komendy: &c/tempban <nick> <powod> <czas> <jednostka po angielsku>" to player
- stop
- if argument 2 is not set:
- send "&7Uzycie komendy: &c/tempban <nick> <powod> <czas> <jednostka po angielsku>" to player
- stop
- if argument 3 is not set:
- send "&7Uzycie komendy: &c/tempban <nick> <powod> <czas> <jednostka po angielsku>" to player
- stop
- set {_gracz} to argument 1
- set {_powod} to argument 2
- set {_czasban} to argument 3
- set {_czas} to now
- add {_czasban} to {_czas}
- kick {_gracz} due to "&4Zostales zbanowany za: &c%{_powod}%&4 do &c%{_czas}%&4!"
- send "&cZbanowales gracza &4%{_gracz}% &cza &4%{_powod}%&c do &4%{_czas}%&c!"
- set {bany::%{_gracz}%} to true
- set {czasbana::%{_gracz}%} to {_czas}
- set {powodbana::%{_gracz}%} to {_powod}
- command /untempban [<offline player>]:
- permission: essentials.unban
- permission message: &7Dostep do tej komendy ma tylko ranga &cModerator&7 wzwyz!
- trigger:
- if argument is set:
- if {bany::%argument%} is true:
- delete {bany::%argument%}
- delete {czasbana::%argument%}
- delete {powodbana::%argument%}
- send "&aGracz &2%argument% &azostal odbanowany"
- else:
- send "&4Blad: &7Ten gracz nie ma bana!"
- else:
- send "&7Uzycie komendy: &c/untempban <nick>" to player
- command /sprawdztempban [<offline player>]:
- permission: essentials.tempban
- permission message: &7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!
- trigger:
- if argument is set:
- if {bany::%argument%} is true:
- send "&cGracz &4%argument% &cjest zbanowany za &4%{powodbana::%argument%}% &cdo &4%{czasbana::%argument%}%&c!"
- else:
- send "&aTen gracz nie ma bana"
- else:
- send "&7Uzycie komendy: &c/sprawdztempban <nick>" to player
- on connect:
- if {bany::%player%} is true:
- if now is less than {czasbana::%player%}:
- kick player due to "&4Zostales zbanowany za: &c%{powodbana::%player%}%&4 do &c%{czasbana::%player%}%&4!"
- else:
- delete {bany::%player%}
- delete {czasbana::%player%}
- delete {powodbana::%player%}
- command /kick [<player>] [<text>]:
- trigger:
- if player has permissions "sk.kick":
- if arg 1 is set:
- if arg 2 is set:
- kick %arg 1% due to "&7Zostales wyrzucony przez &c%player% &7Powód: &c%arg 2%"
- else:
- kick %arg 1% due to "&7Zostales wyrzucony przez &c%player% &7Powód: &c%arg 2%"
- else:
- send "&7Uzycie komendy: &c/kick <nick> <powod>"
- else:
- send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
- every 30 seconds:
- add 1 to {msg}
- if {msg} is 1:
- broadcast "&c[GLaDOS] &7Strona internetowa: &c&oonce-hc.pl"
- if {msg} is 2:
- broadcast "&c[GLaDOS] &7Nasz itemshop: &c&oonce-hc.pl"
- if {msg} is 3:
- broadcast "&c[GLaDOS] &7Nasz discord: &c&ohttps://discord.gg/dRZNZQz"
- if {msg} is 4:
- broadcast "&c[GLaDOS] &7Rekrutacja &cOFF"
- if {msg} is 5:
- broadcast "&c[GLaDOS] &7Tryb serwera: &c&oHardCore!"
- if {msg} is 6:
- broadcast "&c[GLaDOS] &7Bug? Cheater? Uratuje Cie komenda &c&o/helpop"
- if {msg} is 7:
- broadcast "&c[GLaDOS] &7Masz 100 &7subskrybcji? Chcesz range? Zapoznaj sie z &c&o/yt!"
- if {msg} is 8:
- broadcast "&c[GLaDOS] &7Maksymalne CPS to &c&o20!"
- set {msg} to 0
- command /speed [<integer>] [<player>]:
- trigger:
- if player has permission "essentials.speed":
- if arg 1 is not set:
- send "&7Uzycie komendy: &c/speed <nick/wartosc> <wartosc>"
- else:
- if arg 2 is not set:
- if arg 1 is not 1:
- set player's walk speed to arg 1
- set player's fly speed to arg 1
- send "&7Ustawiono szybkosc gracza: &c%player% &7na: &c%arg 1%&7."
- else:
- reset player's walk speed
- reset player's fly speed
- send "&7Ustawiono szybkosc gracza: &c%player% &7na: &c%arg 1%&7."
- else:
- if player has permission "Ntools.speed.others":
- if arg 1 is not 1:
- set arg 2's walk speed to arg 1
- set arg 2's fly speed to arg 1
- send "&7Ustawiono szybkosc gracza: &6%arg 1% &7na: &6%arg 1%&7."
- else:
- reset arg 2's walk speed
- reset arg 2's fly speed
- send "&7Ustawiono szybkosc gracza: &6%arg 1% &7na: &6%arg 1%&7."
- else:
- send "&7Dostep do tej komendy ma tylko ranga &cAdmin&7 wzwyz!"
- variables:
- {ban::%offlineplayer%} = false
- {powod::%offlineplayer%} = "Brak"
- {admin::%offlineplayer%} = "Brak"
- command /ban [<offlineplayer>] [<text>]:
- trigger:
- executor is console:
- arg 1 is set:
- set {ban::%arg 1%} to true
- arg 2 is set:
- set {powod::%arg 1%} to colored arg 2
- kick arg 1 by reason of "&7Zostales zbanowany na zawsze przez &cCONSOLE.%nl%&7Powod: &c%{powod::%arg 1%}%"
- stop
- stop
- player has permission "essentials.ban":
- arg 1 is not set:
- send "&7Uzycie komendy: &c/ban <nick> <powod>"
- stop
- if {ban::%arg 1%} is true:
- send "&4Blad: &cPodany gracz jest juz zbanowany!"
- stop
- set {ban::%arg 1%} to true
- arg 2 is not set:
- set {admin::%arg 1%} to name of player
- kick arg 1 by reason of "&7Zostales zbanowany przez &c%player%.%nl%&7Powod: &c%{powod::%arg 1%}%"
- stop
- set {admin::%arg 1%} to name of player
- set {powod::%arg 1%} to colored arg 2
- wait 1 tick
- kick arg 1 by reason of "&7Zostales zbanowany przez %player%.%nl%&cPowod: &7%{powod::%arg 1%}%"
- stop
- send "&7Dostep do tej komendy ma tylko ranga &cModerator&7 wzwyz!"
- stop
- command /unban [<offlineplayer>]:
- trigger:
- executor is console:
- arg 1 is set:
- set {ban::%arg 1%} to false
- set {powod::%arg 1%} to "Brak"
- stop
- player has permission "essentials.unban":
- arg 1 is not set:
- send "&7Uzycie komendy: &c/unban <nick>"
- stop
- if {ban::%arg 1%} is true:
- set {ban::%arg 1%} to false
- set {powod::%arg 1%} to "Brak"
- stop
- send "&4Blad: &cTen gracz nie jest zbanowany!"
- stop
- send "&7Dostep do tej komendy ma tylko ranga &cModerator&7 wzwyz!"
- stop
- on connect:
- if {ban::%player%} is true:
- kick player by reason of "&7Zostales zbanowany przez &c%{admin::%player%}%.%nl%&7Powod: &c%{powod::%arg 1%}%"
- command /repair [<text="brak">]:
- trigger:
- if player has permission "essentials.repair":
- if arg 1 is not "hand" or "all":
- send "&7Uzycie komendy: &c/repair <all/hand>"
- if arg 1 is "hand":
- repair player's tool
- send "&7Pomyslnie naprawiono!"
- if arg 1 is "all":
- repair all items in player's inventory
- send "&7Pomyslnie naprawiono!"
- else:
- send "&7Dostep do tej komendy ma tylko ranga &cAdmin&7 wzwyz!"
- command /chat [<text>]:
- trigger:
- if player has permission "essentials.chat":
- if arg 1 is empty:
- send "&7Uzycie komendy: &c/chat <on/off/cc>" to player
- else if arg 1 is "on":
- if {chat.stan} is true:
- send "&4Blad: &7Chat jest juz wlaczony!" to player
- stop trigger
- set {chat.stan} to true
- broadcast " &8[&9AntySpam&8]"
- broadcast " &7Chat zostal wlaczony przez &c%player%&7!"
- else if arg 1 is "off":
- if {chat.stan} is false:
- send "&4Blad: &7Chat jest juz wylaczony!" to player
- stop trigger
- set {chat.stan} to false
- loop 100 times:
- broadcast " "
- broadcast " &8[&9AntySpam&8]"
- broadcast "&7Chat zostal wylaczony przez &c%player%&7!"
- else if arg 1 is "cc":
- loop 100 times:
- broadcast " "
- broadcast " &8[&9AntySpam&8]"
- broadcast "&7Chat zostal wyczyszczony przez &c%player%&7!"
- else:
- send "&7Uzycie komendy: &c/chat <on/off/cc>" to player
- stop trigger
- else:
- send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
- command /cc [<text>]:
- trigger:
- if player has permission "essentials.chat":
- loop 100 times:
- broadcast " "
- broadcast " &8[&9AntySpam&8]"
- broadcast "&7Chat zostal wyczyszczony przez &c%player%&7!"
- else:
- send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
- on chat:
- if {chat.stan} is false:
- if player has permission "essentials.vip" or "chat.vip":
- stop trigger
- else:
- cancel event
- send "&4Blad: &7Czat jest wylaczony! Aby pisac na czacie zakup range &6VIP&7!"
- stop
- on first join:
- wait 1 second
- give 1 stone pickaxe to player
- give 64 steak to player
- give 64 steak to player
- give 1 ender chest to player
- give 1 boat to player
- on death:
- wait 1 tick
- give 1 stone pickaxe to player
- give 64 steak to player
- give 64 steak to player
- give 1 ender chest to player
- give 1 boat to player
- command /craft [<text>]:
- permission: essentials.workbench
- permission message: &7Dostep do tej komendy ma tylko ranga &cVIP&7 wzwyz!
- trigger:
- open crafting table to player
- command /wb [<text>]:
- permission: essentials.workbench
- permission message: &7Dostep do tej komendy ma tylko ranga &cVIP&7 wzwyz!
- trigger:
- open crafting table to player
- command /workbench [<text>]:
- permission: essentials.workbench
- permission message: &7Dostep do tej komendy ma tylko ranga &cVIP&7 wzwyz!
- trigger:
- open crafting table to player
- command /spawn [<text>]:
- trigger:
- player has permissions "essentials.spawn"
- execute console command "/minecraft:tp %player% 0 79 0"
- stop
- else:
- send "&4Blad: &cKordy spawna: &7x0 z0! &cAby isc na spawna trzeba przejsc pieszo lub scraftowac rozdzke na spawna!" to player
- stop
- command /tpa [<player>]:
- trigger:
- if player has permission "essentials.tpa":
- set {tpa.%player%.%arg 1%} to true:
- send "Wyslales prosbe o teleportacje do gracza %arg 1%"
- send "&7Gracz &9%player% &7prosi o teleportacje, wpisz /tpaccept %player% aby zaakcepotwac" to player-arg
- loop 10 times:
- wait 1 second
- if {tpaccept.%arg 1%.%player%} is true:
- loop exit
- send "&7Nie ruszaj sie przez 5 sekund"
- wait 3 second
- set {tpa::%player%-loc} to location of player
- set {tpa::%player%-next} to true
- if {tpa::%player%-next} is true:
- set {tpa::%player%-not} to false
- loop 5 times:
- wait 1 second
- set {tpa::%player%-loc-n} to location of player
- if {tpa::%player%-loc} is not {tpa::%player%-loc-n}:
- set {tpa::%player%-not} to true
- send "&cTeleportacja anulowana"
- set {tpa.%player%.%arg 1%} to false
- set {tpaccept.%arg 1%.%player%} to false
- if {tpa::%player%-not} is false:
- teleport player to location of player-arg
- set {tpa.%player%.%arg 1%} to false
- set {tpaccept.%arg 1%.%player%} to false
- command /tpaccept [<player>]:
- trigger:
- if player has permission "essentials.tpa":
- if {tpa.%arg 1%.%player%} is true:
- send "&7Gracz &9%player% &7zaakceptował twoja prosbe" to player-arg
- set {tpaccept.%player%.%arg 1%} to true:
- stop
- else:
- send "&4Blad: &7Gracz &9%arg 1% &7nie prosil cie o teleportacje. LOL!"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement