Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /rune [<text>] [<text>]:
- aliases: runes
- permission: runes.runes
- trigger:
- if arg-1 is not set:
- open chest with 1 row named "Runes" to player
- format slot 0 of player with prismarine shard named "&b&lOptic Rune (&c&lStrength&b&l)" with lore "&7Keep this item in your inventory.||&7Can be used by anyone to gain||&7a passive advantage against enemies!||||&b&lRune Bonus:|| &b&l*&b Strength IV" to be unstealable
- format slot 1 of player with prismarine shard named "&b&lOptic Rune (&7&lResistance&b&l)" with lore "&7Keep this item in your inventory.||&7Can be used by anyone to gain||&7a passive advantage against enemies!||||&b&lRune Bonus:|| &b&l*&b Resistance II" to be unstealable
- format slot 2 of player with prismarine shard named "&b&lOptic Rune (&d&lRegeneration&b&l)" with lore "&7Keep this item in your inventory.||&7Can be used by anyone to gain||&7a passive advantage against enemies!||||&b&lRune Bonus:|| &b&l*&b Regeneration II" to be unstealable
- format slot 3 of player with prismarine shard named "&b&lOptic Rune (&a&lSpeed&b&l)" with lore "&7Keep this item in your inventory.||&7Can be used by anyone to gain||&7a passive advantage against enemies!||||&b&lRune Bonus:|| &b&l*&b Speed IV" to be unstealable
- format slot 7 of player with book named "&b&lRunes Help" with lore "||&fObatin||&7You can obtain these runes||&7through crafting rune fragments||&7together and making a rune.||||&fFragments||&7You can obtain rune fragments||&7through crates, bundles and lootboxes||&7you can also buy them with xp.||||&fCrafting||&7You will need 9 of one fragment||&7then go to /blacksmith to craft them." to be unstealable
- format slot 8 of player with arrow named "&c&lExit" with lore "&7Click to close" to close
- if arg-1 is "give":
- if arg-2 is "strength":
- give 1 prismarine shard named "&b&lOptic Rune (&c&lStrength&b&l)" with lore "&7Keep this item in your inventory.||&7Can be used by anyone to gain||&7a passive advantage against enemies!||||&b&lRune Bonus:|| &b&l*&b Strength IV" to player
- on right click:
- if event-item is prismarine shard named "&b&lOptic Rune (&c&lStrength&b&l)" with lore "&7Keep this item in your inventory.||&7Can be used by anyone to gain||&7a passive advantage against enemies!||||&b&lRune Bonus:|| &b&l*&b Strength IV":
- if {strength::%player%::active} is true:
- set {strength::%player%::active} to false
- set {strength1::%player%::active} to false
- message ""
- message "&b&l(!) Optic Rune:&b You have &cdisabled&b your strength rune!"
- message ""
- remove strength from player
- else:
- if {strength::%player%::active} is false:
- set {strength::%player%::active} to true
- set {strength1::%player%::active} to true
- message ""
- message "&b&l(!) Optic Rune:&b You have &aenabled&b your strength rune!"
- message ""
- apply strength 4 to the player for 999 days
- on any movement:
- if {strength::%player%::active} is true:
- loop all items in player's inventory:
- if loop-item is a prismarine shard named "&b&lOptic Rune (&c&lStrength&b&l)" with lore "&7Keep this item in your inventory.||&7Can be used by anyone to gain||&7a passive advantage against enemies!||||&b&lRune Bonus:|| &b&l*&b Strength IV":
- stop
- else:
- message ""
- message "&b&l(!) Optic Rune:&b You have &cdisabled&b your strength rune!"
- message ""
- remove strength from player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement