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