Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on load:
- broadcast "&8&m-------------------------"
- broadcast "&7Thank you for using the "
- broadcast "&7RONATIONS Custom HCF script"
- broadcast "&7This script was made by:"
- broadcast "&bXXXCanadian&8, &bGumboGubs "
- broadcast "&8&m-------------------------"
- command /staffchat [<text>]:
- aliases: /sc, /s,
- permission: {hcf.staffchat}
- permission message: &cSorry but that command has been DEINIED
- trigger:
- loop all players:
- if arg 1 is not set:
- message "&8[&aHCF&bX&8] &cError, use &7./staffchat [Message]"
- stop trigger
- if arg 1 is set:
- if loop-player has permission "hcf.staffchat":
- send "&7[&9StaffChat&7] &7%player% &9» &f%arg 1%"
- stop trigger
- # Admin Staff Chat
- command /adminchat [<text>]:
- aliases: /ac,
- permission: {hcf.adminchat}
- permission message: &cSorry but that command has been &c&lDEINIED
- trigger:
- loop all players:
- if arg 1 is not set:
- message "&8[&aHCF&bX&8] &cError, use &7./adminchat [Message]"
- stop trigger
- if arg 1 is set:
- if loop-player has permission "hcf.adminchat":
- send "&7[&cAdminChat&7] &7%player% &c» &f%arg 1%"
- stop trigger
- #Mod Staff Chat
- command /modchat [<text>]:
- aliases: /mc,
- permission: {hcf.modchat}
- permission message: &cSorry but that command has been &c&lDEINIED
- trigger:
- loop all players:
- if arg 1 is not set:
- message "&8[&aHCF&bX&8] &cError, use &7./modchat [Message]"
- stop trigger
- if arg 1 is set:
- if loop-player has permission "hcf.modchat":
- send "&7[&5ModChat&7] &7%player% &5» &f%arg 1%"
- stop trigger
- # Helper Staff Chat
- command /helperchat [<text>]:
- aliases: /hc,
- permission: {hcf.helperchat}
- permission message: &cSorry but that command has been &c&lDEINIED
- trigger:
- loop all players:
- if arg 1 is not set:
- message "&8[&aHCF&bX&8] &cError, use &7./helperchat [Message]"
- stop trigger
- if arg 1 is set:
- if loop-player has permission "hcf.helperchat":
- send "&7[&3HelperChat&7] &7%player% &3» &f%arg 1%"
- stop trigger
- # Donator Chat - Give this to people who donate
- command /donatorchat [<text>]:
- aliases: /dc,
- permission: {hcf.helperchat}
- permission message: &cSorry but that command has been &c&lDEINIED
- trigger:
- loop all players:
- if arg 1 is not set:
- message "&8[&aHCF&bX&8] &cError, use &7./donatorchat [Message]"
- stop trigger
- if arg 1 is set:
- if loop-player has permission "hcf.donatorchat":
- send "&7[&2DonatorChat&7] &7%player% &2» &f%arg 1%"
- stop trigger
- #Check your kills and deaths
- command /stats [<text>]:
- trigger:
- if arg 1 is not set:
- message "&7Kills&7: &c%{kills.%player%}%"
- message "&7Deaths&7: &c%{deaths.%player%}%"
- # CLEARCHAT - Clears Player Chat!
- command /clearchat [<text>]:
- aliases: /cc, /chatclear, /c,
- permission: {hcf.clearchat}
- permission message: &cSorry but that command has been &c&lDEINIED
- trigger:
- if arg 1 is not set:
- message "&8[&aHCF&bX&8] &cError, use &7./clearchat [Reason]"
- stop
- if arg 1 is set:
- loop 100 times:
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast " "
- broadcast "&bChat has been cleared by &3%player%&b for: &3%arg 1%"
- broadcast " "
- stop trigger
- # Rules Basic INFORMATION
- # If you want to know how JSON works with Skript -> http://dev.bukkit.org/bukkit-plugins/skript/forum/tutorials/68371-json-messages/
- command /rules:
- trigger:
- message "&7&m------------------------------------------------"
- message "&a &cGeneral &fInformation"
- message " "
- message "&7(Hover over each rule for more info!)"
- send json of "&31. &bInfo about Blacklist &7(Hover over)" tooltip "&4* &eIf you're &6blacklisted&e that means we &6no longer&e want you on &6our server&e. %new line%&4* &eBeing &6blacklisted&e meaning &6no chance&e on becoming &6unbanned." to player
- send json of "&32. &bHacked Clients" tooltip "&eAny &6mod ðat changes the way a player interacts with the server is considered a &6hacked client&e. %new line%&eThis contains things such as &6forcefield&e, &6clickaimbot&e, &6flying&e, etc. %new line%&4* &cFirst Offense &8- &3Permanent Ban." to player
- send json of "&33. &bX-Ray / Radar" tooltip "&eAny &6mod ðat let's &6you see entities&e or let's you see &6through blocks&e are bannable.%new line%&4*&c First Offense &8- &32 week ban. %new line%&4*&c Second Offense &8- &31 month ban." to player
- send json of "&34. &bMacros / Autoclicking" tooltip "&eModifying your mouse in &6ANYWAY&e is &6not allowed&e. %new line%&eDoing &6anything to make your &6mouse double click&e or &6click twice in one motion is not allowed&e. %new line%&4* &cFirst Offense &8- &3Permanent Ban." to player
- send json of "&35. &bInappropriate Chat Content (Spam)" tooltip "&6Players&e who we consider &6serial offenders&e will be &6permanently muted.%new line%&4* &cFirst Offense &8- &310 minute mute%new line%&4* &cSecond Offense &8- &330 minute mute%new line%&4* &cThird Offense &8- &31 hour mute%new line%&4* &cFourth Offense &8- &31 day mute%new line%&4* &cFifth Offense &8- &3Permanent mute" to player
- send json of "&36. &bInappropriate Links in Chat" tooltip "&ePosting &6offensive links&e in chat (Ex: &6porn links&e, &6self-harm links&e, &6etc...&e)%new line%&4* &cFirst Offense &8- &35 minute mute%new line%&4* &cSecond Offense &8- &330 minute mute%new line%&4* &cThird Offense &8- &31 hour mute%new line%&4* &cFourth Offense &8- &32 day mute%new line%&4* &cFifth Offense &8- &3Permanent mute" to player
- send json of "&37. &bCobble Monsters/Water Griefing" tooltip "&eAny type of &6Cobble Monster&e or &6Water Grief&e will not be &6tolerated&e on our server! %new line%&4* &cFirst Offence &8- &3Warn%new line%&4* &cSecond Offence &8- &3Kick%new line%&4* &cThird Offence &8- &33 day ban" to player
- message " "
- message "&7For more assistance use the command /helpop or ./ask (message)"
- message "&7&m--------------------------------------------------"
- # helpop- For player help
- command /helpop [<text>]:
- aliases: /request, /req, /ask,
- trigger:
- loop all players:
- if arg 1 is not set:
- message "&8[&aHCF&bX&8] &cError, use &7./helpop [Reason]"
- stop trigger
- set {_waited} to difference between {helpop.%player%.lastused} and now
- if {_waited} is less than {hcf.helpop}:
- message "&cError, &eYou can't use helpop for another &d%difference between {hcf.helpop} and {_waited}%"
- stop trigger
- if arg 1 is set:
- if loop-player has permission "{hcf.helpop}":
- send "&7[&cHelpOp&7] &f%player%:&7 %arg 1%" to loop-player
- message "&aYour helpop message has been sent to our staff team and will be dealt with shortly."
- set {helpop.%player%.lastused} to now
- #Muteall - Mutes the chat for all players
- command /mutechat:
- permission: hcf.mute
- permission message: §cNo.
- executable by: players and console
- trigger:
- if {muteall} is not set:
- set {muteall} to true
- broadcast "&bThe chat has been &3muted&b by &3%player%&e"
- else:
- delete {muteall}
- broadcast "&bThe chat has been &3unmuted&b by &3%player%&e"
- on chat:
- {muteall} is true
- player does not have permission "hcf.bypass"
- cancel the event
- message "&bThe chat is currently &3Muted!"
- #Lockchat - Mutes the chat for all players
- command /lockchat:
- permission: hcf.mute
- permission message: §cNo.
- executable by: players and console
- trigger:
- if {muteall} is not set:
- set {muteall} to true
- broadcast "&bThe chat has been &3muted&b by &3%player%&b"
- else:
- delete {muteall}
- broadcast "&bThe chat has been &3unmuted&b by &3%player%&b"
- on chat:
- {muteall} is true
- player does not have permission "hcf.bypass"
- cancel the event
- message "&bThe chat is currently &3Muted!"
- command /hcf+:
- trigger:
- message "&aHCF&bX&7[&cCustom Plugin&7]&7 - &e(Made By XXXCanadian, GumboGubs)"
- wait 1 tick
- command /hcf info:
- trigger:
- message "&aHCF&bX&7[&cCustom Plugin&7]&7 - &e(Made By XXXCanadian, GumboGubs)"
- wait 1 tick
- command /Staff:
- permission: hcf.staff
- aliases: /h
- trigger:
- if {staffmode} is false:
- clear player's inventory
- message "&8[&aHCF&bX&8]Staff 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 "&cHacker &fSlayer"
- enchant the player's slot 1 with sharpness 100
- set {staffmode} to true
- make player execute command "/gamemode c"
- else:
- message "&8[&aHCF&bX&8]Staff 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 "&8[&aHCF&bX&8] Teleported to &c%{_random}%"
- else:
- message "&cSorry but that command has been &c&lDEINIED"
- 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[&aHCF&bX&8] Vanish has been &cDisabled"
- else:
- make player execute command "/vanish"
- message "&8[&aHCF&bX&8] Vanish has been &aEnabled"
- set {vanish} to true
- else:
- message "&cSorry but that command has been &c&lDEINIED"
- 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[&aHCF&bX&8] &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}
- # Something
- on sign change:
- if player doesn't have permission "hcf.kits":
- send "&cYou have insufficient permissions!"
- stop
- if player has permission "hcf.kits":
- line 2 is "[HCF]":
- line 3 is "Diamond":
- set line 1 to "&7&m---------------------------"
- set line 2 to "&7[&c*&7]"
- set line 3 to "&2PvP Class"
- set line 4 to "&7&m---------------------------"
- stop
- # Something more
- on rightclick on sign:
- line 2 of the clicked block is "&7[&c*&7]":
- line 3 of the clicked block is "&2PvP Class":
- set {_waited} to difference between {hcf.%player%.lastused} and now
- if {_waited} is less than 10 seconds:
- message "&cError, You can use this kit in &4%difference between 10 seconds and {_waited}%"
- set line 1 to "&4ERROR:"
- set line 2 to "&7Cant use kit"
- set line 3 to "&7for another"
- set line 4 to "&3%difference between 10 seconds and {_waited}%"
- wait 1 seconds
- set line 1 to "&7&m---------------------------"
- set line 2 to "&7[&c*&7]"
- set line 3 to "&2PvP Class"
- set line 4 to "&7&m---------------------------"
- stop
- else:
- set {hcf.%player%.lastused} to now
- wait 3 seconds
- set line 3 to "&aKit Activated!"
- set slot 0 of player to diamond sword
- enchant the player's slot 0 with unbreaking 3
- enchant the player's slot 0 with sharpness 1
- set slot 1 of player to 16 ender pearl
- set slot 2 of player to unextended splash Health potion II item
- set slot 3 of player to unextended splash Health potion II item
- set slot 4 of player to unextended splash Health potion II item
- set slot 5 of player to unextended splash Health potion II item
- set slot 6 of player to extended Fire Resistance potion item
- set slot 7 of player to unextended Swiftness potion II item
- set slot 8 of player to 64 golden carrot
- set slot 9 of player to unextended splash Health potion II item
- set slot 10 of player to unextended splash Health potion II item
- set slot 11 of player to unextended splash Health potion II item
- set slot 12 of player to unextended splash Health potion II item
- set slot 13 of player to unextended splash Health potion II item
- set slot 14 of player to unextended splash Health potion II item
- set slot 15 of player to unextended splash Health potion II item
- set slot 16 of player to unextended splash Health potion II item
- set slot 17 of player to unextended Swiftness potion II item
- set slot 18 of player to unextended splash Health potion II item
- set slot 19 of player to unextended splash Health potion II item
- set slot 20 of player to unextended splash Health potion II item
- set slot 21 of player to unextended splash Health potion II item
- set slot 22 of player to unextended splash Health potion II item
- set slot 23 of player to unextended splash Health potion II item
- set slot 24 of player to unextended splash Health potion II item
- set slot 24 of player to unextended splash Health potion II item
- set slot 25 of player to unextended splash Health potion II item
- set slot 26 of player to unextended Swiftness potion II item
- set slot 27 of player to unextended splash Health potion II item
- set slot 28 of player to unextended splash Health potion II item
- set slot 29 of player to unextended splash Health potion II item
- set slot 30 of player to unextended splash Health potion II item
- set slot 31 of player to unextended splash Health potion II item
- set slot 32 of player to unextended splash Health potion II item
- set slot 33 of player to unextended splash Health potion II item
- set slot 34 of player to unextended splash Health potion II item
- set slot 35 of player to unextended Swiftness potion II item
- equip player with diamond boots
- enchant the player's boots with unbreaking 3
- enchant the player's boots with protection 1
- enchant the player's boots with feather falling 4
- equip player with diamond leggings
- enchant the player's leggings with unbreaking 3
- enchant the player's leggings with protection 1
- equip player with diamond chestplate
- enchant the player's chestplate with unbreaking 3
- enchant the player's chestplate with protection 1
- equip player with diamond helmet
- enchant the player's helmet with unbreaking 3
- enchant the player's helmet with protection 1
- message "&8[&e*&8]&e Succesfully equpied &6PvP &eclass"
- # Something
- on sign change:
- if player doesn't have permission "hcf.kits":
- send "&cYou have insufficient permissions!"
- stop
- if player has permission "hcf.kits":
- line 2 is "[HCF]":
- line 3 is "Bard":
- set line 1 to "&7&m---------------------------"
- set line 2 to "&7[&c*&7]"
- set line 3 to "&6Bard Class"
- set line 4 to "&7&m---------------------------"
- stop
- # Something more
- on rightclick on sign:
- line 2 of the clicked block is "&7[&c*&7]":
- line 3 of the clicked block is "&6Bard Class":
- set {_waited} to difference between {hcf.%player%.lastused} and now
- if {_waited} is less than 10 seconds:
- message "&cError, You can use this kit in &4%difference between 10 seconds and {_waited}%"
- set line 1 to "&4ERROR:"
- set line 2 to "&7Cant use kit"
- set line 3 to "&7for another"
- set line 4 to "&3%difference between 10 seconds and {_waited}%"
- wait 1 seconds
- set line 1 to "&7&m---------------------------"
- set line 2 to "&7[&c*&7]"
- set line 3 to "&6Bard Class"
- set line 4 to "&7&m---------------------------"
- stop
- else:
- set {hcf.%player%.lastused} to now
- wait 3 seconds
- set line 3 to "&aKit Activated!"
- set slot 0 of player to diamond sword
- enchant the player's slot 0 with unbreaking 3
- enchant the player's slot 0 with sharpness 1
- set slot 1 of player to 16 ender pearl
- set slot 2 of player to 64 blaze powder
- set slot 3 of player to 32 sugar
- set slot 4 of player to 32 iron ingots
- set slot 5 of player to 32 ghast tears
- set slot 6 of player to unextended splash Health potion II item
- set slot 7 of player to unextended splash Health potion II item
- set slot 8 of player to 64 golden carrot
- set slot 9 of player to unextended splash Health potion II item
- set slot 10 of player to unextended splash Health potion II item
- set slot 11 of player to unextended splash Health potion II item
- set slot 12 of player to unextended splash Health potion II item
- set slot 13 of player to unextended splash Health potion II item
- set slot 14 of player to unextended splash Health potion II item
- set slot 15 of player to unextended splash Health potion II item
- set slot 16 of player to unextended splash Health potion II item
- set slot 17 of player to unextended splash Health potion II item
- set slot 18 of player to unextended splash Health potion II item
- set slot 19 of player to unextended splash Health potion II item
- set slot 20 of player to unextended splash Health potion II item
- set slot 21 of player to unextended splash Health potion II item
- set slot 22 of player to unextended splash Health potion II item
- set slot 23 of player to unextended splash Health potion II item
- set slot 24 of player to unextended splash Health potion II item
- set slot 24 of player to unextended splash Health potion II item
- set slot 25 of player to unextended splash Health potion II item
- set slot 26 of player to unextended splash Health potion II item
- set slot 27 of player to unextended splash Health potion II item
- set slot 28 of player to unextended splash Health potion II item
- set slot 29 of player to unextended splash Health potion II item
- set slot 30 of player to unextended splash Health potion II item
- set slot 31 of player to unextended splash Health potion II item
- set slot 32 of player to unextended splash Health potion II item
- set slot 33 of player to unextended splash Health potion II item
- set slot 34 of player to unextended splash Health potion II item
- set slot 35 of player to unextended splash Health potion II item
- equip player with gold boots
- enchant the player's boots with unbreaking 3
- enchant the player's boots with protection 1
- enchant the player's boots with feather falling 4
- equip player with gold leggings
- enchant the player's leggings with unbreaking 3
- enchant the player's leggings with protection 1
- equip player with gold chestplate
- enchant the player's chestplate with unbreaking 3
- enchant the player's chestplate with protection 1
- equip player with gold helmet
- enchant the player's helmet with unbreaking 3
- enchant the player's helmet with protection 1
- message "&8[&e*&8]&e Succesfully equpied &6Bard &eclass"
- # Something
- on sign change:
- if player doesn't have permission "hcf.kits":
- send "&cYou have insufficient permissions!"
- stop
- if player has permission "hcf.kits":
- line 2 is "[HCF]":
- line 3 is "Archer":
- set line 1 to "&7&m---------------------------"
- set line 2 to "&7[&c*&7]"
- set line 3 to "&cArcher Clas"
- set line 4 to "&7&m---------------------------"
- stop
- # Something more
- on rightclick on sign:
- line 2 of the clicked block is "&7[&c*&7]":
- line 3 of the clicked block is "&cArcher Class":
- set {_waited} to difference between {hcf.%player%.lastused} and now
- if {_waited} is less than 10 seconds:
- message "&cError, You can use this kit in &4%difference between 10 seconds and {_waited}%"
- set line 1 to "&4ERROR:"
- set line 2 to "&7Cant use kit"
- set line 3 to "&7for another"
- set line 4 to "&3%difference between 10 seconds and {_waited}%"
- wait 1 seconds
- set line 1 to "&7&m---------------------------"
- set line 2 to "&7[&c*&7]"
- set line 3 to "&cArcher Clas"
- set line 4 to "&7&m---------------------------"
- stop
- else:
- set {hcf.%player%.lastused} to now
- wait 3 seconds
- set line 3 to "&aKit Activated!"
- set slot 0 of player to diamond sword
- enchant the player's slot 0 with unbreaking 3
- enchant the player's slot 0 with sharpness 1
- set slot 1 of player to 16 ender pearl
- set slot 2 of player to 64 sugar
- set slot 3 of player to unextended splash Health potion II item
- set slot 4 of player to unextended splash Health potion II item
- set slot 5 of player to unextended splash Health potion II item
- set slot 6 of player to unextended splash Health potion II item
- set slot 7 of player to unextended splash Health potion II item
- set slot 8 of player to 64 golden carrot
- set slot 9 of player to bow
- set slot 10 of player to unextended splash Health potion II item
- set slot 11 of player to unextended splash Health potion II item
- set slot 12 of player to unextended splash Health potion II item
- set slot 13 of player to unextended splash Health potion II item
- set slot 14 of player to unextended splash Health potion II item
- set slot 15 of player to unextended splash Health potion II item
- set slot 16 of player to unextended splash Health potion II item
- set slot 17 of player to unextended splash Health potion II item
- set slot 18 of player to unextended splash Health potion II item
- set slot 19 of player to unextended splash Health potion II item
- set slot 20 of player to unextended splash Health potion II item
- set slot 21 of player to unextended splash Health potion II item
- set slot 22 of player to unextended splash Health potion II item
- set slot 23 of player to unextended splash Health potion II item
- set slot 24 of player to unextended splash Health potion II item
- set slot 24 of player to unextended splash Health potion II item
- set slot 25 of player to unextended splash Health potion II item
- set slot 26 of player to unextended splash Health potion II item
- set slot 27 of player to unextended splash Health potion II item
- set slot 28 of player to unextended splash Health potion II item
- set slot 29 of player to unextended splash Health potion II item
- set slot 30 of player to unextended splash Health potion II item
- set slot 31 of player to unextended splash Health potion II item
- set slot 32 of player to unextended splash Health potion II item
- set slot 33 of player to unextended splash Health potion II item
- set slot 34 of player to unextended splash Health potion II item
- set slot 35 of player to unextended splash Health potion II item
- equip player with leather boots
- enchant the player's boots with unbreaking 3
- enchant the player's boots with protection 1
- enchant the player's boots with feather falling 4
- equip player with leather leggings
- enchant the player's leggings with unbreaking 3
- enchant the player's leggings with protection 1
- equip player with leather chestplate
- enchant the player's chestplate with unbreaking 3
- enchant the player's chestplate with protection 1
- equip player with leather helmet
- enchant the player's helmet with unbreaking 3
- enchant the player's helmet with protection 1
- message "&8[&e*&8]&e Succesfully equpied &6Archer &eclass"
- 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 "&7[&cHCF+&7] &e%player%&e has found &d%{_diamondore}% &ediamonds&e!"
- on place of tnt:
- cancel event
- on craft of golden apple:
- cancel event
- on rightclick with ender pearl:
- if {cooldown::%player%} is set:
- if {cooldown::%player%} was less than seconds ago:
- send "&cYou need to wait 3 seconds between throws!"
- cancel event
- stop
- remove 1 ender pearl from player
- set {cooldown::%player%} to now
- command /ping [<player>]:
- aliases: /p
- trigger:
- if arg 1 is not set:
- send "&6%player%'s Ping: &e%player's ping% ms"
- else:
- send "&6%player-arg%'s Ping: &e%player-arg's ping% ms "
- on join:
- player has permission "*"
- message “&command /hcf info:
- trigger:
- message "&aHCF&bX&7 - &HAVE FUN!
- command /info:
- trigger:
- message "&aHCF&bX&7[&cCustom Plugin&7]&7
- on first join:
- set {togglechat.%player%.toggle} to false
- on chat:
- cancel event
- if {togglechat.%player%.toggle} is false:
- send “&cYour chat has been disabled” to player
- stop
- loop all players:
- if {togglechat.%loop-player%.toggle} is true:
- send "&c%player%&7: &f%message%" to loop-player
Add Comment
Please, Sign In to add comment