Facebook
From Aqua Bongo, 4 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 221
  1. command /contract [<text>] [<player>] [<text>] [<text>]:
  2.         trigger:
  3.                 if arg-1 is not set:
  4.                         if arg-2 is not set:
  5.                                 if arg-3 is not set:
  6.                                         if arg-4 is not set:
  7.                                                 send "&c&m---------------"
  8.                                                 send "&7/contract <accept/deny/give> <player> <amount> <type>"
  9.                                                 send "&c&m---------------"
  10.                 if arg-1 is set:
  11.                         if arg-2 is set:
  12.                                 if arg-3 is set:
  13.                                         if arg-4 is set:
  14.                                                 if arg-1 is "give":
  15.                                                         send player title "&7You have sent an &acontract &7to" with subtitle "&e&l%arg-2%" for 3 seconds
  16.                                                         send arg-2 title "&a%player% &7has sent you a" with subtitle "&e&lCONTRACT&7!" for 3 seconds
  17.                                                         send "&7/contract accept <player>" to arg-2
  18.                                                         send "&7/contract deny <player>" to arg-2
  19.                                                         set arg-3 to {_value}
  20.                                                         stop
  21.                 if arg-1 is "accept":
  22.                         if arg-2 is set:
  23.                                 send "&7You have accepted &a%arg-2%&7's &e&lCONTRACT&7!"
  24.                                 send "&7Your contract has been &e&lACCEPTED&7!" to arg-2
  25.                                 remove {_value} from {tokens.%player%}
  26.                                 add {_value} to {tokens.%arg-2%}
  27.                                 reset {_value}
  28.                                 stop
  29.                 if arg-1 is "deny":
  30.                         if arg-2 is set:
  31.                                 send player title "&7You have denied &a%arg-2%&7's" with subtitle "&e&lCONTRACT&7!" for 3 seconds
  32.                                 send arg-2 title "&7Your contract has been" with subtitle "&e&lDENIED&7!" for 3 seconds
  33.                                 reset {_value}
  34.                                 stop
  35.                                
  36.                                        
  37.                        
  38. command /tokenpay [<player>] [<text>]:
  39.         trigger:
  40.                 if arg-1 is not set:
  41.                         send "&7Correct format: &c/tokenpay <player> <amount>"
  42.                 if arg-1 is set:
  43.                         if {tokens.%player%} is less than arg-2:
  44.                                 send player title "&7You don't have enough" with subtitle "&e&lTOKENS&7!" for 3 seconds
  45.                                 broadcast "&c%player% &7tried to pay someone &e&l%arg-2% TOKENS&7!"
  46.                         if {tokens.%player%} is more than arg-2:
  47.                                 send player title "&7You have paid &a%arg-1%" with subtitle "&e&l%arg-2% TOKENS&7!" for 3 seconds
  48.                                 play sound "" with volume 10 at player
  49.                                 play sound "" with volume 10 at arg-1
  50.                                 send arg-1 title "&a%player% &7paid you" with subtitle "&e&l%arg-2% TOKENS&7!" for 3 seconds
  51.                                 add arg-2 to {tokens.%arg-1%}
  52.                                 remove arg-2 from {tokens.%player%}
  53.                                
  54. command /clear:
  55.         trigger:
  56.                 clear player's inventory
  57.                 send "&7You have removed your items? Why?"
  58.                 broadcast "&c%player% &7has cleared his &cinventory&7 :("
  59.                                                
  60. every second in "world":
  61.         loop all players:
  62.                 wipe loop-player's sidebar
  63.                 set name of sidebar of loop-player to "&eTokens: &8| &e%{tokens.%loop-player%}%"
  64.                 set score "&c&m---------------" in sidebar of loop-player to 14
  65.                 set score "&7" in sidebar of loop-player to 13
  66.                 set score "  &ePlayer: &8» &e%loop-player%" in sidebar of loop-player to 12
  67.                 set score "  &eKills: &8» &e%{kills.%loop-player%}%" in sidebar of loop-player to 11
  68.                 set score "  &eDeaths &8» &e%{deaths.%loop-player%}%" in sidebar of loop-player to 10
  69.                 set score "  &ePlaytime &8» &e%{playtime.%loop-player%}%" in sidebar of loop-player to 9
  70.                 set score "&f" in sidebar of loop-player to 8
  71.                 set score "&7&oyeetblue.minehut.gg" in sidebar of loop-player to 7
  72.                 set score "&c&m---------------" in sidebar of loop-player to 6
  73.  
  74.  
  75. command /sell:
  76.         trigger:
  77.                 open chest with 2 row named "&cTokenSell" to player
  78.                 set {Inventory.%player%.Open} to true
  79.                 format slot 1 of player with diamond named "&aSell: Diamond" with lore "&7Value: &a$500" to close then run [make player execute command "/selldiamond12"]      
  80.                 format slot 2 of player with emerald named "&aSell: Emerald" with lore "&7Value: &a$250" to close then run [make player execute command "/sellemerald12"]
  81.                 format slot 3 of player with iron ingot named "&aSell: Iron Ingot" with lore "&7Value: &a$100" to close then run [make player execute command "/selliron12"]
  82.                 format slot 4 of player with gold ingot named "&aSell: Gold Ingot" with lore "&7Value: &a$50" to close then run [make player execute command "/sellgold12"]
  83.                 format slot 5 of player with coal named "&aSell: Coal" with lore "&7Value: &a$25" to close then run [make player execute command "/sellcoal12"]
  84.                 format slot 6 of player with stone named "&aSell: Stone" with lore "&7Value: &a$5" to close then run [make player execute command "/sellstone12"]
  85.                 format slot 12 of player with diamond block named "&aMade by: %player%" with lore "&7" to be unstealable
  86.                
  87. command /sellstone12:
  88.     trigger:
  89.         loop all items in the inventory of player:
  90.             if loop-item is stone:
  91.                                 open chest with 1 row named "&cHow many items?" to player
  92.                                 format slot 1 of player with lever named "&aItems: 1" with lore "&7Click to choose!" to close then run [make player execute command "/1itemstone"]
  93.                                 format slot 2 of player with grass named "&aItems: 10" with lore "&7Click to choose!" to close then run [make player execute command "/10itemstone"]
  94.                                        
  95. command /1itemstone:
  96.         trigger:
  97.                 loop all items in the inventory of player:
  98.                         if loop-item is stone:
  99.                                 remove 1 stone from player's inventory
  100.                                 add 5 to {tokens.%player%}
  101.                                 send player title "&7You sold &aStone &7for" with subtitle "&a$5 Dollars!" for 3 seconds
  102.                                
  103. command /10itemstone:
  104.         trigger:
  105.                 loop all items in the inventory of player:
  106.                         if loop-item is stone:
  107.                                 remove 10 stone from player's inventory
  108.                                 add 50 to {tokens.%player%}
  109.                                 send player title "&7You sold &aStone &7for" with subtitle "&a$50 Dollars!" for 3 seconds
  110.                
  111. command /sellcoal12:
  112.     trigger:
  113.                 open chest with 1 row named "&cHow many items?" to player
  114.                 format slot 1 of player with lever named "&aItems: 1" with lore "&7Click to choose!" to close then run [make player execute command "/1itemcoal"]
  115.                 format slot 2 of player with grass named "&aItems: 10" with lore "&7Click to choose!" to close then run [make player execute command "/10itemcoal"]
  116.                                        
  117. command /1itemcoal:
  118.         trigger:
  119.                 loop all items in the inventory of player::
  120.                         if loop-item is coal:
  121.                                 remove 1 coal from player's inventory
  122.                                 add 25 to {tokens.%player%}
  123.                                 send player title "&7You sold &aCoal &7for" with subtitle "&a$25 Dollars!" for 3 seconds
  124.                                
  125. command /10itemcoal:
  126.         trigger:
  127.                 loop all items in the inventory of player:
  128.                         if loop-item is coal:
  129.                                 remove 10 coal from player's inventory
  130.                                 add 250 to {tokens.%player%}
  131.                                 send player title "&7You sold &aCoal &7for" with subtitle "&a$250 Dollars!" for 3 seconds
  132.                                
  133. command /selliron12:
  134.     trigger:
  135.                 open chest with 1 row named "&cHow many items?" to player
  136.         format slot 1 of player with lever named "&aItems: 1" with lore "&7Click to choose!" to close then run [make player execute command "/1itemiron"]
  137.         format slot 2 of player with grass named "&aItems: 10" with lore "&7Click to choose!" to close then run [make player execute command "/10itemiron"]
  138.                                        
  139. command /10itemiron:
  140.         trigger:
  141.                 loop all items in the inventory of player:
  142.                         if loop-item is iron ingot:
  143.                                 remove 10 iron ingot from player's inventory
  144.                                 add 1000 to {tokens.%player%}
  145.                                 send player title "&7You sold &aIron &7for" with subtitle "&a$1000 Dollars!" for 3 seconds
  146.                                
  147. command /1itemiron:
  148.         trigger:
  149.                 loop all items in the inventory of player:
  150.                         if loop-item is iron ingot:
  151.                                 remove 1 iron ingot from player's inventory
  152.                                 add 100 to {tokens.%player%}
  153.                                 send player title "&7You sold &aIron &7for" with subtitle "&a$100 Dollars!" for 3 seconds
  154.  
  155.                        
  156. command /sellgold12:
  157.     trigger:
  158.                 open chest with 1 row named "&cHow many items?" to player
  159.                 format slot 1 of player with lever named "&aItems: 1" with lore "&7Click to choose!" to close then run [make player execute command "/1itemgold"]
  160.                 format slot 2 of player with grass named "&aItems: 10" with lore "&7Click to choose!" to close then run [make player execute command "/10itemgold"]
  161.                                        
  162. command /1itemgold:
  163.         trigger:
  164.                 loop all items in the inventory of player:
  165.                         if loop-item is gold ingot:
  166.                                 remove 1 gold ingot from player's inventory
  167.                                 add 50 to {tokens.%player%}
  168.                                 send player title "&7You sold &aGold &7for" with subtitle "&a$50 Dollars!" for 3 seconds
  169.                                
  170. command /10itemgold:
  171.         trigger:
  172.                 loop all items in the inventory of player:
  173.                         if loop-item is gold ingot:
  174.                                 remove 10 gold ingot from player's inventory
  175.                                 add 500 to {tokens.%player%}
  176.                                 send player title "&7You sold &aGold &7for" with subtitle "&a$500 Dollars!" for 3 seconds
  177.                                
  178. command /selldiamond12:
  179.     trigger:
  180.                 open chest with 1 row named "&cHow many items?" to player
  181.                 format slot 1 of player with lever named "&aItems: 1" with lore "&7Click to choose!" to close then run [make player execute command "/1itemdiamond"]
  182.                 format slot 2 of player with grass named "&aItems: 10" with lore "&7Click to choose!" to close then run [make player execute command "/10itemdiamond"]
  183.                        
  184. command /10itemdiamond:
  185.     trigger:
  186.                 loop all items in the inventory of player:
  187.                         if loop-item is diamond:
  188.                                 remove 10 diamond from player's inventory
  189.                                 add 5000 to {tokens.%player%}
  190.                                 send player title "&7You sold &aDiamond &7for" with subtitle "&a$5000 Dollars!" for 3 seconds
  191.                                
  192. command /1itemdiamond:
  193.     trigger:
  194.                 loop all items in the inventory of player:
  195.                         if loop-item is diamond:
  196.                                 remove 1 diamond from player's inventory
  197.                                 add 500 to {tokens.%player%}
  198.                                 send player title "&7You sold &aDiamond &7for" with subtitle "&a$500 Dollars!" for 3 seconds
  199.                        
  200. command /sellemerald12:
  201.     trigger:
  202.                 open chest with 1 row named "&cHow many items?" to player
  203.                 format slot 1 of player with lever named "&aItems: 1" with lore "&7Click to choose!" to close then run [make player execute command "/1itememerald"]
  204.                 format slot 2 of player with grass named "&aItems: 10" with lore "&7Click to choose!" to close then run [make player execute command "/10itememerald"]
  205.                                        
  206. command /10itememerald:
  207.     trigger:
  208.                 loop all items in the inventory of player:
  209.                         if loop-item is emerald:
  210.                                 remove 10 emerald from player's inventory
  211.                                 add 2500 to {tokens.%player%}
  212.                                 send player title "&7You sold &aEmerald &7for" with subtitle "&a$2500 Dollars!" for 3 seconds
  213.                                
  214. command /getitem [<item>]:
  215.         trigger:
  216.                 give player arg-1
  217.                 send player title "&7You got gifted" with subtitle "&c%arg-1%&7!" for 3 seconds
  218.                                
  219. command /1itememerald:
  220.     trigger:
  221.                 loop all items in the inventory of player:
  222.                         if loop-item is emerald:
  223.                                 remove 1 emerald from player's inventory
  224.                                 add 250 to {tokens.%player%}
  225.                                 send player title "&7You sold &aEmerald &7for" with subtitle "&a$250 Dollars!" for 3 seconds