Facebook
From Mungo Dolphin, 1 Year ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 110
  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. every second in "world":
  55.         loop all players:
  56.                 wipe loop-player's sidebar
  57.                 set name of sidebar of loop-player to "&eTokens: &8| &e%{tokens.%loop-player%}%"
  58.                 set score "&c&m---------------" in sidebar of loop-player to 14
  59.                 set score "&7" in sidebar of loop-player to 13
  60.                 set score "  &ePlayer: &8┬╗ &e%loop-player%" in sidebar of loop-player to 12
  61.                 set score "  &eKills: &8┬╗ &e%{kills.%loop-player%}%" in sidebar of loop-player to 11
  62.                 set score "  &eDeaths &8┬╗ &e%{deaths.%loop-player%}%" in sidebar of loop-player to 10
  63.                 set score "  &ePlaytime &8┬╗ &e%{playtime.%loop-player%}%" in sidebar of loop-player to 9
  64.                 set score "&f" in sidebar of loop-player to 8
  65.                 set score "&7&oyeetblue.minehut.gg" in sidebar of loop-player to 7
  66.                 set score "&c&m---------------" in sidebar of loop-player to 6
  67.  
  68.  
  69. command /sell:
  70.         trigger:
  71.                 open chest with 5 row named "&cTokenSell" to player
  72.                 set {Inventory.%player%.Open} to true
  73.                 format slot 1 of player with diamond named "&aSell: Diamond" with lore "&7Value: &a$500" to close then run [make player execute command "/selldiamond12"]      
  74.                 format slot 2 of player with emerald named "&aSell: Emerald" with lore "&7Value: &a$250" to close then run [make player execute command "/sellemerald12"]
  75.                 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"]
  76.                 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"]
  77.                 format slot 5 of player with coal named "&aSell: Coal" with lore "&7Value: &a$25" to close then run [make player execute command "/sellcoal12"]
  78.                 format slot 6 of player with stone named "&aSell: Stone" with lore "&7Value: &a$5" to close then run [make player execute command "/sellstone12"]
  79.                 format slot 12 of player with diamond block named "&aMade by: %player%" with lore "&7" to be unstealable
  80.                
  81. command /sellstone12:
  82.     trigger:
  83.         loop all items in the inventory of player:
  84.             if loop-item is stone:
  85.                                 open chest with 1 row named "&cHow many items?" to player
  86.                 format slot 1 of player with lever named "&aItems: 1" with lore "&7Click to choose!" to close then run [make player execute command "/1itemstone"]
  87.                 format slot 2 of player with grass named "&aItems: 10" with lore "&7Click to choose!" to close then run [make player execute command "/10itemstone"]
  88.                                        
  89. command /1itemstone:
  90.         trigger:
  91.                 loop all items in the inventory of player:
  92.                         if loop-item is stone:
  93.                                 remove 1 stone from player's inventory
  94.                                 add 5 to {tokens.%player%}
  95.                                 send player title "&7You sold &aStone &7for" with subtitle "&a$5 Dollars!" for 3 seconds
  96.                                
  97. command /10itemstone:
  98.         trigger:
  99.                 loop all items in the inventory of player:
  100.                         if loop-item is stone:
  101.                                 remove 10 stone from player's inventory
  102.                                 add 50 to {tokens.%player%}
  103.                                 send player title "&7You sold &aStone &7for" with subtitle "&a$50 Dollars!" for 3 seconds
  104.                
  105. command /sellcoal12:
  106.     trigger:
  107.         loop all items in the inventory of player:
  108.             if loop-item is coal:
  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.         loop all items in the inventory of player:
  132.             if loop-item is iron ingot:
  133.                                 open chest with 1 row named "&cHow many items?" to player
  134.                 format slot 1 of player with lever named "&aItems: 1" with lore "&7Click to choose!" to close then run [make player execute command "/1itemiron"]
  135.                 format slot 2 of player with grass named "&aItems: 10" with lore "&7Click to choose!" to close then run [make player execute command "/10itemiron"]
  136.                                        
  137. command /10itemiron:
  138.         trigger:
  139.                 loop all items in the inventory of player:
  140.                         if loop-item is iron ingot:
  141.                                 remove 10 iron ingot from player's inventory
  142.                                 add 1000 to {tokens.%player%}
  143.                                 send player title "&7You sold &aIron &7for" with subtitle "&a$1000 Dollars!" for 3 seconds
  144.                                
  145. command /1itemiron:
  146.         trigger:
  147.                 loop all items in the inventory of player:
  148.                         if loop-item is iron ingot:
  149.                                 remove 1 iron ingot from player's inventory
  150.                                 add 100 to {tokens.%player%}
  151.                                 send player title "&7You sold &aIron &7for" with subtitle "&a$100 Dollars!" for 3 seconds
  152.  
  153.                        
  154. command /sellgold12:
  155.     trigger:
  156.         loop all items in the inventory of player:
  157.             if loop-item is gold ingot:
  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.         loop all items in the inventory of player:
  181.             if loop-item is diamond:
  182.                                 open chest with 1 row named "&cHow many items?" to player
  183.                 format slot 1 of player with lever named "&aItems: 1" with lore "&7Click to choose!" to close then run [make player execute command "/1itemdiamond"]
  184.                 format slot 2 of player with grass named "&aItems: 10" with lore "&7Click to choose!" to close then run [make player execute command "/10itemdiamond"]
  185.                        
  186. command /10itemdiamond:
  187.     trigger:
  188.                 loop all items in the inventory of player:
  189.                         if loop-item is diamond:
  190.                                 remove 10 diamond from player's inventory
  191.                                 add 5000 to {tokens.%player%}
  192.                                 send player title "&7You sold &aDiamond &7for" with subtitle "&a$5000 Dollars!" for 3 seconds
  193.                                
  194. command /1itemdiamond:
  195.     trigger:
  196.                 loop all items in the inventory of player:
  197.                         if loop-item is diamond:
  198.                                 remove 1 diamond from player's inventory
  199.                                 add 500 to {tokens.%player%}
  200.                                 send player title "&7You sold &aDiamond &7for" with subtitle "&a$500 Dollars!" for 3 seconds
  201.                        
  202. command /sellemerald12:
  203.     trigger:
  204.         loop all items in the inventory of player:
  205.             if loop-item is emerald:
  206.                                 open chest with 1 row named "&cHow many items?" to player
  207.                 format slot 1 of player with lever named "&aItems: 1" with lore "&7Click to choose!" to close then run [make player execute command "/1itememerald"]
  208.                 format slot 2 of player with grass named "&aItems: 10" with lore "&7Click to choose!" to close then run [make player execute command "/10itememerald"]
  209.                                        
  210. command /10itememerald:
  211.     trigger:
  212.                 loop all items in the inventory of player:
  213.                         if loop-item is emerald:
  214.                                 remove 10 emerald from player's inventory
  215.                                 add 2500 to {tokens.%player%}
  216.                                 send player title "&7You sold &aEmerald &7for" with subtitle "&a$2500 Dollars!" for 3 seconds
  217.                                
  218. command /getitem [<item>]:
  219.         trigger:
  220.                 give player arg-1
  221.                 send player title "&7You got gifted" with subtitle "&c%arg-1%&7!" for 3 seconds
  222.                                
  223. command /1itemdiamond:
  224.     trigger:
  225.                 loop all items in the inventory of player:
  226.                         if loop-item is emerald:
  227.                                 remove 1 emerald from player's inventory
  228.                                 add 250 to {tokens.%player%}
  229.                                 send player title "&7You sold &aEmerald &7for" with subtitle "&a$250 Dollars!" for 3 seconds