Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Logo: &e[&6TeamTC&e] &a
- command /tools:
- aliases: /hubtools
- trigger:
- clear the player's inventory
- wait 1 tick
- set slot 0 of player to 1 compass named "{@Logo}Server Selector"
- set slot 1 of player to 1 quartz item named "{@Logo}Speed"
- set slot 2 of player to 1 clock named "{@Logo}Hide Players"
- set slot 3 of player to 1 diamond named "{@Logo}Donator Tools"
- on join:
- clear the player's inventory
- wait 1 tick
- set slot 0 of player to 1 compass named "{@Logo}Server Selector"
- set slot 1 of player to 1 quartz item named "{@Logo}Speed"
- set slot 2 of player to 1 clock named "{@Logo}Hide Players"
- set slot 3 of player to 1 diamond named "{@Logo}Donator Tools"
- if {speed.%player%} is not set:
- set {speed.%player%} to false
- if {hiddenplayers.%player%} is not set:
- set {hiddenplayers.%player%} to false
- if {disco.%player%} is not set:
- set {disco.%player%} to false
- loop all players:
- if {hiddenplayers.%loop-player%} is true:
- hide player from loop-player
- on build:
- if player does not have permission "TC.Admin":
- cancel event
- on break:
- if player does not have permission "TC.Admin":
- cancel event
- on drop:
- if player does not have permission "TC.Admin":
- cancel event
- on pickup:
- if player has permission "TC.Admin":
- stop
- else:
- cancel event
- on inventory click:
- if player does not have permission "TC.Admin":
- cancel event
- on left click:
- if player's tool is diamond horse armor:
- if name of player's tool is "{@Logo}Paintball Gun":
- if {paintballdelay.%player%} is true:
- stop
- else:
- set {paintballdelay.%player%} to true
- if player's tool is a diamond horse armor:
- if name of held item is "{@Logo}Paintball Gun":
- loop 3 times:
- make the player shoot a snowball at speed 3
- play raw sound "fireworks.blast" at player with pitch 2 volume 0.6
- wait 3 ticks
- wait 5 ticks
- set {paintballdelay.%player%} to false
- on right click:
- #if player's tool is a compass:
- # if name of player's tool is "{@Logo}Server Selector":
- # send "&aJhopp, do shit."
- if player's tool is a quartz item:
- if name of player's tool is "{@Logo}Speed":
- cancel event
- if {speed.%player%} is true:
- set {speed.%player%} to false
- send "{@Logo}Speed toggled off!"
- remove speed from player
- remove jump boost from player
- else:
- set {speed.%player%} to true
- send "{@Logo}Speed toggled on!"
- apply speed 4 to player for 999 days
- apply jump boost 1 to player for 999 days
- if player's tool is a clock:
- if name of player's tool is "{@Logo}Hide Players":
- cancel event
- if {hiddenplayers.%player%} is true:
- set {hiddenplayers.%player%} to false
- send "{@Logo}All players are now visible!"
- reveal all players to player
- else:
- set {hiddenplayers.%player%} to true
- send "{@Logo}All players are hidden!"
- hide all players from player
- if player's tool is a diamond:
- if name of player's tool is "{@Logo}Donator Tools":
- cancel event
- if player does not have permission "TC.VIP":
- send "{@Logo} &cThis is a donator only feature."
- send "&aDonator tools currently include &bpainball gun&f, &bhats &6(disco armor and particle trails soon)"
- stop
- else:
- clear the player's inventory
- wait 1 tick
- set player's current hotbar slot to 5
- set slot 0 of player to 1 redstone dust named "{@Logo}Trails"
- set slot 1 of player to player's skull named "{@Logo}Hats"
- set slot 2 of player to 1 diamond horse armor named "{@Logo}Paintball Gun"
- #set slot 3 of player to 1 leather helmet named "{@Logo}Disco Armor"
- set player's slot 8 to 1 arrow named "{@Logo}Back to Hub Tools"
- if player's tool is an arrow:
- if name of player's tool is "{@Logo}Back to Hub Tools":
- cancel event
- clear the player's inventory
- wait 1 tick
- set slot 0 of player to 1 compass named "{@Logo}Server Selector"
- set slot 1 of player to 1 quartz item named "{@Logo}Speed"
- set slot 2 of player to 1 clock named "{@Logo}Hide Players"
- set slot 3 of player to 1 diamond named "{@Logo}Donator Tools"
- if player's tool is diamond horse armor:
- if name of player's tool is "{@Logo}Paintball Gun":
- cancel event
- make the player shoot a snowball at speed 2.5
- play raw sound "fireworks.blast" at player with pitch 2 volume 0.5
- if player's tool is player head:
- if name of player's tool is "{@Logo}Hats":
- cancel event
- open chest with 3 rows named "{@Logo}Hat Selector" to player
- wait 1 tick
- format slot 0 of player with 1 dirt named "&aDirt Hat" to close then run "hat 1 %player%"
- format slot 1 of player with 1 stone named "&aStone Hat" to close then run "hat 2 %player%"
- format slot 2 of player with 1 cobblestone named "&aCobble Hat" to close then run "hat 3 %player%"
- format slot 3 of player with 1 mossy cobblestone named "&aMossy Hat" to close then run "hat 4 %player%"
- format slot 4 of player with 1 fancy stone brick named "&aChiseled Brick Hat" to close then run "hat 5 %player%"
- format slot 5 of player with 1 brick block named "&aBrick Hat" to close then run "hat 6 %player%"
- format slot 6 of player with 1 note block named "&aNote Block" to close then run "hat 7 %player%"
- format slot 7 of player with 1 ice named "&aIce" to close then run "hat 8 %player%"
- format slot 8 of player with 1 bedrock named "&aBedrock" to close then run "hat 9 %player%"
- format slot 9 of player with 1 melon named "&aMelon Hat" to close then run "hat 10 %player%"
- format slot 10 of player with 1 jack-o-lantern named "&aJack o'Lantern" to close then run "hat 11 %player%"
- format slot 11 of player with 1 tnt named "&aTNT" to close then run "hat 12 %player%"
- format slot 12 of player with 1 snow block named "&aSnow" to close then run "hat 13 %player%"
- format slot 13 of player with 1 block of coal named "&aCoal Hat" to close then run "hat 14 %player%"
- format slot 14 of player with 1 nether brick block named "&aNether Brick" to close then run "hat 15 %player%"
- format slot 15 of player with 1 glowstone named "&aGlowstone" to close then run "hat 16 %player%"
- format slot 16 of player with 1 obsidian named "&aObsidian" to close then run "hat 17 %player%"
- format slot 17 of player with 1 end stone named "&aEnd Stone" to close then run "hat 18 %player%"
- format slot 18 of player with 1 diamond block named "&aDiamond Block" to close then run "hat 19 %player%"
- format slot 19 of player with 1 emerald block named "&aEmerald Block" to close then run "hat 20 %player%"
- format slot 20 of player with 1 gold block named "&aGold Block" to close then run "hat 21 %player%"
- format slot 21 of player with 1 iron block named "&aIron Block" to close then run "hat 22 %player%"
- format slot 22 of player with 1 lapis block named "&aLapis Block" to close then run "hat 23 %player%"
- format slot 23 of player with 1 redstone block named "&aRedstone" to close then run "hat 24 %player%"
- format slot 24 of player with 1 quartz block named "&aQuartz Block" to close then run "hat 25 %player%"
- format slot 25 of player with 1 packed ice named "&aPacked Ice" to close then run "hat 26 %player%"
- format slot 26 of player with 1 ender pearl of unbreaking 10 named "&bRemove Hat" to close then run "hat none %player%"
- if player's tool is a compass:
- if name of player's tool is "{@Logo}Server Selector":
- cancel event
- open chest with 4 rows named "{@Logo}Servers" to player
- wait 1 tick
- format slot 11 of player with 1 grass block named "{@Logo}Survival" with lore "||&aClick to connect!||&bCome play some classic||&bsurvival with your fellow ThnxCyian's!||&0" to close then run "sudo %player% server survival"
- format slot 13 of player with 1 nether star named "{@Logo}Coming eventually" with lore "||&aWhat's this?||&bWhat will this be?||&0" to close then run "sudo %player% whatisthis"
- format slot 15 of player with 1 diamond block named "{@Logo}Creative" with lore "||&aClick to connect!||&bBuild to your hearts desire!||&0" to close then run "sudo %player% server creative"
- format slot 21 of player with 1 cobblestone named "{@Logo}SkyBlock" with lore "||&aClick to connect!||&bBuild the ultimate sky island||&0" to close then run "sudo %player% server skyblock"
- format slot 23 of player with 1 bow named "{@Logo}KitPvP" with lore "||&aClick to connect!||&bFight for dominance on our KitPvP server!||&0" to close then run "sudo %player% server kitpvp"
- format slot 31 of player with 1 diamond sword named "{@Logo}Factions" with lore "||&aClick to connect!||&bRaid and conquer the factions of TeamTC!||&0" to close then run "sudo %player% server factions"
- if player's tool is redstone dust:
- if name of player's tool is "{@Logo}Trails":
- cancel event
- send "{@Logo}&cThis hasn't been added yet."
- on projectile hit:
- if projectile is snowball:
- set {_block} to location of projectile
- play raw sound "random.pop" at {_block} with pitch 2 volume 0.3
- loop blocks in radius 3 around {_block}:
- loop-block isn't air or portal or fence or any slab or water or flower or any stairs or any head or any tall grass or trapdoor or ladder
- set {_blocktype.%location of loop-block%} to "%id of the loop-block%:%data value of the loop-block%" parsed as a item type
- make all players see the loop-block as any wool
- wait 3 seconds
- loop blocks in radius 3 around {_block}:
- loop-block isn't air or a sign or portal or fence or any slab or water or any stairs or any head
- make all players see the loop-block as {_blocktype.%location of loop-block%}
- on shoot:
- if projectile is a snowball:
- if shooter is "_Motors_":
- wait 3 ticks
- trail projectile with particle drip lava
- command /hat <text> <player>:
- permission: TC.Admin
- permission message:{@Logo} &cPlease use the hat tool to access hats.
- trigger:
- if argument 1 is "1":
- set helmet of argument 2 to dirt named "&bDirt"
- send "{@Logo}Hat set to &f'&eDirt&f'" to argument 2
- if argument 1 is "2":
- set helmet of argument 2 to stone named "&bStone"
- send "{@Logo}Hat set to &f'&eStone&f'" to argument 2
- if argument 1 is "3":
- set helmet of argument 2 to cobblestone named "&bCobblestone"
- send "{@Logo}Hat set to &f'&eCobblestone&f'" to argument 2
- if argument 1 is "4":
- set helmet of argument 2 to mossy cobblestone named "&bMossy Cobblestone"
- send "{@Logo}Hat set to &f'&eMossy Cobblestone&f'" to argument 2
- if argument 1 is "5":
- set helmet of argument 2 to fancy stone brick named "&bChiseled Brick"
- send "{@Logo}Hat set to &f'&eChiseled Brick&f'" to argument 2
- if argument 1 is "6":
- set helmet of argument 2 to brick block named "&bBrick"
- send "{@Logo}Hat set to &f'&eBrick&f'" to argument 2
- if argument 1 is "7":
- set helmet of argument 2 to note block named "&bNote Block"
- send "{@Logo}Hat set to &f'&eNote Block&f'" to argument 2
- if argument 1 is "8":
- set helmet of argument 2 to ice named "&bIce"
- send "{@Logo}Hat set to &f'&eIce&f'" to argument 2
- if argument 1 is "9":
- set helmet of argument 2 to bedrock named "&bBedrock"
- send "{@Logo}Hat set to &f'&eBedrock&f'" to argument 2
- if argument 1 is "10":
- set helmet of argument 2 to melon named "&bMelon"
- send "{@Logo}Hat set to &f'&eMelon&f'" to argument 2
- if argument 1 is "11":
- set helmet of argument 2 to jack-o-lantern named "&bJack o'Lantern"
- send "{@Logo}Hat set to &f'&eJack o'Lantern&f'" to argument 2
- if argument 1 is "12":
- set helmet of argument 2 to tnt named "&bTNT"
- send "{@Logo}Hat set to &f'&eTNT&f'" to argument 2
- if argument 1 is "13":
- set helmet of argument 2 to snow block named "&bSnow"
- send "{@Logo}Hat set to &f'&eSnow&f'" to argument 2
- if argument 1 is "14":
- set helmet of argument 2 to block of coal named "&bCoal Block"
- send "{@Logo}Hat set to &f'&eCoal Block&f'" to argument 2
- if argument 1 is "15":
- set helmet of argument 2 to nether brick block named "&bNether Brick"
- send "{@Logo}Hat set to &f'&eNether Brick&f'" to argument 2
- if argument 1 is "16":
- set helmet of argument 2 to glowstone named "&bGlowstone"
- send "{@Logo}Hat set to &f'&eGlowstone&f'" to argument 2
- if argument 1 is "17":
- set helmet of argument 2 to obsidian named "&bObsidian"
- send "{@Logo}Hat set to &f'&eObsidian&f'" to argument 2
- if argument 1 is "18":
- set helmet of argument 2 to end stone named "&bEnd Stone"
- send "{@Logo}Hat set to &f'&eEnd Stone&f'" to argument 2
- if argument 1 is "19":
- set helmet of argument 2 to diamond block named "&bDiamond"
- send "{@Logo}Hat set to &f'&eDiamond&f'" to argument 2
- if argument 1 is "20":
- set helmet of argument 2 to emerald block named "&bEmerald"
- send "{@Logo}Hat set to &f'&eEmerald&f'" to argument 2
- if argument 1 is "21":
- set helmet of argument 2 to gold block named "&bGold"
- send "{@Logo}Hat set to &f'&eGold&f'" to argument 2
- if argument 1 is "22":
- set helmet of argument 2 to iron block named "&bIron"
- send "{@Logo}Hat set to &f'&eIron&f'" to argument 2
- if argument 1 is "23":
- set helmet of argument 2 to lapis block named "&bLapis"
- send "{@Logo}Hat set to &f'&eLapis&f'" to argument 2
- if argument 1 is "24":
- set helmet of argument 2 to redstone block named "&bRedstone"
- send "{@Logo}Hat set to &f'&eRedstone&f'" to argument 2
- if argument 1 is "25":
- set helmet of argument 2 to quartz block named "&bQuartz"
- send "{@Logo}Hat set to &f'&eQuartz&f'" to argument 2
- if argument 1 is "26":
- set helmet of argument 2 to packed ice named "&bPacked Ice"
- send "{@Logo}Hat set to &f'&ePacked Ice&f'" to argument 2
- if argument 1 is "none":
- if helmet of argument 2 is air:
- send "{@Logo}You don't have a hat to remove!" to argument 2
- else:
- set helmet of argument 2 to air
- send "{@Logo}Hat removed." to argument 2
- command /whatisthis:
- trigger:
- send "{@Logo} &aMaybe this should be the arcade? o:"
- command /makeitrain:
- permission: TC.VIP
- permission message:&e[&6TeamTC&e] &cYou do not have permission to execute this command.
- trigger:
- loop blocks in radius 9 around {rain}:
- if loop-block is block moved by piston:
- spawn 1 snowball below loop-block
- broadcast "{@Logo}%player% made it rain!"
- set {rain.delay} to now
- on command "/makeitrain":
- if {rain.delay} is set:
- set {_rain.delay} to difference between {rain.delay} and now
- if {_rain.delay} is less than 30 seconds:
- set {_rain.delay} to difference between {_rain.delay} and 30 seconds
- send "{@Logo}&cPlease wait &e%{_rain.delay}% &cto use this again."
- cancel event
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement