Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #===================================#
- # PRIVACY 11/7/2017 - Unlegit_Denis ™
- # VERSION 1.0
- #===================================#
- on load:
- if file "plugins/Bedwars/Config.yml" doesn't exists:
- create file "plugins/Bedwars/Config.yml"
- wf "##_____________________________________________________________________##" to "plugins/Bedwars/Config.yml"
- wf "## ##" to "plugins/Bedwars/Config.yml"
- wf "## ✯ Bedwars ✯ ##" to "plugins/Bedwars/Config.yml"
- wf "## This skript is created by Unlegit_Denis ##" to "plugins/Bedwars/Config.yml"
- wf "##_____________________________________________________________________##" to "plugins/Bedwars/Config.yml"
- wf "## ##" to "plugins/Bedwars/Config.yml"
- wf "" to "plugins/Bedwars/Config.yml"
- wf "## CONFIG" to "plugins/Bedwars/Config.yml"
- wf "" to "plugins/Bedwars/Config.yml"
- wf "Bungeecord: false" to "plugins/Bedwars/Config.yml"
- wf "BungeecordServerbedwars: bedwars" to "plugins/Bedwars/Config.yml"
- wf "BungeecordServerHub: lobby" to "plugins/Bedwars/Config.yml"
- wf "Admin: Unlegit_Denis" to "plugins/Bedwars/Config.yml"
- wf "GameWorld: MapRush" to "plugins/Bedwars/Config.yml"
- wf "" to "plugins/Bedwars/Config.yml"
- wf "## MESSAGES" to "plugins/Bedwars/Config.yml"
- wf "" to "plugins/Bedwars/Config.yml"
- wf "AlreadyStart: &7La partita é gia in corso" to "plugins/Bedwars/Config.yml"
- wf "GameFull: &7La partita é piena" to "plugins/Bedwars/Config.yml"
- wf "Join: &7joined in the game" to "plugins/Bedwars/Config.yml"
- wf "Leave: &7ha abbandonato la partita" to "plugins/Bedwars/Config.yml"
- wf "Start: &3La partita é cominciata ! &bGood Luck !" to "plugins/Bedwars/Config.yml"
- wf "GameStartIn: &7La partita comincia tra" to "plugins/Bedwars/Config.yml"
- wf "WasDeath: &7é morto" to "plugins/Bedwars/Config.yml"
- wf "WasKilledBy: &7é stato ammazzato da" to "plugins/Bedwars/Config.yml"
- wf "Eliminated: &7é stato eliminato(a)" to "plugins/Bedwars/Config.yml"
- wf "BreakBlue: &7Il letto del team &bBlue &7é stato distrutto !" to "plugins/Bedwars/Config.yml"
- wf "BreakRed: &7Il letto del team &cRed &7é stato distrutto !" to "plugins/Bedwars/Config.yml"
- wf "BreakGreen: &7Il letto del team &aGreen &7é stato distrutto !" to "plugins/Bedwars/Config.yml"
- wf "BreakYellow: &7Il letto del team &eYellow &7é stato distrutto !" to "plugins/Bedwars/Config.yml"
- wf "" to "plugins/Bedwars/Config.yml"
- wf "## ITEMS" to "plugins/Bedwars/Config.yml"
- wf "" to "plugins/Bedwars/Config.yml"
- wf "LeaveItem: Abbandona la partita" to "plugins/Bedwars/Config.yml"
- wf "" to "plugins/Bedwars/Config.yml"
- wf "## END CONFIG/MESSAGES" to "plugins/Bedwars/Config.yml"
- set {Bungeecord} to value "Bungeecord" get of "plugins/Bedwars/Config.yml"
- set {BungeecordServeurbedwars} to value "BungeecordServerbedwars" get of "plugins/Bedwars/Config.yml"
- set {BungeecordServeurHUB} to value "BungeecordServerHub" get of "plugins/Bedwars/Config.yml"
- set {Admin} to value "Admin" get of "plugins/Bedwars/Config.yml"
- set {GameWorld} to value "GameWorld" get of "plugins/Bedwars/Config.yml"
- set {AlreadyStart} to colored value "AlreadyStart" get of "plugins/Bedwars/Config.yml"
- set {GameFull} to colored value "GameFull" get of "plugins/Bedwars/Config.yml"
- set {Join} to colored value "Join" get of "plugins/Bedwars/Config.yml"
- set {Leave} to colored value "Leave" get of "plugins/Bedwars/Config.yml"
- set {Start} to colored value "Start" get of "plugins/Bedwars/Config.yml"
- set {GameStartIn} to colored value "GameStartIn" get of "plugins/Bedwars/Config.yml"
- set {-2Player} to colored value "-2Player" get of "plugins/Bedwars/Config.yml"
- set {wasdeath} to colored value "WasDeath" get of "plugins/Bedwars/Config.yml"
- set {waskilledby} to colored value "WasKilledBy" get of "plugins/Bedwars/Config.yml"
- set {Eliminated} to colored value "Eliminated" get of "plugins/Bedwars/Config.yml"
- set {BreakBlue} to colored value "BreakBlue" get of "plugins/Bedwars/Config.yml"
- set {BreakRed} to colored value "BreakRed" get of "plugins/Bedwars/Config.yml"
- set {BreakGreen} to colored value "BreakGreen" get of "plugins/Bedwars/Config.yml"
- set {BreakYellow} to colored value "BreakYellow" get of "plugins/Bedwars/Config.yml"
- set {LeaveItem} to value "LeaveItem" get of "plugins/Bedwars/Config.yml"
- options:
- #OPTIONS
- Prefixbedwars: &3&lBedwars &f>
- Timer: 30
- Timer2: 3
- # NOT MODIFY OR I BAN YOU
- # PRIVACY 11/7/2017 - Unlegit_Denis ™
- sub "Endbedwars":
- set {_winner} to parameter 1
- send "&3%{_winner}% &7ha vinto la partita !" to {_winner}
- set {_count} to 1
- loop {bedwars.count} times:
- set block at {bedwars.blocklocation.%{_count}%} to air
- clear {bedwars.blocklocation.%{_count}%}
- add 1 to {_count}
- wait 0.1 tick
- set {_bedcount} to size of {BedLoc::*}
- loop {BedLoc::*}:
- set block at {BedLoc::%{_bedcount}%} to {BedType::%{_bedcount}%}
- remove 1 from {_bedcount}
- delete {BedLoc::*}
- delete {BedType::*}
- loop all dropped items in world "%{GameWorld}%":
- delete loop-value
- wait 1 tick
- teleport {_winner} at {bedwars.location.lobby}
- clear {_winner}'s inventory
- delete {bedwars.play.%{_winner}%}
- clear {bedwars.players::*}
- delete {bedwars.start}
- on rightclick with bed:
- if {bedwars.play.%player%} is true:
- execute player command "bedwars"
- on load:
- invoke "Endbedwars"
- on craft:
- if {bedwars.start} is true:
- cancel event
- on place:
- if {bedwars.start} is true:
- if {bedwars.play.%player%} is true:
- if event-block isn't bed and wool:
- add 1 to {bedwars.count}
- set {bedwars.blocklocation.%{bedwars.count}%} to location of event-block
- else:
- cancel event
- else:
- cancel event
- on break:
- if {bedwars.start} is true:
- if event-block is not end stone, sandstone, sand stone:1 or sand stone:2:
- cancel event
- every 1 second:
- if {bedwars.start} is true:
- drop brick item named "&cBronzo" at {bedwars.location.minerali::*}
- every 15 seconds:
- if {bedwars.start} is true:
- drop iron ingot item named "&7Iron" at {bedwars.location.minerali::*}
- every 60 seconds:
- if {bedwars.start} is true:
- drop golden ingot item named "&eOro" at {bedwars.location.minerali::*}
- every 5 minutes:
- if {bedwars.start} is true:
- drop diamond item named "&bDiamante" at {bedwars.location.minerali::*}
- on any move:
- if {bedwars.start} is true:
- if entity is a villager:
- cancel event
- on rightclick on villager:
- if {bedwars.start} is true:
- make player execute command "/bwshop§"
- cancel event
- command /bedwarsadm [<text>] [<text>]:
- trigger:
- if player is "%{Admin}%":
- if arg 1 is "set":
- if arg 2 is "lobby":
- set {bedwars.location.lobby} to player's location
- send "&3Tu as SET la localisation du Looby !" to player
- if arg 2 is "minerali":
- add player's location to {bedwars.location.minerali::*}
- send "&3Tu as SET la localisation du Spawn des mineralis !" to player
- if arg 2 is "blue":
- set {bedwars.location.spawnblue} to player's location
- send "&3Tu as SET la localisation du Spawn blue !" to player
- if arg 2 is "red":
- set {bedwars.location.spawnred} to player's location
- send "&3Tu as SET la localisation du Spawn red !" to player
- if arg 2 is "yellow":
- set {bedwars.location.spawnyellow} to player's location
- send "&3Hai settato lo spawn Spawn yellow !" to player
- if arg 2 is "green":
- set {bedwars.location.spawngreen} to player's location
- send "&3Hai settato lo spawn Spawn green !" to player
- if arg 1 is "del":
- if arg 2 is "minerali":
- clear {bedwars.location.minerali::*}
- send "&3Tu as SUPPRIM2 la localisation du Spawn des mineralis !" to player
- if arg 1 is "reset":
- delete {bedwars.start}
- clear {bedwars.players::*}
- delete {bedwars.dontmove}
- broadcast "&7Tutto é stato &celiminato"
- loop all players:
- delete {bedwars.play.%player%}
- # PRIVACY 11/7/2017 - Unlegit_Denis ™
- command /bedwars:
- trigger:
- if {bedwars.start} isn't set:
- if {bedwars.play.%player%} isn't set:
- if size of {bedwars.players::*} isn't greater than 4:
- teleport player at {bedwars.location.lobby}
- add player to {bedwars.players::*}
- send "{@Prefixbedwars} &3%player% %{Join}%" to {bedwars.players::*}
- set {bedwars.play.%player%} to true
- set slot 8 of player to bed named "&c&l%{LeaveItem}% &7(Right-Click)"
- if size of {bedwars.players::*} > 1:
- set {_timer} to {@Timer}
- while {_timer} is more than 0:
- set {bedwars.players::*}'s level to {_timer}
- remove 1 from {_timer}
- wait a second
- if {_timer} is 60 or 30 or 25 or 20 or 15 or 10 or 4 or 5 or 3 or 2 or 1:
- set action bar of {bedwars.players::*} to "{@Prefixbedwars} %{GameStartIn}% &a%{_timer}% &asecond(s) &7!"
- play raw sound "random.orb" at {bedwars.players::*} with pitch 1 volume 1
- if size of {bedwars.players::*} < 2:
- set {_timer} to 0
- send "{@Prefixbedwars} %{-2Player}%" to player
- size of {bedwars.players::*} > 1
- if "%{Bungeecord}%" is "true":
- loop {bedwars.players::*}:
- bungeecord connect loop-value to "%{BungeecordServeurbedwars}%"
- wait a tick
- set {bedwars.dontmove} to true
- wait a second
- broadcast "{@Prefixbedwars} %{Start}%" to {bedwars.players::*}
- size of {bedwars.players::*} = 2:
- set {bedwars.player.blue} to {bedwars.players::1}
- set {bedwars.player.red} to {bedwars.players::2}
- teleport {bedwars.player.blue} at {bedwars.location.spawnblue}
- teleport {bedwars.player.red} at {bedwars.location.spawnred}
- size of {bedwars.players::*} = 3:
- set {bedwars.player.blue} to {bedwars.players::1}
- set {bedwars.player.red} to {bedwars.players::2}
- set {bedwars.player.yellow} to {bedwars.players::3}
- teleport {bedwars.player.blue} at {bedwars.location.spawnblue}
- teleport {bedwars.player.red} at {bedwars.location.spawnred}
- teleport {bedwars.player.yellow} at {bedwars.location.spawnyellow}
- size of {bedwars.players::*} = 4:
- set {bedwars.player.blue} to {bedwars.players::1}
- set {bedwars.player.red} to {bedwars.players::2}
- set {bedwars.player.yellow} to {bedwars.players::3}
- set {bedwars.player.green} to {bedwars.players::4}
- teleport {bedwars.player.blue} at {bedwars.location.spawnblue}
- teleport {bedwars.player.red} at {bedwars.location.spawnred}
- teleport {bedwars.player.yellow} at {bedwars.location.spawnyellow}
- teleport {bedwars.player.green} at {bedwars.location.spawngreen}
- set {bedwars.start} to true
- loop {bedwars.players::*}:
- set {bedwars.bed.%loop-value%} to 1
- clear {bedwars.players::*}'s inventory
- set {bedwars.players::*}'s gamemode to survival
- heal {bedwars.players::*}
- wait a second
- play level up at {bedwars.players::*} with pitch 1
- send {bedwars.players::*} title "&a➌" with subtitle " " for 1 second
- wait a second
- play level up at {bedwars.players::*} with pitch 1
- send {bedwars.players::*} title "&a➋" with subtitle " " for 1 second
- wait a second
- play level up at {bedwars.players::*} with pitch 1
- send {bedwars.players::*} title "&a➊" with subtitle " " for 1 second
- delete {bedwars.dontmove}
- loop {bedwars.players::*}:
- wipe loop-value's sidebar
- wait 3 ticks
- set name of sidebar of loop-value to " &a&lBedwars "
- set score " " in sidebar of loop-value to 11
- set id based score "&7Modalita: bedwars" in sidebar of loop-value to 10 with id "Modalita.%loop-value%"
- set score " " in sidebar of loop-value to 9
- set id based score "&cRed: &a❤" in sidebar of loop-value to 8 with id "lettored.%loop-value%"
- set score " " in sidebar of loop-value to 7
- set id based score "&9Blue: &a❤" in sidebar of loop-value to 6 with id "lettoblue.%loop-value%"
- set score " " in sidebar of loop-value to 5
- set id based score "&aGreen: &a❤" in sidebar of loop-value to 4 with id "lettogreen.%loop-value%"
- set score " " in sidebar of loop-value to 3
- set id based score "&eYellow: &a❤" in sidebar of loop-value to 2 with id "lettoyellow.%loop-value%"
- set score " " in sidebar of loop-value to 1
- else:
- send "{@Prefixbedwars} %{GameFull}%" to player
- else:
- send "{@Prefixbedwars} &3%player% %{Leave}%" to {bedwars.players::*}
- teleport player at {bedwars.location.lobby}
- clear player's inventory
- remove player from {bedwars.players::*}
- delete {bedwars.play.%player%}
- stop
- else:
- send "{@Prefixbedwars} %{AlreadyStart}%" to player
- # PRIVACY 11/7/2017 - Unlegit_Denis ™
- on chat:
- if {bedwars.play.%player%} is true:
- if "%player%" = "%{bedwars.player.blue}%":
- cancel event
- send "{@Prefixbedwars} &b%player%&f: %message%" to {bedwars.players::*}
- if "%player%" = "%{bedwars.player.red}%":
- cancel event
- send "{@Prefixbedwars} &c%player%&f: %message%" to {bedwars.players::*}
- if "%player%" = "%{bedwars.player.yellow}%":
- cancel event
- send "{@Prefixbedwars} &e%player%&f: %message%" to {bedwars.players::*}
- if "%player%" = "%{bedwars.player.green}%":
- cancel event
- send "{@Prefixbedwars} &a%player%&f: %message%" to {bedwars.players::*}
- # PRIVACY 11/7/2017 - Unlegit_Denis ™
- on quit:
- if {bedwars.play.%player%} is true:
- clear player's inventory
- teleport player at {bedwars.location.lobby}
- delete {bedwars.play.%player%}
- remove player from {bedwars.players::*}
- if "%player%" = "% {bedwars.player.blue}%":
- send "&3Il team &bblue &3é stato distrutto &7(&bHa abbandonato &b%player%&7" to {bedwars.players::*}
- if "%player%" = "% {bedwars.player.red}%":
- send "&3Il team &cred &3é stato distrutto &7(&bHa abbandonato &c%player%&7" to {bedwars.players::*}
- if "%player%" = "% {bedwars.player.yellow}%":
- send "&3Il team &eyellow &3é stato distrutto &7(&bHa abbandonato &e%player%&7" to {bedwars.players::*}
- if "%player%" = "% {bedwars.player.green}%":
- send "&3Il team &agreen &3é stato distrutto &7(&bHa abbandonato &a%player%&7" to {bedwars.players::*}
- if size of {bedwars.players::*} is smaller than 2:
- invoke "Endbedwars" from {bedwars.players::*}
- on respawn:
- if {bedwars.play.%player%} is true:
- if {bedwars.bed.%player%} is 1:
- if "%player%" is "%{bedwars.player.blue}%":
- teleport {bedwars.player.blue} at {bedwars.location.spawnblue}
- if "%player%" is "%{bedwars.player.red}%":
- teleport {bedwars.player.red} at {bedwars.location.spawnred}
- if "%player%" is "%{bedwars.player.yellow}%":
- teleport {bedwars.player.yellow} at {bedwars.location.spawnyellow}
- if "%player%" is "%{bedwars.player.green}%":
- teleport {bedwars.player.green} at {bedwars.location.spawngreen}
- if {bedwars.bed.%player%} is 0:
- if "%player%" is "%{bedwars.player.blue}%":
- send "{@Prefixbedwars} &b%player% %{Eliminated}%" to {bedwars.players::*}
- if "%player%" is "%{bedwars.player.red}%":
- send "{@Prefixbedwars} &c%player% %{Eliminated}%" to {bedwars.players::*}
- if "%player%" is "%{bedwars.player.yellow}%":
- send "{@Prefixbedwars} &e%player% %{Eliminated}%" to {bedwars.players::*}
- if "%player%" is "%{bedwars.player.green}%":
- send "{@Prefixbedwars} &a%player% %{Eliminated}%" to {bedwars.players::*}
- teleport player at {bedwars.location.lobby}
- remove "%player%" from {bedwars.players::*}
- delete {bedwars.play.%player%}
- clear {bedwars.bed.%player%}
- if size of {bedwars.players::*} is smaller than 2:
- invoke "Endbedwars" from {bedwars.players::*}
- # PRIVACY 11/7/2017 - Unlegit_Denis ™
- on death of player:
- if {bedwars.play.%player%} is true:
- clear drops
- set death message to ""
- if {bedwars.bed.%player%} is 1:
- if "%player%" is "%{bedwars.player.blue}%":
- send "{@Prefixbedwars} &b%player% %{waskilledby}% &6%attacker%" to {bedwars.players::*}
- if "%player%" is "%{bedwars.player.red}%":
- send "{@Prefixbedwars} &c%player% %{waskilledby}% &6%attacker%" to {bedwars.players::*}
- if "%player%" is "%{bedwars.player.yellow}%":
- send "{@Prefixbedwars} &e%player% %{waskilledby}% &6%attacker%" to {bedwars.players::*}
- if "%player%" is "%{bedwars.player.green}%":
- send "{@Prefixbedwars} &a%player% %{waskilledby}% &6%attacker%" to {bedwars.players::*}
- if {bedwars.bed.%player%} is 0:
- if "%player%" is "%{bedwars.player.blue}%":
- send "{@Prefixbedwars} &b%player% %{Eliminated}%" to {bedwars.players::*}
- if "%player%" is "%{bedwars.player.red}%":
- send "{@Prefixbedwars} &c%player% %{Eliminated}%" to {bedwars.players::*}
- if "%player%" is "%{bedwars.player.yellow}%":
- send "{@Prefixbedwars} &e%player% %{Eliminated}%" to {bedwars.players::*}
- if "%player%" is "%{bedwars.player.green}%":
- send "{@Prefixbedwars} &a%player% %{Eliminated}%" to {bedwars.players::*}
- teleport player at {bedwars.location.lobby}
- remove "%player%" from {bedwars.players::*}
- delete {bedwars.play.%player%}
- clear {bedwars.bed.%player%}
- if size of {bedwars.players::*} is smaller than 2:
- invoke "Endbedwars" from {bedwars.players::*}
- on any move:
- if {bedwars.play.%player%} is true:
- if {bedwars.dontmove} is true:
- if "%player%" is "%{bedwars.player.blue}%":
- wait 5 ticks
- teleport player to {bedwars.location.spawnblue}
- stop
- if "%player%" is "%{bedwars.player.red}%":
- wait 5 ticks
- teleport player to {bedwars.location.spawnred}
- stop
- if "%player%" is "%{bedwars.player.yellow}%":
- wait 5 ticks
- teleport player to {bedwars.location.spawnyellow}
- stop
- if "%player%" is "%{bedwars.player.green}%":
- wait 5 ticks
- teleport player to {bedwars.location.spawngreen}
- stop
- # PRIVACY 11/7/2017 - Unlegit_Denis ™
- on break of bed:
- if "%player%" != "%{bedwars.player.blue}%":
- cancel event
- add type of block to {BedType::*}
- add location of block to {BedLoc::*}
- set block at event-block to air
- loop all blocks in radius 6 around event-location:
- if loop-blocks is blue wool:
- {bedwars.bed.%{bedwars.player.blue}%} = 1
- send "{@Prefixbedwars} %{BreakBlue}%" to {bedwars.players::*}
- set {bedwars.bed.%{bedwars.player.blue}%} to 0
- edit score id "lettoblue.%{bedwars.players::1}%" to "&9Blue: &c❤" and 6
- edit score id "lettoblue.%{bedwars.players::2}%" to "&9Blue: &c❤" and 6
- edit score id "lettoblue.%{bedwars.players::3}%" to "&9Blue: &c❤" and 6
- edit score id "lettoblue.%{bedwars.players::4}%" to "&9Blue: &c❤" and 6
- cancel event
- on break of bed:
- if "%player%" != "%{bedwars.player.red}%":
- cancel event
- add type of block to {BedType::*}
- add location of block to {BedLoc::*}
- set block at event-block to air
- loop all blocks in radius 6 around event-location:
- if loop-blocks is red wool:
- {bedwars.bed.%{bedwars.player.red}%} = 1
- send "{@Prefixbedwars} %{BreakRed}%" to {bedwars.players::*}
- set {bedwars.bed.%{bedwars.player.red}%} to 0
- edit score id "lettored.%{bedwars.players::1}%" to "&cRed: &c❤" and 8
- edit score id "lettored.%{bedwars.players::2}%" to "&cRed: &c❤" and 8
- edit score id "lettored.%{bedwars.players::3}%" to "&cRed: &c❤" and 8
- edit score id "lettored.%{bedwars.players::4}%" to "&cRed: &c❤" and 8
- cancel event
- on break of bed:
- if "%player%" != "%{bedwars.player.yellow}%":
- cancel event
- add type of block to {BedType::*}
- add location of block to {BedLoc::*}
- set block at event-block to air
- loop all blocks in radius 6 around event-location:
- if loop-blocks is yellow wool:
- {bedwars.bed.%{bedwars.player.yellow}%} = 1
- send "{@Prefixbedwars} %{BreakYellow}%" to {bedwars.players::*}
- set {bedwars.bed.%{bedwars.player.yellow}%} to 0
- edit score id "lettoyellow.%{bedwars.players::1}%" to "&eYellow: &c❤" and 2
- edit score id "lettoyellow.%{bedwars.players::2}%" to "&eYellow: &c❤" and 2
- edit score id "lettoyellow.%{bedwars.players::3}%" to "&eYellow: &c❤" and 2
- edit score id "lettoyellow.%{bedwars.players::4}%" to "&eYellow: &c❤" and 2
- cancel event
- on break of bed:
- if "%player%" != "%{bedwars.player.green}%":
- cancel event
- add type of block to {BedType::*}
- add location of block to {BedLoc::*}
- set block at event-block to air
- loop all blocks in radius 6 around event-location:
- if loop-blocks is green wool:
- {bedwars.bed.%{bedwars.player.green}%} = 1
- send "{@Prefixbedwars} %{BreakGreen}%" to {bedwars.players::*}
- set {bedwars.bed.%{bedwars.player.green}%} to 0
- edit score id "lettogreen.%{bedwars.players::1}%" to "&eGreen: &c❤" and 2
- edit score id "lettogreen.%{bedwars.players::2}%" to "&eGreen: &c❤" and 2
- edit score id "lettogreen.%{bedwars.players::3}%" to "&eGreen: &c❤" and 2
- edit score id "lettogreen.%{bedwars.players::4}%" to "&eGreen: &c❤" and 2
- cancel event
- # PRIVACY 11/7/2017 - Unlegit_Denis ™
- command /bwshop§ [<text>] [<text>]:
- trigger:
- if arg 1 isn't set:
- open chest with 1 rows named "&8Shop" to player
- wait 3 ticks
- format slot 1 of player with steak named "&6Cibo" to run [make player execute command "/bwshop§ tavernier"]
- format slot 3 of player with iron sword named "&dArmi" to run [make player execute command "/bwshop§ terroriste"]
- format slot 5 of player with sandstone named "&bBlocchi" to run [make player execute command "/bwshop§ batisseur"]
- format slot 7 of player with iron chestplate named "&eArmatura" to run [make player execute command "/bwshop§ armurier"]
- if arg 1 is "tavernier":
- open chest with 1 rows named "&8Shop" to player
- wait 3 ticks
- format slot 2 of player with 2 cooked beef with lore "&3Prezzo: &c4 Bronzo" to run [make player execute command "/bwshop§ tavernier steak"]
- format slot 3 of player with golden apple:0 with lore "&3Prezzo: &71 Iron" to run [make player execute command "/bwshop§ tavernier goldenapple"]
- format slot 5 of player with potion of:373 with lore "&3Prezzo: &b1 Diamante" to run [make player execute command "/bwshop§ tavernier potionregen"]
- format slot 6 of player with potion of:438 with lore "&3Prezzo: &b1 Diamante" to run [make player execute command "/bwshop§ tavernier potiondegat"]
- if arg 2 is "steak":
- if player's inventory contains 4 brick:
- remove 4 brick from player's inventory
- give 2 steak to player
- if arg 2 is "goldenapple":
- if player's inventory contains 1 iron ingot:
- remove 1 iron ingot from player's inventory
- give 1 golden apple:0 to player
- if arg 2 is "potionregen":
- if player's inventory contains 1 diamond:
- remove 1 diamond from player's inventory
- give 1 potion of:373 to player
- if arg 2 is "potiondegat":
- if player's inventory contains 1 diamond:
- remove 1 diamond from player's inventory
- give 1 potion of:438 to player
- if arg 1 is "terroriste":
- open chest with 1 rows named "&8Shop" to player
- wait 3 ticks
- format slot 0 of player with iron sword of sharpness 2, knockback 1 named "&bSpada III" with lore "&3Prezzo: &77 Irons" to run [make player execute command "/bwshop§ terroriste epee3"]
- format slot 1 of player with iron sword of sharpness 2 named "&bSpada II" with lore "&3Prezzo: &73 Irons" to run [make player execute command "/bwshop§ terroriste epee2"]
- format slot 2 of player with iron sword of sharpness 1 named "&bSpada I" with lore "&3Prezzo: &71 Iron" to run [make player execute command "/bwshop§ terroriste epee1"]
- format slot 3 of player with diamond sword of sharpness 2, knockback 1 named "&bSpada IV" with lore "&3Prezzo: &b1 Diamante &3e &75 Iron" to run [make player execute command "/bwshop§ terroriste epee4"]
- format slot 6 of player with tnt with lore "&3Prezzo: &73 Irons" to run [make player execute command "/bwshop§ terroriste tnt"]
- format slot 7 of player with 3 tnt with lore "&3Prezzo: &b1 Diamante" to run [make player execute command "/bwshop§ terroriste tnt2"]
- format slot 8 of player with 259 with lore "&3Prezzo: &e1 Oro" to run [make player execute command "/bwshop§ terroriste briquet"]
- if arg 2 is "epee3":
- if player's inventory contains 7 iron ingot:
- remove 7 iron ingot from player's inventory
- give iron sword of sharpness 2, knockback 1 named "&bSpada III" to player
- if arg 2 is "epee2":
- if player's inventory contains 3 iron ingot:
- remove 3 iron ingot from player's inventory
- give iron sword of sharpness 2 named "&bSpada II" to player
- if arg 2 is "epee1":
- if player's inventory contains 1 iron ingot:
- remove 1 iron ingot from player's inventory
- give iron sword of sharpness 1 named "&bSpada I" to player
- if arg 2 is "epee4":
- if player's inventory contains 1 diamond and 5 iron ingot:
- remove 5 iron ingot from player's inventory
- remove 1 diamond from player's inventory
- give diamond sword of sharpness 2, knockback 1 named "&bSpada III" to player
- if arg 1 is "batisseur":
- open chest with 1 rows named "&8Shop" to player
- wait 3 ticks
- format slot 1 of player with 4 sand stone:2 with lore "&3Prezzo: &c1 Bronzo" to run [make player execute command "/bwshop§ batisseur smoothsandstone"]
- format slot 2 of player with end stone with lore "&3Prezzo: &c4 Bronzo" to run [make player execute command "/bwshop§ batisseur endstone"]
- format slot 3 of player with iron pickaxe of efficiency 1 with lore "&3Prezzo: &c4 Bronzo" to run [make player execute command "/bwshop§ batisseur pioche1"]
- format slot 5 of player with iron pickaxe of efficiency 2 with lore "&3Prezzo: &72 Iron" to run [make player execute command "/bwshop§ batisseur pioche2"]
- format slot 6 of player with diamond pickaxe of efficiency 3 with lore "&3Prezzo: &e1 Oro" to run [make player execute command "/bwshop§ batisseur pioche3"]
- if arg 2 is "smoothsandstone":
- if player's inventory contains 1 brick:
- remove 1 brick: from player's inventory
- give 4 sand stone:2 to player
- if arg 2 is "endstone":
- if player's inventory contains 4 brick:
- remove 4 brick: from player's inventory
- give end stone to player
- if arg 2 is "pioche1":
- if player's inventory contains 4 brick:
- remove 4 brick: from player's inventory
- give iron pickaxe of efficiency 1 to player
- if arg 2 is "pioche2":
- if player's inventory contains 2 iron ingot:
- remove 2 iron ingot: from player's inventory
- give iron pickaxe of efficiency 2 to player
- if arg 2 is "pioche3":
- if player's inventory contains 1 golden ingot:
- remove 1 golden ingot: from player's inventory
- give diamond pickaxe of efficiency 3 to player
- if arg 1 is "armurier":
- open chest with 1 rows named "&8Shop" to player
- wait 3 ticks
- format slot 0 of player with leather chestplate named "&bArmatura I" with lore "&3Prezzo: &c2 Bronzo" to run [make player execute command "/bwshop§ armurier Armatura1"]
- format slot 1 of player with leather chestplate of protection 1 named "&bArmatura II" with lore "&3Prezzo: &72 Iron" to run [make player execute command "/bwshop§ armurier Armatura2"]
- format slot 2 of player with leather chestplate of protection 1 named "&bArmatura II" with lore "&3Prezzo: &c15 Bronzo" to run [make player execute command "/bwshop§ armurier Armatura22"]
- format slot 6 of player with leather chestplate of protection 2 named "&bArmatura III" with lore "&3Prezzo: &e1 Oro" to run [make player execute command "/bwshop§ armurier Armatura3"]
- format slot 7 of player with leather chestplate of protection 2 named "&bArmatura III" with lore "&3Prezzo: &b1 Diamante" to run [make player execute command "/bwshop§ armurier Armatura33"]
- if arg 2 is "Armatura1":
- if player's inventory contains 2 brick:
- remove 1 brick from player's inventory
- give leather chestplate named "&3Armatura I" to player
- if arg 2 is "Armatura2":
- if player's inventory contains 2 iron ingot:
- remove 2 iron ingot from player's inventory
- give leather chestplate of protection 1 named "&3Armatura II" to player
- if arg 2 is "Armatura22":
- if player's inventory contains 15 brick:
- remove 15 brick from player's inventory
- give leather chestplate of protection 1 named "&3Armatura II" to player
- if arg 2 is "Armatura3":
- if player's inventory contains 1 golden ingot:
- remove 1 golden ingot from player's inventory
- give leather chestplate of protection 2 named "&3Armatura III" to player
- if arg 2 is "Armatura33":
- if player's inventory contains 1 diamond:
- remove 1 diamond from player's inventory
- give leather chestplate of protection 2 named "&3Armatura III" to player
- # PRIVACY 11/7/2017 - Unlegit_Denis ™
Add Comment
Please, Sign In to add comment