Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /efekt:
- aliases: efekty, effect, Efekt
- trigger:
- open chest with 3 rows named "&2&m----&e&l Efekty &2&m----" to player
- #SILA
- format slot 1 of player with 1 of diamond sword named "&6&o&lSila I" with lore "&3Czas: 10 minut||&3Koszt: 16 Diametowych blok||&3Moc: I" to close then run "efektadd %player% Strength1"
- format slot 2 of player with 1 of diamond sword named "&6&o&lSila II" with lore "&3Czas: 15 minut||&3Koszt: 32 Diametowych blok||&3Moc: 2" to close then run "efektadd %player% Strength2"
- format slot 3 of player with 1 of diamond sword named "&6&o&lSila II" with lore "&3Czas: 20 minut||&3Koszt: 64 Diametowych blok||&3Moc: 2" to close then run "efektadd %player% Strength3"
- #SPEED
- format slot 5 of player with 1 of diamond boots named "&6&o&lSzybkosc I" with lore "&3Czas: 10 minut||&3Koszt: 16 Diametowych blok||&3Moc: I" to close then run "efektadd %player% Speed1"
- format slot 6 of player with 1 of diamond boots named "&6&o&lSzybkosc II" with lore "&3Czas: 15 minut||&3Koszt: 32 Diametowych blok||&3Moc: 2" to close then run "efektadd %player% Speed2"
- format slot 7 of player with 1 of diamond boots named "&6&o&lSzybkosc II" with lore "&3Czas: 20 minut||&3Koszt: 64 Diametowych blok||&3Moc: 2" to close then run "efektadd %player% Speed3"
- #anty fire
- format slot 4 of player with 1 of fire named "&6&o&lFire Resistance" with lore "&3Czas: 15 minut||&3Koszt: 16 Diametowych blok" to close then run "efektadd %player% FireR1"
- format slot 13 of player with 1 of fire named "&6&o&lFire Resistance" with lore "&3Czas: 30 minut||&3Koszt: 32 Diametowych blok" to close then run "efektadd %player% FireR2"
- #HASTE
- format slot 21 of player with 1 of beacon named "&6&o&lHaste I" with lore "&3Czas: 10 minut||&3Koszt: 16 Emeraldowych blok||&3Moc: I" to close then run "efektadd %player% Haste1"
- format slot 22 of player with 1 of beacon named "&6&o&lHaste II" with lore "&3Czas: 10 minut||&3Koszt: 32 Emeraldowych blok||&3Moc: II" to close then run "efektadd %player% Haste2"
- format slot 23 of player with 1 of beacon named "&6&o&lHaste II" with lore "&3Czas: 10 minut||&3Koszt: 64 Emeraldowych blok||&3Moc: II" to close then run "efektadd %player% Haste3"
- command /efektadd [<player>] [<text>]:
- executable by: console
- trigger:
- #----------------------------------------------------------------------------------------------------> FIRE RESISTANCE
- if arg 2 is "FireR1":
- if player-arg has 16 diamond block:
- subtract 16 diamond block from player-arg's inventory
- apply fire resistance 1 to the player-arg for 10 minutes
- send "&7GRACZ &6%arg 1% &7KUPIL &6FIRE RESISTANCE &7NA 10 MINUT!" to all players
- else:
- send "&6Aby to kupic muszisz posiadac &b16 Diametowych blokow!" to player-arg
- if arg 2 is "2":
- if player-arg has 32 diamond block:
- subtract 32 diamond block from player-arg's inventory
- apply fire resistance 1 to the player-arg for 30 minutes
- send "&7GRACZ &6%arg 1% &7KUPIL &6FIRE RESISTANCE &7NA 30 MINUT!" to all players
- else:
- send "&6Aby to kupic muszisz posiadac &b32 Diametowych blokow!" to player-arg
- #----------------------------------------------------------------------------------------------------> STRENGTH
- if arg 2 is "Strength1":
- if player-arg has 16 diamond block:
- subtract 16 diamond block from player-arg's inventory
- apply strength 1 to the player-arg for 10 minutes
- send "&7GRACZ &6%arg 1% &7KUPIL &6SILE 1 &7NA 10 MINUT!" to all players
- else:
- send "&6Aby to kupic muszisz posiadac &b64 Diametowych blokow!" to player-arg
- if arg 2 is "Strength2":
- if player-arg has 32 diamond block:
- subtract 32 diamond block from player-arg's inventory
- apply strength 2 to the player-arg for 15 minutes
- send "&7GRACZ &6%arg 1% &7KUPIL &6SILE 2 &7NA 15 MINUT!" to all players
- else:
- send "&6Aby to kupic muszisz posiadac &b32 Diametowych blokow!" to player-arg
- if arg 2 is "Strength3":
- if player-arg has 64 diamond block:
- subtract 64 diamond block from player-arg's inventory
- apply strength 2 to the player-arg for 20 minutes
- send "&7GRACZ &6%arg 1% &7KUPIL &6SILE 2 &7NA 20 MINUT!" to all players
- else:
- send "&6Aby to kupic muszisz posiadac &b64 Diametowych blokow!" to player-arg
- #----------------------------------------------------------------------------------------------------> SPEED
- if arg 2 is "Speed1":
- if player-arg has 16 diamond block:
- subtract 16 diamond block from player-arg's inventory
- apply SPEED 1 to the player-arg for 10 minutes
- send "&7GRACZ &6%arg 1% &7KUPIL &6SPEED 1 &7NA 10 MINUT!" to all players
- else:
- send "&6Aby to kupic muszisz posiadac &b16 diametowych blokow!" to player-arg
- if arg 2 is "Speed2":
- if player-arg has 32 diamond block:
- subtract 32 diamond block from player-arg's inventory
- apply SPEED 2 to the player-arg for 15 minutes
- send "&7GRACZ &6%arg 1% &7KUPIL &6SPEED 2 &7NA 15 MINUT!" to all players
- else:
- send "&6Aby to kupic muszisz posiadac &b32 diametowych blokow!" to player-arg
- if arg 2 is "Speed3":
- if player-arg has 64 diamond block:
- subtract 64 diamond block from player-arg's inventory
- apply SPEED 2 to the player-arg for 20 minutes
- send "&7GRACZ &6%arg 1% &7KUPIL &6SPEED 2 &7NA 20 MINUT!" to all players
- else:
- send "&6Aby to kupic muszisz posiadac &b64 diametowych blokow!" to player-arg
- #----------------------------------------------------------------------------------------------------> HASTE
- if arg 2 is "Haste1":
- if player-arg has 16 emerald block:
- subtract 16 emerald block from player-arg's inventory
- apply haste 1 to the player-arg for 10 minutes
- send "&7GRACZ &6%arg 1% &7KUPIL &6HASTE 1 &7NA 10 MINUT!" to all players
- else:
- send "&6Aby to kupic muszisz posiadac &a16 emeraldowych blokow!" to player-arg
- if arg 2 is "Haste2":
- if player-arg has 32 emerald block:
- subtract 32 emerald block from player-arg's inventory
- apply haste 2 to the player-arg for 15 minutes
- send "&7GRACZ &6%arg 1% &7KUPIL &6HASTE 2 &7NA 15 MINUT!!" to all players
- else:
- send "&6Aby to kupic muszisz posiadac &a32 emeraldowych blokow!" to player-arg
- if arg 2 is "Haste3":
- if player-arg has 64 emerald block:
- subtract 64 emerald block from player-arg's inventory
- apply haste 2 to the player-arg for 30 minutes
- send "&7GRACZ &6%arg 1% &7KUPIL &6HASTE 2 &7NA 30 MINUT!!!" to all players
- else:
- send "&6Aby to kupic muszisz posiadac &a64 emeraldowych blokow!" to player-arg
Advertisement
Add Comment
Please, Sign In to add comment