Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options:
- L: &7[&bAdmin&6Shop&7]
- P: &7===== &bAdmin&6Shop&7 =====
- Command /AdminShop [<text>] [<text>] [<integer>]:
- Aliases: /as, /ashop, /admins
- trigger:
- arg 1 is not set:
- send "&{@P}"
- send "{@L} &cOptions : <> : Required - [] : Optional"
- send " "
- send "{@L} &a/AdminShop List &7-&6 Catalog List"
- send "{@L} &a/AdminShop <Catalog> &7-&6 See the Item list"
- send "{@L} &a/AdminShop Buy <Item> [Amount] &7-&6 Buy an item for an Amount" #Bad Englesh :x
- send "{@L} &a/AdminShop Sell <Item> [Amount] &7-&6 Sell an item for an Amount" #Ba Englesh too :X
- send "{@L} &a/AdminShop Admin &7-&6 Admin Mode for Admins" #Yodawg :v
- send " "
- send "{@L} &bAdmin Shop 1.0.0"
- arg 1 is "list":
- send "{@P}"
- send "{@L} &bCatalog List"
- send " "
- send "{@L} &aBlocks"
- send "{@L} &cItems"
- send "{@L} &cGuns"
- send "{@L} &cItems"
- send "{@L} &cTools"
- send "{@L} &cWeapons"
- send "{@L} &cBrewery" #Bad English :x
- send "{@L} &cDecorations"
- send "{@L} &cMiscellaneous"
- send " "
- send "{@L} &a/AdminShop <Catalog> &7to See the Details of the Catalog"
- send "{@L} &bAdminShop v1.0.1 &7by &aWheemango"
- arg 1 is "Block" or "Blocks":
- arg 2 is not set:
- send "{@P}"
- send "{@L} &bBlocks"
- send " "
- send "{@L} &aDirt &7-&6 $30"
- send "{@L} &aStone &7-&6 $120"
- send "{@L} &aCobblestone &7-&6 $100"
- send "{@L} &aPodzol &7-&6 $800"
- send "{@L} &aGrass &7-&6 $300"
- send " "
- send "{@L} &a/Shop buy <Item> [Amount] &7to Process"
- arg 1 is "buy":
- arg 2 is "dirt":
- arg 3 is set:
- player's money is above or equal to arg 3*30:
- remove arg 3*30 from player's money
- execute console command "/give %player% dirt %arg 3%"
- send "{@L} &aTransaction Success!"
- send "{@L} Item Buyed: &a%arg 3%"
- send "{@L} Price: &a%arg 3*30%"
- else:
- send "{@L} You have no Money!"
- arg 3 is not set:
- player's money is above or equal to 30:
- remove 30 from player's money
- give player a dirt
- send "{@L} &aTransaction Success!"
- else:
- send "{@L} You have no Money!"
- arg 2 is "Stone":
- arg 3 is set:
- player's money is above or equal to arg 3*120:
- remove arg 3*120 from player's money
- execute console command "/give %player% Stone %arg 3%"
- send "{@L} &aTransaction Success!"
- send "{@L} Item Buyed: &a%arg 3%"
- send "{@L} Price: &a%arg 3*120%"
- else:
- send "{@L} You have no Money!"
- arg 3 is not set:
- player's money is above or equal to 120:
- remove 30 from player's money
- give player a Stone
- send "{@L} &aTransaction Success!"
- else:
- send "{@L} You have no Money!"
- arg 2 is "Grass":
- arg 3 is set:
- player's money is above or equal to arg 3*300:
- remove arg 3*300 from player's money
- execute console command "/give %player% Grass %arg 3%"
- send "{@L} &aTransaction Success!"
- send "{@L} Item Buyed: &a%arg 3%"
- send "{@L} Price: &a%arg 3*300%"
- else:
- send "{@L} You have no Money!"
- arg 3 is not set:
- player's money is above or equal to 300:
- remove 30 from player's money
- give player a Grass
- send "{@L} &aTransaction Success!"
- else:
- send "{@L} You have no Money!"
- arg 2 is "Podzol":
- arg 3 is set:
- player's money is above or equal to arg 3*800:
- remove arg 3*800 from player's money
- execute console command "/give %player% Dirt:2 %arg 3%"
- send "{@L} &aTransaction Success!"
- send "{@L} Item Buyed: &a%arg 3%"
- send "{@L} Price: &a%arg 3*800%"
- else:
- send "{@L} You have no Money!"
- arg 3 is not set:
- player's money is above or equal to 800:
- remove 30 from player's money
- execute console command "/give %player% Dirt:2 1"
- send "{@L} &aTransaction Success!"
- else:
- send "{@L} You have no Money!"
- arg 2 is "Cobblestone":
- arg 3 is set:
- player's money is above or equal to arg 3*100:
- remove arg 3*100 from player's money
- execute console command "/give %player% Cobblestone %arg 3%"
- send "{@L} &aTransaction Success!"
- send "{@L} Item Buyed: &a%arg 3%"
- send "{@L} Price: &a%arg 3*100%"
- else:
- send "{@L} You have no Money!"
- arg 3 is not set:
- player's money is above or equal to 100:
- remove 30 from player's money
- give player a Cobblestone
- send "{@L} &aTransaction Success!"
- else:
- send "{@L} You have no Money!"
Advertisement
Add Comment
Please, Sign In to add comment