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