Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /trails:
- aliases: /trail
- trigger:
- if player has permission "cmd.trails":
- wait 2 tick
- open chest with 1 rows named "&8&lCustom Trails" to player
- format slot 0 of player with golden apple named "&c&lHeart Trail" with lore "&eAdds a heart trail to you" to close then run [make player execute command "/hearttrail"]
- format slot 1 of player with redstone named "&4&lRedstone Trail" with lore "&eAdds a redstone trail to you" to close then run [make player execute command "/redstonetrail"]
- format slot 2 of player with flint and steel named "&c&lFlame Trail" with lore "&eAdds a flame trail to you" to close then run [make player execute command "/flametrail"]
- format slot 8 of player with white wool named "&f&lDisable Trails" with lore "&eRemoves all trails from you" to close then run [make player execute command "/notrail"]
- format slot 3 of player with ender pearl named "&d&lPortal Trail" with lore "&eAdds a portal trail to you" to close then run [make player execute command "/portaltrail"]
- format slot 4 of player with snowball named "&f&lCloud Trail" with lore "&eAdds a cloud trail to you" to close then run [make player execute command "/cloudtrail"]
- if player doesn't have permission "cmd.trails":
- message "&e(!) &cYou don't have the permission to use this command!"
- command /notrail:
- permission: cmd.trails
- trigger:
- delete {redstone.%player%}
- delete {heart.%player%}
- delete {flame.%player%}
- delete {portal.%player%}
- delete {cloud.%player%}
- send "&e(!) &fAll Trails Deactivated" to player
- #Heart
- command /hearttrail:
- permission: cmd.trails
- trigger:
- delete {redstone.%player%}
- delete {flame.%player%}
- delete {portal.%player%}
- delete {cloud.%player%}
- set {heart.%player%} to 1
- send "&e(!) &cHeart Trail Activated" to player
- on any movement:
- if {heart.%player%} is 1:
- show 2 "heart" particles at location of player for player offset by 0.2, 0.4, 0.2
- #Redstone
- command /redstonetrail:
- permission: cmd.trails
- trigger:
- delete {heart.%player%}
- delete {flame.%player%}
- delete {portal.%player%}
- delete {cloud.%player%}
- set {redstone.%player%} to 1
- send "&e(!) &4Redstone Trail Activated" to player
- on any movement:
- if {redstone.%player%} is 1:
- show 5 "redstone" particles at location of player for player offset by 0.2, 0.7, 0.2
- #Flame
- command /flametrail:
- permission: cmd.trails
- trigger:
- delete {redstone.%player%}
- delete {heart.%player%}
- delete {portal.%player%}
- delete {cloud.%player%}
- set {flame.%player%} to 1
- send "&e(!) &cFlame Trail Activated" to player
- on any movement:
- if {flame.%player%} is 1:
- show 5 "flame" particles at location of player for player offset by 0.2, 0.7, 0.2
- #Portal
- command /portaltrail:
- permission: cmd.trails
- trigger:
- delete {redstone.%player%}
- delete {heart.%player%}
- delete {flame.%player%}
- delete {cloud.%player%}
- set {portal.%player%} to 1
- send "&e(!) &dPortal Trail Activated" to player
- on any movement:
- if {portal.%player%} is 1:
- show 25 "portal" particles at location of player for player offset by 0.2, 0.7, 0.2
- #Cloud
- command /cloudtrail:
- permission: cmd.trails
- trigger:
- delete {redstone.%player%}
- delete {heart.%player%}
- delete {flame.%player%}
- delete {portal.%player%}
- set {cloud.%player%} to 1
- send "&e(!) &fCloud Trail Activated" to player
- on any movement:
- if {cloud.%player%} is 1:
- show 5 "cloud" particles at location of player for player offset by 0.2, 0.7, 0.2
Advertisement
Add Comment
Please, Sign In to add comment