#|---------|Informacje|---------|# # name: NRingo # author: NaddereG # version: v1.0 #|---------|Informacje|---------|# variables: {ringoniebieskie.%player%} = false {ringoczerwone.%player%} = false {ringozlote.%player%} = false {ringorainbow.%player%} = false on quit: stopEffect "%player%" every 0.5 second: loop all players: if {ringoniebieskie.%loop-player%} is true: stopEffect "%loop-player%" drawWarpRings style 1, particle "redstone", RGB 0, 0, 255, center loop-player, id "%loop-player%", rainbowMode false, scan false, height 1, radius 1.9, ringCount 40, ringDensity 20, visibleRange 32 if {ringoniebieskie.%loop-player%} is false: stopEffect "%loop-player%" every 0.5 second: loop all players: if {ringoczerwone.%loop-player%} is true: stopEffect "%loop-player%" drawWarpRings style 1, particle "redstone", RGB 255, 0, 0, center loop-player, id "%loop-player%", rainbowMode false, scan false, height 1, radius 1.9, ringCount 40, ringDensity 20, visibleRange 32 if {ringoczerwone.%loop-player%} is false: stopEffect "%loop-player%" every 0.5 second: loop all players: if {ringozlote.%loop-player%} is true: stopEffect "%loop-player%" drawWarpRings style 1, particle "redstone", RGB 255, 170, 0, center loop-player, id "%loop-player%", rainbowMode false, scan false, height 1, radius 1.9, ringCount 40, ringDensity 20, visibleRange 32 if {ringozlote.%loop-player%} is false: stopEffect "%loop-player%" every 0.5 second: loop all players: if {ringorainbow.%loop-player%} is true: stopEffect "%loop-player%" drawWarpRings style 1, particle "redstone", RGB 0, 0, 0, center player, id "%loop-player%", rainbowMode true, scan false, height 0, radius 1.7, ringCount 40, ringDensity 20, visibleRange 32 if {ringorainbow.%loop-player%} is false: stopEffect "%loop-player%" command /ring []: permission: hcf2u.ringo permission message: &c&lhcf2u.pl &7» &4Blad: &cNie masz dostepu do tej komendy ! trigger: if arg 1 is not set: open chest with 3 rows named "&3&lDostepne ringa:" to player wait 2 tick format slot 0 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 1 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 2 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 3 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 4 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 5 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 6 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 7 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 8 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 9 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 10 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 12 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 14 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 16 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 17 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 18 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 19 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 20 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 21 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 22 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 23 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 24 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 25 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close format slot 26 of player with Gray Stained Glass Pane named " " with lore "&3Wkrotce wiecej &5RINGO&3!" to close if {ringoczerwone.%player%} is false: format slot 11 of player with Red Concrete named "&4Czerwone &7ringo" with lore "&fStatus&7: &4OFF||&7Kliknij, aby &2&lWLACZYC&7." to close then run [execute player command "/ring czerwien"] if {ringoczerwone.%player%} is true: format slot 11 of player with Red Concrete named "&4Czerwone &7ringo" with lore "&7Status&8: &2&lWLACZONE||&7Kliknij, aby &4&lWYLACZYC&7." to close then run [execute player command "/ring czerwien"] if {ringozolte.%player%} is false: format slot 13 of player with Yellow Concrete named "&6Zlote &7ringo" with lore "&7Status&8: &4&lWYLACZONE||&7Kliknij, aby &2&lWLACZYC&7." to close then run [execute player command "/ring zolte"] if {ringozolte.%player%} is true: format slot 13 of player with Yellow Concrete named "&6Zlote &7ringo" with lore "&7Status&8: &2&lWLACZONE||&7Kliknij, aby &4&lWYLACZYC&7." to close then run [execute player command "/ring zolte"] if {ringoniebieskie.%player%} is false: format slot 15 of player with Blue Concrete named "&9Niebieskie &7ringo" with lore "&7Status&8: &4&lWYLACZONE||&7Kliknij, aby &2&lWLACZYC&7." to close then run [execute player command "/ring Kolorki"] if {ringoniebieskie.%player%} is true: format slot 15 of player with Blue Concrete named "&9Niebieskie &7ringo" with lore "&7Status&8: &2&lWLACZONE||&7Kliknij, aby &4&lWYLACZYC&7." to close then run [execute player command "/ring Kolorki"] if arg 1 is set: if arg 1 is "N": if {ringoniebieskie.%player%} is false: set {ringoniebieskie.%player%} to true send "" send "&c&lhcf2u.pl &7» &9Niebieskie &7ringo &aWlaczyles !" stop if {ringoniebieskie.%player%} is true: set {ringoniebieskie.%player%} to false send "&c&lhcf2u.pl &7» &4Wylaczyles &9Niebieskie ringo ! if arg 1 is "CZ": if {ringoczerwone.%player%} is false: set {ringoczerwone.%player%} to true send "&c&lhcf2u.pl &7» &aWlaczyles &4Czerwone ringo ! stop if {ringoczerwone.%player%} is true: set {ringoczerwone.%player%} to false send "&c&lhcf2u.pl &7» &4Wylaczyles &4Czerwone ringo ! if arg 1 is "Z": if {ringozolte.%player%} is false: set {ringozolte.%player%} to true send "&c&lhcf2u.pl &7» &aWlaczyles &6Zlote ringo ! stop if {ringozolte.%player%} is true: set {ringozolte.%player%} to false send "&c&lhcf2u.pl &7» &4Wylaczyles &6Zlote ringo ! stop if arg 1 is "R": if {ringozolte.%player%} is false: set {ringozolte.%player%} to true send "&c&lhcf2u.pl &8» &aWlaczyles &1T&2e&3&4c&5z&6o&7w&9e &7ringo ! stop if {ringozolte.%player%} is true: set {ringozolte.%player%} to false send "&c&lhcf2u.pl &8» &4Wylaczyles &1T&2e&3&4c&5z&6o&7w&9e &7ringo ! stop