Wheemangga

AdminShop

May 23rd, 2014
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.50 KB | None | 0 0
  1. Options:
  2.     L: &7[&bAdmin&6Shop&7]
  3.     P: &7===== &bAdmin&6Shop&7 =====
  4. Command /AdminShop [<text>] [<text>] [<integer>]:
  5.     Aliases: /as, /ashop, /admins
  6.     trigger:
  7.         arg 1 is not set:
  8.             send "&{@P}"
  9.             send "{@L} &cOptions : <> : Required - [] : Optional"
  10.             send " "
  11.             send "{@L} &a/AdminShop List &7-&6 Catalog List"
  12.             send "{@L} &a/AdminShop <Catalog> &7-&6 See the Item list"
  13.             send "{@L} &a/AdminShop Buy <Item> [Amount] &7-&6 Buy an item for an Amount" #Bad Englesh :x
  14.             send "{@L} &a/AdminShop Sell <Item> [Amount] &7-&6 Sell an item for an Amount" #Ba Englesh too :X
  15.             send "{@L} &a/AdminShop Admin &7-&6 Admin Mode for Admins" #Yodawg :v
  16.             send " "
  17.             send "{@L} &bAdmin Shop 1.0.0"
  18.         arg 1 is "list":
  19.             send "{@P}"
  20.             send "{@L} &bCatalog List"
  21.             send " "
  22.             send "{@L} &aBlocks"
  23.             send "{@L} &cItems"
  24.             send "{@L} &cGuns"
  25.             send "{@L} &cItems"
  26.             send "{@L} &cTools"
  27.             send "{@L} &cWeapons"
  28.             send "{@L} &cBrewery" #Bad English :x
  29.             send "{@L} &cDecorations"
  30.             send "{@L} &cMiscellaneous"
  31.             send " "
  32.             send "{@L} &a/AdminShop <Catalog> &7to See the Details of the Catalog"
  33.             send "{@L} &bAdminShop v1.0.1 &7by &aWheemango"
  34.         arg 1 is "Block" or "Blocks":
  35.             arg 2 is not set:
  36.                 send "{@P}"
  37.                 send "{@L} &bBlocks"
  38.                 send " "
  39.                 send "{@L} &aDirt &7-&6 $30"
  40.                 send "{@L} &aStone &7-&6 $120"
  41.                 send "{@L} &aCobblestone &7-&6 $100"
  42.                 send "{@L} &aPodzol &7-&6 $800"
  43.                 send "{@L} &aGrass &7-&6 $300"
  44.                 send " "
  45.                 send "{@L} &a/Shop buy <Item> [Amount] &7to Process"
  46.         arg 1 is "buy":
  47.             arg 2 is "dirt":
  48.                 arg 3 is set:
  49.                     player's money is above or equal to arg 3*30:
  50.                         remove arg 3*30 from player's money
  51.                         execute console command "/give %player% dirt %arg 3%"
  52.                         send "{@L} &aTransaction Success!"
  53.                         send "{@L} Item Buyed: &a%arg 3%"
  54.                         send "{@L} Price: &a%arg 3*30%"
  55.                     else:
  56.                         send "{@L} You have no Money!"
  57.                 arg 3 is not set:
  58.                     player's money is above or equal to 30:
  59.                         remove 30 from player's money
  60.                         give player a dirt
  61.                         send "{@L} &aTransaction Success!"
  62.                     else:
  63.                         send "{@L} You have no Money!"
  64.             arg 2 is "Stone":
  65.                 arg 3 is set:
  66.                     player's money is above or equal to arg 3*120:
  67.                         remove arg 3*120 from player's money
  68.                         execute console command "/give %player% Stone %arg 3%"
  69.                         send "{@L} &aTransaction Success!"
  70.                         send "{@L} Item Buyed: &a%arg 3%"
  71.                         send "{@L} Price: &a%arg 3*120%"
  72.                     else:
  73.                         send "{@L} You have no Money!"
  74.                 arg 3 is not set:
  75.                     player's money is above or equal to 120:
  76.                         remove 30 from player's money
  77.                         give player a Stone
  78.                         send "{@L} &aTransaction Success!"
  79.                     else:
  80.                         send "{@L} You have no Money!"
  81.             arg 2 is "Grass":
  82.                 arg 3 is set:
  83.                     player's money is above or equal to arg 3*300:
  84.                         remove arg 3*300 from player's money
  85.                         execute console command "/give %player% Grass %arg 3%"
  86.                         send "{@L} &aTransaction Success!"
  87.                         send "{@L} Item Buyed: &a%arg 3%"
  88.                         send "{@L} Price: &a%arg 3*300%"
  89.                     else:
  90.                         send "{@L} You have no Money!"
  91.                 arg 3 is not set:
  92.                     player's money is above or equal to 300:
  93.                         remove 30 from player's money
  94.                         give player a Grass
  95.                         send "{@L} &aTransaction Success!"
  96.                     else:
  97.                         send "{@L} You have no Money!"
  98.             arg 2 is "Podzol":
  99.                 arg 3 is set:
  100.                     player's money is above or equal to arg 3*800:
  101.                         remove arg 3*800 from player's money
  102.                         execute console command "/give %player% Dirt:2 %arg 3%"
  103.                         send "{@L} &aTransaction Success!"
  104.                         send "{@L} Item Buyed: &a%arg 3%"
  105.                         send "{@L} Price: &a%arg 3*800%"
  106.                     else:
  107.                         send "{@L} You have no Money!"
  108.                 arg 3 is not set:
  109.                     player's money is above or equal to 800:
  110.                         remove 30 from player's money
  111.                         execute console command "/give %player% Dirt:2 1"
  112.                         send "{@L} &aTransaction Success!"
  113.                     else:
  114.                         send "{@L} You have no Money!"
  115.             arg 2 is "Cobblestone":
  116.                 arg 3 is set:
  117.                     player's money is above or equal to arg 3*100:
  118.                         remove arg 3*100 from player's money
  119.                         execute console command "/give %player% Cobblestone %arg 3%"
  120.                         send "{@L} &aTransaction Success!"
  121.                         send "{@L} Item Buyed: &a%arg 3%"
  122.                         send "{@L} Price: &a%arg 3*100%"
  123.                     else:
  124.                         send "{@L} You have no Money!"
  125.                 arg 3 is not set:
  126.                     player's money is above or equal to 100:
  127.                         remove 30 from player's money
  128.                         give player a Cobblestone
  129.                         send "{@L} &aTransaction Success!"
  130.                     else:
  131.                         send "{@L} You have no Money!"
Advertisement
Add Comment
Please, Sign In to add comment