Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mine of diamond ore:
- {diamonds::%player%::%location of event-block%} is not set
- loop blocks in radius 5 around block:
- loop-block is diamond ore:
- add 1 to {_diamondore}
- set {diamonds::%player%::%location of loop-block%} to true
- broadcast "&8[&b&lFX&8] &b%player%&7 has found &b%{_diamondore}% &7diamonds!"
- command /ping [<player>]:
- aliases: /p
- trigger:
- if arg 1 is not set:
- send "&8[&b&lFX&8] &b%player%'s Ping: &7%player's ping% ms"
- else:
- send "&8[&b&lFX&8] &b%player-arg%'s Ping: &7%player-arg's ping% ms "
- command /stats [<text>]:
- trigger:
- if arg 1 is not set:
- message "&7Kills&7: &c%{kills.%player%}%"
- message "&7Deaths&7: &c%{deaths.%player%}%"
- on craft of golden apple:
- cancel event
- command /Staff:
- permission: hcf.staff
- aliases: /h
- trigger:
- if {staffmode} is false:
- clear player's inventory
- message "&8[&b&lFX&8] &bStaff Mode: &aEnabled"
- wait 1 tick
- equip player with chain leggings
- wait 1 tick
- enchant the player's leggings with unbreaking 3
- enchant the player's leggings with protection 1
- wait 1 tick
- set slot 5 of player to a emerald named "&aPlayer Teleport"
- wait 1 tick
- set slot 7 of player to a nether star named "&bVanish &7(Become Invisible)"
- wait 1 tick
- set slot 0 of player to a compass named "&cTeleporter &7(Teleport To Players)"
- wait 1 tick
- set slot 8 of player to a lead named "&9Follower &7(Follow Players Around) "
- set slot 1 of player to a diamond sword named "&c&lHacker &f&lSlayer"
- enchant the player's slot 1 with sharpness 100
- set {staffmode} to true
- make player execute command "/gamemode c"
- else:
- message "&8[&b&lFX&8] &bStaff Mode: &cDisabled"
- set {staffmode} to false
- wait 1 tick
- clear player's inventory
- make player execute command "/gamemode s"
- on break:
- if {staffmode} is true:
- cancel event
- on place:
- if {staffmode} is true:
- cancel event
- on damage:
- if {on.%attacker%} is true:
- cancel event
- if {on.%victim%} is true:
- cancel event
- on respawn:
- if player has permission " hcf.staff":
- if {staffmode} is true:
- make player execute command "/staff"
- set {staffmode} to false
- on right click with emerald:
- if player is holding a emerald named "&aPlayer Teleport":
- if player has permission "hcf.staff":
- set {_random} to a random player out of all players
- while {_random} is name of player:
- set {_random} to a random player out of all players
- wait 1 tick
- if {_random} is not name of player:
- teleport player 1 behind {_random}
- send "&7[&9&lHCF&7] Teleported to &c%{_random}%"
- else:
- message "&c&lNo"
- on right click with nether star:
- if player is holding a nether star named "&bVanish &7(Become Invisible)":
- if player has permission "hcf.staff":
- if {vanish} is true:
- set {vanish} to false
- make player execute command "/vanish"
- message "&8[&b&lFX&8] &b Vanish has been &cDisabled"
- else:
- make player execute command "/vanish"
- message "&8[&b&lFX&8] &b Vanish has been &aEnabled"
- set {vanish} to true
- else:
- message "&c&lNo"
- on inventory click:
- if {staffmode} is true:
- cancel event
- on right click with lead:
- if player is holding a lead named "&9Follower &7(Follow Players Around) ":
- if player has permission "hcf.staff":
- if entity's target is a player:
- set {_name} to "%target entity%" parsed as a player
- send "&8[&b&lFX&8] &b &7You now follow &9%{_name}%"
- make player ride {_name}
- on drop:
- if {staffmode} is true:
- if player has permission "hcf.staff":
- if event-item is a emerald:
- cancel event
- if event-item is a nether star:
- cancel event
- if event-item is a compass:
- cancel event
- if event-item is a lead:
- cancel event
- if event-item is a white stained glass pane:
- cancel event
- on right click:
- if {staffmode} is true:
- if player has permission "hcf.staff":
- if event-item is a emerald:
- cancel event
- if event-item is a nether star:
- cancel event
- if event-item is a compass:
- cancel event
- if event-item is a lead:
- cancel event
- on left click:
- if {staffmode} is true:
- if player has permission "hcf.staff":
- if event-item is a emerald:
- cancel event
- if event-item is a nether star:
- cancel event
- if event-item is a compass:
- cancel event
- if event-item is a lead:
- cancel event
- on rightclick on chest:
- if {on.%player%} is true:
- cancel event
- loop items in clicked chest:
- add loop-item to {_item::*}
- wait 3 ticks
- set {_slot} to 0
- open chest with 6 row named "&3Chest" to player
- loop {_item::*}:
- format slot {_slot} of player with loop-value named "" with lore "" to be unstealable
- add 1 to {_slot}
- add 1 to {_slot}
- # Donator Chat - Give this to people who donate
- command /donatorchat [<text>]:
- aliases: /dc,
- permission: {hcf.helperchat}
- permission message: &c&lNo
- trigger:
- loop all players:
- if arg 1 is not set:
- message "&8[&b&lFX&8] &cError, use &7./donatorchat [Message]"
- stop trigger
- if arg 1 is set:
- if loop-player has permission "hcf.donatorchat":
- send "&7[&3&lDonatorChat&7] &7%player% &2ยป &f%arg 1%"
Advertisement
Add Comment
Please, Sign In to add comment