Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # FactionsX Secret Commands #
- Command /help:
- trigger:
- send "&7---[&cFactions&4X&7]---"
- send "&b/help &7- &3Opens the help menu"
- send "&b/f &7- &3Opens the Factions"
- send "&b/buy &7- &3Opens the Buycraft menu"
- send "&b/playtime &7- &3Shows your correct playtime"
- send "&b/tag &7- &3Chek your Combat Tag"
- send "&b/report &7- &3Lets you report rule breakers"
- send "&b/nv &7- &3Lets donators have Night Vision"
- send "&b/f chat &7- &3Lets you toggle Faction / Alliance chat"
- send "&b/sethome &7- &3Lets you set a home"
- send "&b/home &7- &3Lets you teleport to your home"
- send "&b/spawn &7- &3Lets you warp to spawn"
- send "&b/tpa &7- &3Lets you teleport to a player"
- send "&b/cps &7- &3Lets you run a cps test on yourself for 10 seconds"
- send "&b/pv &7- &3Lets you open your Player Vault"
- send "&7---[&cFactions&4X&7]---"
- command /nv [<text>]:
- permission: donator.nightvision
- permission message: &cYou do not have access to this command.
- trigger:
- if arg 1 is not set:
- if player has permission "donator.nightvision":
- message "&cIncorrect usage. Try, /nv [on/off]"
- if arg 1 is set:
- if arg 1 is "on":
- if player has permission "donator.nightvision":
- execute console command "/effect %player% 16 1000000 2"
- message "&9You have activated night vision!"
- if arg 1 is set:
- if arg 1 is "off":
- if player has permission "donator.nightvision":
- execute console command "/effect %player% clear"
- message "&9You have disabled night vision!"
- on right click holding a Sugar:
- make console execute command "/effect %player% speed 5 1"
- remove 1 sugar from the player's tool
- message "&aYou feel as if you are able to move more swiftly after eating that sugar!"
- stop
- command /cps [<player>]:
- usage: /cps <player>
- trigger:
- if arg 1 is set:
- if player have permission "pro.cps.other":
- if {autoclick.%arg 1%} is false:
- set {autoclick.%arg 1%} to true
- wait 1 second
- send "&4%arg 1% clicked %{sec.click.%arg 1%}% times this second"
- clear {sec.click.%arg 1%}
- wait 1 second
- send "&4%arg 1% clicked %{sec.click.%arg 1%}% times this second"
- clear {sec.click.%arg 1%}
- wait 1 second
- send "&4%arg 1% clicked %{sec.click.%arg 1%}% times this second"
- clear {sec.click.%arg 1%}
- wait 1 second
- send "&4%arg 1% clicked %{sec.click.%arg 1%}% times this second"
- clear {sec.click.%arg 1%}
- wait 1 second
- send "&4%arg 1% clicked %{sec.click.%arg 1%}% times this second"
- clear {sec.click.%arg 1%}
- wait 1 second
- send "&4%arg 1% clicked %{sec.click.%arg 1%}% times this second"
- clear {sec.click.%arg 1%}
- wait 1 second
- send "&4%arg 1% clicked %{sec.click.%arg 1%}% times this second"
- clear {sec.click.%arg 1%}
- wait 1 second
- send "&4%arg 1% clicked %{sec.click.%arg 1%}% times this second"
- clear {sec.click.%arg 1%}
- wait 1 second
- send "&4%arg 1% clicked %{sec.click.%arg 1%}% times this second"
- clear {sec.click.%arg 1%}
- wait 1 second
- send "&4%arg 1% clicked %{sec.click.%arg 1%}% times this second"
- send "&c%arg 1% &7has &c%{player.click.%arg 1%}/10% cps &7( &c%{player.click.%arg 1%}% clicks in 10 seconds )" to player
- clear {player.click.%arg 1%}
- clear {sec.click.%arg 1%}
- set {autoclick.%arg 1%} to false
- else:
- send "&4%arg 1% already have a cps checking him"
- else:
- send "&6You don't have permission to check cps of other players"
- if arg 1 is not set:
- if player have permission "pro.cps.me":
- if {autoclick.%player%} is false:
- set {autoclick.%player%} to true
- wait 1 second
- send "&6You clicked %{sec.click.%player%}% times this second"
- clear {sec.click.%player%}
- wait 1 second
- send "&6You clicked %{sec.click.%player%}% times this second"
- clear {sec.click.%player%}
- wait 1 second
- send "&6You clicked %{sec.click.%player%}% times this second"
- clear {sec.click.%player%}
- wait 1 second
- send "&6You clicked %{sec.click.%player%}% times this second"
- clear {sec.click.%player%}
- wait 1 second
- send "&6You clicked %{sec.click.%player%}% times this second"
- clear {sec.click.%player%}
- wait 1 second
- send "&6You clicked %{sec.click.%player%}% times this second"
- clear {sec.click.%player%}
- wait 1 second
- send "&6You clicked %{sec.click.%player%}% times this second"
- clear {sec.click.%player%}
- wait 1 second
- send "&6You clicked %{sec.click.%player%}% times this second"
- clear {sec.click.%player%}
- wait 1 second
- send "&6You clicked %{sec.click.%player%}% times this second"
- clear {sec.click.%player%}
- wait 1 second
- send "&6You clicked %{sec.click.%player%}% times this second"
- clear {sec.click.%player%}
- broadcast "&c%player% &7has &c%{player.click.%player%}/10% cps &7( &c%{player.click.%player%}% &7clicks in 10 seconds )"
- clear {player.click.%player%}
- clear {sec.click.%player%}
- set {autoclick.%player%} to false
- else:
- send "&4there is already a cps check running on you"
- else:
- send "&6You don't have permission to check your cps"
- on join:
- set {autoclick.%player%} to false
- on left click:
- {autoclick.%player%} is true
- add 1 to {player.click.%player%}
- add 1 to {sec.click.%player%}
Add Comment
Please, Sign In to add comment