Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /location [<text>]:
- permission: server.admin
- permission message: &cInsufficent permissions.
- trigger:
- if arg-1 isn't set:
- send "&cInvalid argument: /location <spawn|arena>"
- if arg-1 is "spawn":
- set {server.location.spawn} to player's location
- send "&6&l[*] &rSet location of spawn to your location."
- else if arg-1 is "arena":
- set {server.location.arena} to player's location
- send "&6&l[*] &rSet location of arena to your location."
- else if arg-1 is "ranked":
- set {server.location.ranked} to player's location
- send "&6&l[*] &rSet location of ranked to your location."
- command /unban [<offline player>]:
- permission: server.moderator
- permission message: &cInsufficent permissions.
- trigger:
- if arg-1 is set:
- if {player::%uuid of arg-1%::punishments::ban} is false:
- send "&c&l%arg-1% &cisn't banned."
- stop
- else:
- set {player::%uuid of arg-1%::punishments::ban} to false
- unban arg-1
- send "&aSuccessfully un-punished %arg-1%" to player
- loop all players:
- if loop-player has permission "server.jradmin":
- send "&7&o[%player%: &aSuccessfully un-punished %arg-1%&7&o]" to loop-player
- else:
- send "&cUnspecified argument: &n/unban <player>"
- command /ban [<offline player>] [<text>] [<timespan>]:
- aliases: /banhammer
- permission: server.helper
- permission message: &cInsufficent permissions.
- trigger:
- if arg-1 is set:
- if {player::%uuid of arg-1%::punishments::ban} is true:
- send "&c&l%arg-1% &cis already banned."
- stop
- if arg-2 is set:
- if arg-3 is set:
- set {player::%uuid of arg-1%::punishments::ban} to true
- set {player::%uuid of arg-1%::punishments::ban::time} to now
- set {ban.expire.%arg 1%} to now
- set {player::%uuid of arg-1%::punishments::ban::reason} to arg-2
- set {player::%uuid of arg-1%::punishments::ban::distributor} to player
- kick arg-1 due to "&cYour account has been suspeneded from &lFight&c.%nl%%nl%&cDistributed by: &l%{player::%uuid of arg-1%::punishments::ban::distributor}%%nl%&cReason: &l%{player::%uuid of arg-1%::punishments::ban::reason}%%nl%&cUnbanned on: &l%{player::%uuid of arg-1%::punishments::ban::time}%"
- ban arg-1 due to "&cYour account has been suspeneded from &lFight&c.%nl%%nl%&cDistributed by: &l%{player::%uuid of arg-1%::punishments::ban::distributor}%%nl%&cReason: &l%{player::%uuid of arg-1%::punishments::ban::reason}%%nl%&cUnbanned on: &l%{player::%uuid of arg-1%::punishments::ban::time}%"
- make console execute "tempban %arg-1% %arg-3%"
- send "&aSuccessfully punished %arg-1%" to player
- broadcast "&r"
- broadcast "&c&l%arg-1% &chas been suspended from Fight by &l%player%"
- broadcast "&cReason: &l%arg-2%"
- broadcast "&cTimespan: &l%arg-3%"
- broadcast "&r"
- loop all players:
- if loop-player has permission "server.jradmin":
- send "&7&o[%player%: &aSuccessfully punished %arg-1%&7&o]" to loop-player
- else:
- if player has permission "server.moderator":
- set {player::%uuid of arg-1%::punishments::ban} to true
- set {player::%uuid of arg-1%::punishments::ban::time} to now
- set {player::%uuid of arg-1%::punishments::ban::reason} to arg-2
- set {player::%uuid of arg-1%::punishments::ban::distributor} to player
- kick arg-1 due to "&cYour account has been suspeneded from &lFight&c.%nl%%nl%&cDistributed by: &l%{player::%uuid of arg-1%::punishments::ban::distributor}%%nl%&cReason: &l%{player::%uuid of arg-1%::punishments::ban::reason}%%nl%&cUnbanned on: &lNever"
- ban arg-1 due to "&cYour account has been suspeneded from &lFight&c.%nl%%nl%&cDistributed by: &l%{player::%uuid of arg-1%::punishments::ban::distributor}%%nl%&cReason: &l%{player::%uuid of arg-1%::punishments::ban::reason}%%nl%&cUnbanned on: &lNever"
- send "&aSuccessfully punished %arg-1%" to player
- broadcast "&r"
- broadcast "&c&l%arg-1% &chas been suspended from Fight by &l%player%"
- broadcast "&cReason: &l%{player::%uuid of arg-1%::punishments::ban::reason}%"
- broadcast "&cTimespan: &lPermanent"
- broadcast "&r"
- loop all players:
- if loop-player has permission "server.jradmin":
- send "&7&o[%player%: &aSuccessfully punished %arg-1%&7&o]" to loop-player
- else:
- send "&cAs a helper, you cannot permanently ban players. If the victim is in need of a permanent ban. Please make a staff report."
- stop
- else:
- send "&cUnspecified argument(s): &n/ban <player> [<reason>] [<time span>]"
- else:
- send "&cUnspecified argument(s): &n/ban <player> [<reason>] [<time span>]"
- command /spectator:
- aliases: /spec, /mod
- permission: server.helper
- permission message: &cInsufficent permissions.
- trigger:
- if {player::%uuid of player%::spectator} is true:
- delete {player::%uuid of player%::spectator}
- clear player's inventory
- set gamemode of player to survival
- reveal the player from all players
- send "&eSpectator mode &r» &7&lOFF"
- make player execute "spawn"
- else:
- set {player::%uuid of player%::spectator} to true
- send "&eSpectator mode &r» &7&lON"
- make player execute "spawn"
- clear player's inventory
- set gamemode of player to creative
- hide the player from all players
- set slot 0 of player to book named "&6&lINSPECTION TOOL" with lore "||&rRight-click target player to view their||&rcurrent inventory."
- set slot 1 of player to iron fence named "&6&lHALT TOOL" with lore "||&rRight-click target player to freeze them||&rif suspicious of cheating."
- set slot 2 of player to stick named "&6&lTELEPORT TOOL" with lore "||&rRight-click to teleport to a random||&ronline player."
- set slot 8 of player to light green dye named "&6&lVANISH &7&o(Vanished)" with lore "||&rRight-click to toggle your||&rvisibility."
- on break:
- if {player::%uuid of player%::spawn} is set:
- if player has permission "server.admin":
- stop
- else:
- cancel event
- on place:
- if {player::%uuid of player%::spawn} is set:
- if player has permission "server.admin":
- stop
- else:
- cancel event
- on inventory click:
- if {player::%uuid of player%::specspawntator} is set:
- if player has permission "server.admin":
- stop
- else:
- cancel event
- on damage:
- if {player::%uuid of attacker%::spawn} is set:
- if attacker has permission "server.admin":
- stop
- else:
- cancel event
- on break:
- if {player::%uuid of player%::spectator} is set:
- if player has permission "server.admin":
- stop
- else:
- cancel event
- on place:
- if {player::%uuid of player%::spectator} is set:
- if player has permission "server.admin":
- stop
- else:
- cancel event
- on inventory click:
- if {player::%uuid of player%::spectator} is set:
- if player has permission "server.admin":
- stop
- else:
- cancel event
- on damage:
- if {player::%uuid of attacker%::spectator} is set:
- if attacker has permission "server.admin":
- stop
- else:
- cancel event
- on quit:
- if {player::%uuid of player%::spectator} is set:
- delete {player::%uuid of player%::spectator}
- set gamemode of player to survival
- clear player's inventory
- reveal player to all players
- on right click:
- if player's tool is a iron axe:
- if name of player's tool is "&e&lUNRANKED":
- make player execute "/unranked"
- cancel event
- on right click:
- if player's tool is a diamond axe:
- if name of player's tool is "&e&lRANKED":
- cancel event
- make player execute "/ranked"
- on right click:
- if player's tool is a prismarine shard:
- if name of player's tool is "&e&lCLASSES":
- make player execute "/class"
- cancel event
- on right click:
- if player's tool is a hopper:
- if name of player's tool is "&e&lSHOP":
- make player execute "/shop"
- cancel event
- on right click:
- if player's tool is a anvil:1:
- if name of player's tool is "&e&lBLACKSMITH":
- make player execute "/blacksmith"
- cancel event
- on right click:
- if player's tool is a chest:
- if name of player's tool is "&e&lINVENTORY":
- make player execute "/inventory"
- cancel event
- on right click:
- if player's tool is a wooden sword:
- if name of player's tool is "&e&lDUELS":
- cancel event
- send "&c&lDUELS &cis currently unavailable, it will be released in &lFight 2.0"
- on right click on player:
- if player's tool is a book:
- if name of player's tool is "&6&lINSPECTION TOOL":
- if player has permission "server.helper":
- wait 3 ticks
- open inventory of clicked entity to player
- stop
- on right click on player:
- if player's tool is a iron fence:
- if name of player's tool is "&6&lHALT TOOL":
- if player has permission "server.helper":
- wait 3 ticks
- make player execute "halt %clicked entity%"
- stop
- on right click:
- if player's tool is a stick:
- if name of player's tool is "&6&lTELEPORT TOOL":
- if player has permission "server.helper":
- wait 3 ticks
- teleport player to a random element out of all players
- stop
- on right click:
- if player's tool is a light green dye:
- if name of player's tool is "&6&lVANISH &7&o(Vanished)":
- if player has permission "server.helper":
- wait 3 ticks
- reveal the player from all players
- send "&eVisibility &r» &7&lOFF"
- set slot 8 of player to red dye named "&6&lVANISH &7&o(Not Vanished)" with lore "||&rRight-click to toggle your||&rvisibility."
- on right click:
- if player's tool is a red dye:
- if name of player's tool is "&6&lVANISH &7&o(Not Vanished)":
- if player has permission "server.helper":
- wait 3 ticks
- hide the player from all players
- send "&eVisibility &r» &7&lON"
- set slot 8 of player to light green dye named "&6&lVANISH &7&o(Vanished)" with lore "||&rRight-click to toggle your||&rvisibility."
- command /kick [<player>] [<text>]:
- permission: server.helper
- permission message: &cInsufficent permissions.
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- kick arg-1 due to arg-2
- set {player::%uuid of arg-1%::punishments::kick::reason} to true
- send "&aSuccessfully punished %arg-1%" to player
- broadcast "&r"
- broadcast "&c&l%arg-1% &chas been kicked from Fight by &l%player%"
- broadcast "&cReason: &l%{player::%uuid of arg-1%::punishments::kick::reason}%"
- broadcast "&r"
- loop all players:
- if loop-player has permission "server.jradmin":
- send "&7&o[%player%: &aSuccessfully punished %arg-1%&7&o]" to loop-player
- else:
- send "&cUnspecified argument(s): &n/kick <player> <reason>"
- else:
- send "&cUnspecified argument(s): &n/kick <player> <reason>"
- command /mute [<player>] [<text>] [<timespan>]:
- aliases: /silence
- permission: server.helper
- permission message: &cInsufficent permissions.
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- if arg-3 is set:
- make console execute "mute %arg-1% %arg-2%"
- set {player::%uuid of arg-1%::punishments::mute} to true
- set {player::%uuid of arg-1%::punishments::mute::time} to now
- set {mute.expire.%arg 1%} to now
- set {player::%uuid of arg-1%::punishments::mute::reason} to arg-2
- set {player::%uuid of arg-1%::punishments::mute::distributor} to player
- set {_unmutetime} to difference between {mute.expire.%arg 1%} and now
- send "&aSuccessfully punished %arg-1%" to player
- broadcast "&r"
- broadcast "&c&l%arg-1% &chas been silenced by &l%player%"
- broadcast "&cReason: &l%{player::%uuid of arg-1%::punishments::ban::reason}%"
- broadcast "&cTimespan: &l%arg-3%"
- broadcast "&r"
- loop all players:
- if loop-player has permission "server.jradmin":
- send "&7&o[%player%: &aSuccessfully punished %arg-1%&7&o]" to loop-player
- wait {_unmutetime}
- set {player::%uuid of arg-1%::punishments::mute} to false
- else:
- make console execute "mute %arg-1% %arg-2%"
- set {player::%uuid of arg-1%::punishments::mute} to true
- set {player::%uuid of arg-1%::punishments::mute::reason} to arg-2
- set {player::%uuid of arg-1%::punishments::mute::distributor} to player
- send "&aSuccessfully punished %arg-1%" to player
- broadcast "&r"
- broadcast "&c&l%arg-1% &chas been silenced by &l%player%"
- broadcast "&cReason: &l%{player::%uuid of arg-1%::punishments::mute::reason}%"
- broadcast "&cTimespan: &lPermanent"
- broadcast "&r"
- loop all players:
- if loop-player has permission "server.jradmin":
- send "&7&o[%player%: &aSuccessfully punished %arg-1%&7&o]" to loop-player
- else:
- send "&cUnspecified argument(s): &n/mute <player> <reason> <timespan>"
- else:
- send "&cUnspecified argument(s): &n/mute <player> <reason> <timespan>"
- command /warn [<player>] [<text>]:
- permission: server.helper
- permission message: &cInsufficent permissions.
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- set {player::%uuid of arg-1%::punishments::mute::reason} to arg-2
- add 1 to {player::%uuid of arg-1%::punishments::warn::amount}
- if {player::%uuid of arg-1%::punishments::warn::amount} is greater than 4:
- delete {player::%uuid of arg-1%::punishments::warn::amount}
- kick arg-1 due to "&cReached warn limit."
- broadcast ""
- broadcast "&c&l%arg-1% &chas been warned by &l%player%"
- broadcast "&cReason: &l%{player::%uuid of arg-1%::punishments::mute::reason}%"
- broadcast ""
- else:
- send "&cUnspecified argument(s): &n/warn <player> <reason>"
- else:
- send "&cUnspecified argument(s): &n/warn <player> <reason>"
- command /halt [<player>]:
- aliases: /freeze, /ss
- permission: server.helper
- permission message: &cInsufficent permissions.
- trigger:
- if arg-1 is set:
- if {player::%arg-1's uuid%::frozen} is set:
- delete {player::%uuid of arg-1%::frozen}
- send "&aSuccessfully un-frozen %arg-1%" to player
- send "&aYou've been un-frozen." to arg-1
- loop all players:
- if loop-player has permission "server.jradmin":
- send "&7&o[%player%: &aSuccessfully un-frozen %arg-1%&7&o]" to loop-player
- else:
- loop all players:
- if loop-player has permission "server.jradmin":
- send "&7&o[%player%: &aSuccessfully frozen %arg-1%&7&o]" to loop-player
- set {player::%uuid of arg-1%::frozen} to true
- send "&aSuccessfully frozen %arg-1%" to player
- send "&cYou've been frozen." to arg-1
- make player execute "/msg %arg-1% You've been frozen by a staff member, please connect to our discord ASAP. Logging out will result in a permanent ban. https://discord.gg/bBTFgB"
- else:
- send "&cUnspecified argument: &n/halt <player>"
- on any move:
- if {player::%uuid of player%::frozen} is true:
- cancel event
- send "&cYou've been frozen by a staff member, please connect to our discord ASAP. Logging out will result in a permanent ban. https://discord.gg/bBTFgB"
- on join:
- if player has permission "server.helper":
- set join message to ""
- loop all players:
- if loop-player has permission "server.helper":
- send "&9[Staff] &b%player% has connected to the server." to loop-player
- on disconnect:
- if player has permission "server.helper":
- set leave message to ""
- loop all players:
- if loop-player has permission "server.helper":
- send "&9[Staff] &b%player% has disconnected from the server." to loop-player
- if {player::%player's uuid%::frozen} is true:
- loop all players:
- if loop-player has permission "server.helper":
- send "&c%player% has logged out whilst frozen." to loop-player
- on damage:
- if {player::%uuid of victim%::frozen} is set:
- cancel event
- on rightclick on player:
- if {player::%uuid of clicked entity%::frozen} is set:
- if player has permission "server.helper":
- push player up at speed 1.2
- stop
- command /gamemode [<text>] [<player>]:
- permission: server.modplus
- permission message: &cInsufficent permissions.
- aliases: /gm
- trigger:
- if argument 1 is set:
- if argument 1 is "0", "S" or "Survival":
- if argument 2 isn't set:
- send "&6&l[*] &rYou've set your gamemode to &esurvival."
- set gamemode of player to survival
- else:
- if player has permission "server.jradmin":
- send "&6&l[*] &rYou've set %arg-2%'s gamemode to &esurvival." to player
- send "&6&l[*] &rYour gamemode was set to &esurvival &rby &e%player%." to arg-2
- set gamemode of arg-2 to survival
- else:
- send "&cYou don't have sufficent permissions to change other users gamemode."
- else if argument 1 is "1", "C" or "Creative":
- if argument 2 isn't set:
- send "&6&l[*] &rYou've set your gamemode to &ecreative."
- set gamemode of player to creative
- else:
- if player has permission "server.jradmin":
- send "&6&l[*] &rYou've set %arg-2%'s gamemode to &ecreative." to player
- send "&6&l[*] &rYour gamemode was set to &ecreative &rby &e%player%." to arg-2
- set gamemode of arg-2 to creative
- else:
- send "&cYou don't have sufficent permissions to change other users gamemode."
- else if argument 1 is "2", "A" or "Adventure":
- if argument 2 isn't set:
- send "&6&l[*] &rYou've set your gamemode to &aadventure."
- set gamemode of player to adventure
- else:
- if player has permission "server.jradmin":
- send "&6&l[*] &rYou've set %arg-2%'s gamemode to &eadventure." to player
- send "&6&l[*] &rYour gamemode was set to &eadventure &rby &e%player%." to arg-2
- set gamemode of arg-2 to adventure
- else:
- send "&cYou don't have sufficent permissions to change other users gamemode."
- else:
- send "&cUnspecified argument(s): &n/gamemode <gamemode> [<player>]"
- command /heal [<player>]:
- permission: server.modplus
- permission message: &cInsufficent permissions.
- trigger:
- if argument 1 isn't set:
- send "&6&l[*] &rYou've healed yourself."
- heal player
- set hunger of player to 20
- else:
- send "&6&l[*] &rYou've healed &e%arg-1%." to player
- send "&6&l[*] &rYou've been healed by &e%player%" to argument 1
- heal arg-1
- set hunger of arg-1 to 20
- command /teleport [<player>] [<player>]:
- permission: server.helper
- permission message: &cInsufficent permissions.
- aliases: /tp, /tport
- trigger:
- if argument 1 is set:
- if argument 2 isn't set:
- if argument 1 isn't player:
- send "&6&l[*] &rTeleporting yourself to &e%arg-1%." to player
- teleport player to argument 1
- else:
- send "&cYou cannot teleport to yourself."
- else if argument 2 is set:
- if player has permission "server.modplus":
- if argument 1 and argument 2 are player:
- send "&cYou cannot teleport to yourself."
- else:
- send "&6&l[*] &rTeleporting &e%arg-1% &rto &e%arg-2%."
- teleport arg-1 to arg-2
- else:
- send "&cUnspecified argument(s): &n/teleport <player> [<player>]"
- on chat:
- if {player::%uuid of player%::chat::staff} is set:
- cancel event
- loop all players:
- if loop-player has permission "server.helper":
- send "&9[Staff] &b%player% &r» &7%message%"
- if {player::%uuid of arg-1%::punishments::mute} is true:
- send "&cYou cannot speak whilst silenced."
- cancel event
- else:
- cancel event
- set tab list name of player to "%{player::%player's uuid%::rank::prefix}%%player%"
- broadcast "&7(%{player::%uuid of player%::game::rating}%) %{player::%uuid of player%::rank::prefix}%%player% » &r%message%"
- command /rank [<offline player>] [<text>]:
- permission: server.admin
- permission message: &cInsufficent permissions.
- aliases: /setrank
- trigger:
- if argument 1 is set:
- if argument 2 is set:
- if argument 2 is "admin":
- set {player::%arg-1's uuid%::rank} to "Admin"
- set {player::%arg-1's uuid%::rank::prefix} to "&8[&4Admin&8] &4"
- set tab list name of arg-1 to "%{player::%arg-1's uuid%::rank::prefix}%%arg-1%"
- send "&6&l[*] &rYou've updated &e%arg-1%'s &rrank to &eAdmin" to player
- send "&6&l[*] &rYour rank has been updated to &eAdmin &rby &e%player%" to argument 1
- else if argument 2 is "jradmin" or "junioradmin":
- set {player::%arg-1's uuid%::rank} to "Junior Admin"
- set {player::%arg-1's uuid%::rank::prefix} to "&8[&cJuniorAdmin&8] &c"
- set tab list name of arg-1 to "%{player::%arg-1's uuid%::rank::prefix}%%arg-1%"
- send "&6&l[*] &rYou've updated &e%arg-1%'s &rrank to &eJunior Admin" to player
- send "&6&l[*] &rYour rank has been updated to &eJunior Admin &rby &e%player%" to argument 1
- else if argument 2 is "modplus" or "mod+":
- set {player::%arg-1's uuid%::rank} to "Mod Plus"
- set {player::%arg-1's uuid%::rank::prefix} to "&8[&9Moderator+&8] &9"
- set tab list name of arg-1 to "%{player::%arg-1's uuid%::rank::prefix}%%arg-1%"
- send "&6&l[*] &rYou've updated &e%arg-1%'s &rrank to &eMod Plus" to player
- send "&6&l[*] &rYour rank has been updated to &eMod Plus &rby &e%player%" to argument 1
- else if argument 2 is "mod":
- set {player::%arg-1's uuid%::rank} to "Mod"
- set {player::%arg-1's uuid%::rank::prefix} to "&8[&5Mod&8] &5"
- set tab list name of arg-1 to "%{player::%arg-1's uuid%::rank::prefix}%%arg-1%"
- send "&6&l[*] &rYou've updated &e%arg-1%'s &rrank to &eMod" to player
- send "&6&l[*] &rYour rank has been updated to &eMod &rby &e%player%" to argument 1
- else if argument 2 is "helper":
- set {player::%arg-1's uuid%::rank} to "Helper"
- set {player::%arg-1's uuid%::rank::prefix} to "&8[&dHelper&8] &d"
- set tab list name of arg-1 to "%{player::%arg-1's uuid%::rank::prefix}%%arg-1%"
- send "&6&l[*] &rYou've updated &ec%arg-1%'s &rrank to &eHelper" to player
- send "&6&l[*] &rYour rank has been updated to &eHelper &rby &e%player%" to argument 1
- else if argument 2 is "builder":
- set {player::%arg-1's uuid%::rank} to "Builder"
- set {player::%arg-1's uuid%::rank::prefix} to "&8[&aBuilder&8] &a"
- set tab list name of arg-1 to "%{player::%arg-1's uuid%::rank::prefix}%%arg-1%"
- send "&6&l[*] &rYou've updated &e%arg-1%'s &rrank to &eBuilder" to player
- send "&6&l[*] &rYour rank has been updated to &eBuilder &rby &e%player%" to argument 1
- else if argument 2 is "none" or "default":
- set {player::%arg-1's uuid%::rank} to "None"
- set {player::%arg-1's uuid%::rank::prefix} to "&7"
- set tab list name of arg-1 to "%{player::%arg-1's uuid%::rank::prefix}%%arg-1%"
- send "&6&l[*] &rYou've updated &e%arg-1%'s &rrank to &eNone" to player
- send "&6&l[*] &rYour rank has been updated to &eNone &rby &e%player%" to argument 1
- else:
- send "&cInvalid group title: Admin, JrAdmin, ModPlus, Mod, Helper, Builder or None"
- else:
- send "&cUnspecified argument(s): &n/rank <player> <rank>"
- else:
- send "&cUnspecified argument(s): &n/rank <player> <rank>"
- on first join:
- wait 3 ticks
- open chest with 1 row named "&8Terms and Conditions" to player
- format slot 4 of player with book named "" with lore "||&rBy playing on our server, you agree to the following: ||||&rAt any time we are allowed to freeze you and screenshare you||&rnot complying with us will result in a ban.||&rIf you purchase anything from our store, you agree||&rthat refunding will result in a blacklist from our server||&rif you purchase anything with another users name||&ryou cannot transfer it." to be unstealable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement