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