cmd create Bm buy legendary items at low prices
cmd add BM %gui%[\"type\"] = \"form\"
cmd add BM %gui%[\"title\"] = \"§bBlackMarket\"
cmd add BM %gui%[\"content\"] = \"Buy unusual itemsl\"
cmd add BM %b0%[\"text\"] = \"§6Mythical Potion\"
cmd add BM %b1%[\"text\"] = \"§6Effect Shard\"
cmd add Bm %b2%[\"text\"] = \"§6Shard O’ Flight\"
cmd add Bm %bs%[] = %b0%
cmd add Bm %bs%[] = %b1%
cmd add Bm %bs%[] = %b2%
cmd add Bm %gui%[\"buttons\"] = %bs%
cmd add Bm %res% = dialog(%p%, %gui%)
cmd add Bm if %res% = 0 then goto 17
cmd add Bm if %res% = 1 then goto 26
cmd add Bm if %res% = 1 then goto 33
cmd add Bm exit
cmd add Bm %bal% = playerbalance(%p%)
cmd add Bm if %bal% < 999 then goto 999
cmd add Bm if %bal% > 999 then goto
cmd add Bm takemoney %p% 999
cmd add Bm /give %p% 373 1 {display:{Name:"Mythical Potion O' Resistance"}}
cmd add Bm /give %p% 373 1 {display:{Name:"Mythical Potion O' Haste"}}
cmd add Bm /give %p% 373 1 {display:{Name:"Mythical Potion O’ Strength"}}
cmd add Bm message %p% [+] You have purchased a mythical potion [+]
cmd add Bm message %p% (Drink a mythical potion to gain medieval powers)
cmd add Bm exit
cmd add Bm if %bal% < 999 then goto 1001
cmd add Bm if %bal% > 999 then goto
cmd add Bm takemoney %p% 999
cmd add Bm asop
cmd add Bm message %p% [+] You have acquired an effect shard [+]
cmd add Bm message %p% (This is an unlimited use item, tap it on the floor to gain 5 seconds of effects)
cmd add Bm exit
cmd add Bm if %bal% < 999 then goto 1003
cmd add Bm if %bal% > 999 then goto
cmd add Bm takemoney %p% 999
cmd add Bm /give %p% 373 1 {display:{Name:"Shard O'Flight"}}
cmd add Bm message %p% [+] You have purchased a Shard O' Flight [+]
cmd add Bm message %p% (Tap the shard on the ground to enable flight)
cmd add Bm exit
Mythical Potion (code)
cmd add Mp
cmd unregister Mp
cmd add Mp if %args%[3] = 373 then goto 2
cmd add Mp if %args%[5] = “Mythical Potion O’ Resistance” then goto 6
cmd add Mp if %args%[5] = “Mythical Potion O’ Haste” then goto 11
cmd add Mp if %args%[5] = “Mythical Potion O’ Strength” then goto 16
Cmd add Mp /effect %p% resistance 300 3
Cmd add Mp /effect %p% fire_resistance 300 3
Cmd add Mp /effect %p% regeneration 300 3
Cmd add Mp message %p% [+] Mythical Potion O' Resistance Consumed [+]
Cmd add Mp exit
Cmd add Mp /effect %p% haste 300 3
Cmd add Mp /effect %p% speed 300 4
Cmd add Mp /effect %p% night_vision 300 1
Cmd add Mp message %p% [+] Mythical Potion O' Haste Consumed [+]
Cmd add Mp exit
Cmd add Mp /effect %p% strength 300 3
Cmd add Mp /effect %p% jump_boost 300 4
Cmd add Mp /effect %p% speed 300 3
Cmd add Mp message %p% [+] Mythical Potion O' Strength Consumed [+]
Cmd add Mp exit
Cmd trigger eat Mp
Effect & Flight Shard – Code
cmd create es
cmd unregister es
cmd add es if %args%[7] = 409 then goto 2
cmd add es if %args%[9] = “Effect Shard" then goto 4
cmd add es if %args%[9] = “Flight Shard" then goto
cmd add es exit
cmd add es /effect %p% strength 5 4
cmd add es /effect %p% haste 5 3
cmd add es /effect %p% saturation 5 3
cmd add es /effect %p% speed 5 3
cmd add es /effect %p% jump_boost 5 3
cmd add es exit
cmd add es /fly
cmd trigger touch es
Cannot afford messages
cmd edit bm 999 message %p% [-] You cannot afford this item [-]
cmd edit bm 1000 exit
cmd edit bm 1001 message %p% [-] You cannot afford this item [-]
cmd edit bm 1002 exit
cmd edit bm 1003 message %p% [-] You cannot afford this item [-]
cmd edit bm 1004 exit
cmd add BM %gui%[\"type\"] = \"form\"
cmd add BM %gui%[\"title\"] = \"§bBlackMarket\"
cmd add BM %gui%[\"content\"] = \"Buy unusual itemsl\"
cmd add BM %b0%[\"text\"] = \"§6Mythical Potion\"
cmd add BM %b1%[\"text\"] = \"§6Effect Shard\"
cmd add Bm %b2%[\"text\"] = \"§6Shard O’ Flight\"
cmd add Bm %bs%[] = %b0%
cmd add Bm %bs%[] = %b1%
cmd add Bm %bs%[] = %b2%
cmd add Bm %gui%[\"buttons\"] = %bs%
cmd add Bm %res% = dialog(%p%, %gui%)
cmd add Bm if %res% = 0 then goto 17
cmd add Bm if %res% = 1 then goto 26
cmd add Bm if %res% = 1 then goto 33
cmd add Bm exit
cmd add Bm %bal% = playerbalance(%p%)
cmd add Bm if %bal% < 999 then goto 999
cmd add Bm if %bal% > 999 then goto
cmd add Bm takemoney %p% 999
cmd add Bm /give %p% 373 1 {display:{Name:"Mythical Potion O' Resistance"}}
cmd add Bm /give %p% 373 1 {display:{Name:"Mythical Potion O' Haste"}}
cmd add Bm /give %p% 373 1 {display:{Name:"Mythical Potion O’ Strength"}}
cmd add Bm message %p% [+] You have purchased a mythical potion [+]
cmd add Bm message %p% (Drink a mythical potion to gain medieval powers)
cmd add Bm exit
cmd add Bm if %bal% < 999 then goto 1001
cmd add Bm if %bal% > 999 then goto
cmd add Bm takemoney %p% 999
cmd add Bm asop
cmd add Bm message %p% [+] You have acquired an effect shard [+]
cmd add Bm message %p% (This is an unlimited use item, tap it on the floor to gain 5 seconds of effects)
cmd add Bm exit
cmd add Bm if %bal% < 999 then goto 1003
cmd add Bm if %bal% > 999 then goto
cmd add Bm takemoney %p% 999
cmd add Bm /give %p% 373 1 {display:{Name:"Shard O'Flight"}}
cmd add Bm message %p% [+] You have purchased a Shard O' Flight [+]
cmd add Bm message %p% (Tap the shard on the ground to enable flight)
cmd add Bm exit
Mythical Potion (code)
cmd add Mp
cmd unregister Mp
cmd add Mp if %args%[3] = 373 then goto 2
cmd add Mp if %args%[5] = “Mythical Potion O’ Resistance” then goto 6
cmd add Mp if %args%[5] = “Mythical Potion O’ Haste” then goto 11
cmd add Mp if %args%[5] = “Mythical Potion O’ Strength” then goto 16
Cmd add Mp /effect %p% resistance 300 3
Cmd add Mp /effect %p% fire_resistance 300 3
Cmd add Mp /effect %p% regeneration 300 3
Cmd add Mp message %p% [+] Mythical Potion O' Resistance Consumed [+]
Cmd add Mp exit
Cmd add Mp /effect %p% haste 300 3
Cmd add Mp /effect %p% speed 300 4
Cmd add Mp /effect %p% night_vision 300 1
Cmd add Mp message %p% [+] Mythical Potion O' Haste Consumed [+]
Cmd add Mp exit
Cmd add Mp /effect %p% strength 300 3
Cmd add Mp /effect %p% jump_boost 300 4
Cmd add Mp /effect %p% speed 300 3
Cmd add Mp message %p% [+] Mythical Potion O' Strength Consumed [+]
Cmd add Mp exit
Cmd trigger eat Mp
Effect & Flight Shard – Code
cmd create es
cmd unregister es
cmd add es if %args%[7] = 409 then goto 2
cmd add es if %args%[9] = “Effect Shard" then goto 4
cmd add es if %args%[9] = “Flight Shard" then goto
cmd add es exit
cmd add es /effect %p% strength 5 4
cmd add es /effect %p% haste 5 3
cmd add es /effect %p% saturation 5 3
cmd add es /effect %p% speed 5 3
cmd add es /effect %p% jump_boost 5 3
cmd add es exit
cmd add es /fly
cmd trigger touch es
Cannot afford messages
cmd edit bm 999 message %p% [-] You cannot afford this item [-]
cmd edit bm 1000 exit
cmd edit bm 1001 message %p% [-] You cannot afford this item [-]
cmd edit bm 1002 exit
cmd edit bm 1003 message %p% [-] You cannot afford this item [-]
cmd edit bm 1004 exit