Facebook
From Melodic Stork, 4 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 218
  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.                                 if arg-2 is not set:
  38.                                         send "&8Correct format: &c/tokenpay <player> <amount>"
  39.                         if arg-1 is set:
  40.                                 if arg-2 is set:
  41.                                         if {tokens.%loop-player%} is less than "1":
  42.                                                 send "&7You don't have enough &eTokens &7to pay!"
  43.                                         if {tokens.%loop-player%} is more than "1":
  44.                                                 open chest with 2 row named "&cTokenPay &8| &c%arg-1%" to player
  45.                                                 set {Inventory.%player%.Open} to true
  46.                                                 format slot 1 of player with coal named "&e1 Token" with lore "&8Fee: 2 Tokens" to close then run [make player execute command "/list"]
  47.                                                 format slot 2 of player with iron ingot named "&e10 Tokens" with lore "&8Fee: 5 Tokens" to close then run [make player execute command "/paytokens1234"]
  48.                                                 format slot 3 of player with emerald named "&e100 Tokens" with lore "&8Fee: 25 Tokens" to close then run [make player execute command "/paytokens12345"]
  49.                                                 format slot 4 of player with diamond named "&e1000 Tokens" with lore "&8Fee: 50 Tokens" to close then run [make player execute command "/paytokens123456"]
  50.                                        
  51.  
  52.  
  53. command /list:
  54.     trigger:
  55.         set {_num} to -1
  56.         open chest with 1 rows named "&8&lWhat player you do you want to pay?" to player
  57.         loop all players:
  58.             add 1 to {_num}
  59.             if loop-player has permission "*":
  60.                 format slot 1 of player with skull of ("%loop-player%" parsed as offline player) named "&7%loop-player%" with lore "&7Tokens: &e%{tokens.%loop-player%}% &8| &7Level: &e%loop-player's level%" to close then run [make player execute command "/paytokens1234"]
  61.                                 set loop-player to {_player}
  62.                                
  63. command /paytokens123 [<player>]:
  64.         trigger:
  65.                 send player title "&c&lWOAH!" with subtitle "&8Processing Payment!" for 2 seconds
  66.                 wait 3 seconds
  67.                 send player title "&c&lWOAH!" with subtitle "&8Successfuly Processed!" for 2 seconds
  68.                 wait 2 seconds
  69.                 send player title "&c&lWOAH!" with subtitle "&8Transfering Payment!" for 2 seconds
  70.                 remove 3 from {tokens.%player%}
  71.                 set {_player} to arg-1
  72.                 add 1 to {tokens.%arg-1%}
  73.                 stop
  74.                
  75. command /paytokens1234 [<player>]:
  76.         trigger:
  77.                 send player title "&c&lWOAH!" with subtitle "&8Processing Payment!" for 2 seconds
  78.                 wait 3 seconds
  79.                 send player title "&c&lWOAH!" with subtitle "&8Successfuly Processed!" for 2 seconds
  80.                 wait 2 seconds
  81.                 send player title "&c&lWOAH!" with subtitle "&8Transfering Payment!" for 2 seconds
  82.                 remove 15 from {tokens.%player%}
  83.                 set {_player} to arg-1
  84.                 add 10 to {tokens.%arg-1%}
  85.                 stop
  86.                
  87. command /paytokens12345 [<player>]:
  88.         trigger:
  89.                 send player title "&c&lWOAH!" with subtitle "&8Processing Payment!" for 2 seconds
  90.                 wait 3 seconds
  91.                 send player title "&c&lWOAH!" with subtitle "&8Successfuly Processed!" for 2 seconds
  92.                 wait 2 seconds
  93.                 send player title "&c&lWOAH!" with subtitle "&8Transfering Payment!" for 2 seconds
  94.                 remove 125 from {tokens.%player%}
  95.                 set {_player} to arg-1
  96.                 add 100 to {tokens.%arg-1%}
  97.                 stop
  98.                
  99. command /paytokens123456 [<player>]:
  100.         trigger:
  101.                 send player title "&c&lWOAH!" with subtitle "&8Processing Payment!" for 2 seconds
  102.                 wait 3 seconds
  103.                 send player title "&c&lWOAH!" with subtitle "&8Successfuly Processed!" for 2 seconds
  104.                 wait 2 seconds
  105.                 send player title "&c&lWOAH!" with subtitle "&8Transfering Payment!" for 2 seconds
  106.                 remove 1050 from {tokens.%player%}
  107.                 set {_player} to arg-1
  108.                 add 1000 to {tokens.%arg-1%}
  109.                 stop
  110.                                        
  111. command /resettokens [<player>]:
  112.         trigger:
  113.                 if arg-1 is not set:
  114.                         set {tokens.%player%} to 0
  115.                 if arg-1 is set:
  116.                         set {tokens.%arg-1%} to 0
  117.                         send player title "&7Reset..." with subtitle "&8Success!" for 3 seconds
  118.                         send arg-1 title "&7Your &e&lTOKENS &7got" with subtitle "&8a reset!" for 3 seconds
  119.                         stop   
  120.                        
  121. command /givetokens [<player>]:
  122.         trigger:
  123.                 if arg-1 is not set:
  124.                         send "&7Correct format: &c/givetokens <player> <amount>"
  125.                 if arg-1 is set:
  126.                         send "&7You gave &e&l500 TOKENS &7to &e%arg-1%"
  127.                         add 500 to {tokens.%arg-1%}
  128.                        
  129. command /checktokens [<player>]:
  130.         trigger:
  131.                 send player title "&e%arg-1% &7has" with subtitle "&e&l%{tokens.%arg-1%}% TOKENS" for 3 seconds
  132.                 wait 3 seconds
  133.                 stop
  134.                                
  135. command /clear:
  136.         trigger:
  137.                 clear player's inventory
  138.                 send "&7You have removed your items? Why?"
  139.                 broadcast "&c%player% &7has cleared his &cinventory&7 :("
  140.                                                
  141. every second in "world":
  142.         loop all players:
  143.                 wipe loop-player's sidebar
  144.                 set name of sidebar of loop-player to "&eTokens: &8| &e%{tokens.%loop-player%}%"
  145.                 set score "&c&m---------------" in sidebar of loop-player to 14
  146.                 set score "&7" in sidebar of loop-player to 13
  147.                 set score "  &ePlayer: &8» &e%loop-player%" in sidebar of loop-player to 12
  148.                 set score "  &eKills: &8» &e%{kills.%loop-player%}%" in sidebar of loop-player to 11
  149.                 set score "  &eDeaths &8» &e%{deaths.%loop-player%}%" in sidebar of loop-player to 10
  150.                 set score "  &ePlaytime &8» &e%{playtime.%loop-player%}%" in sidebar of loop-player to 9
  151.                 set score "&f" in sidebar of loop-player to 8
  152.                 set score "&7&oyeetblue.minehut.gg" in sidebar of loop-player to 7
  153.                 set score "&c&m---------------" in sidebar of loop-player to 6
  154.  
  155.  
  156. command /sell:
  157.         trigger:
  158.                 open chest with 2 row named "&cTokenSell" to player
  159.                 set {Inventory.%player%.Open} to true
  160.                 format slot 1 of player with diamond named "&aSell: Diamond" with lore "&7Value: &a$500" to close then run [make player execute command "/selldiamond12"]      
  161.                 format slot 2 of player with emerald named "&aSell: Emerald" with lore "&7Value: &a$250" to close then run [make player execute command "/sellemerald12"]
  162.                 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"]
  163.                 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"]
  164.                 format slot 5 of player with coal named "&aSell: Coal" with lore "&7Value: &a$25" to close then run [make player execute command "/sellcoal12"]
  165.                 format slot 6 of player with stone named "&aSell: Stone" with lore "&7Value: &a$5" to close then run [make player execute command "/sellstone12"]
  166.                 format slot 12 of player with diamond block named "&aMade by: %player%" with lore "&7" to be unstealable
  167.                
  168. command /sellstone12:
  169.         trigger:
  170.                 loop all items in the inventory of player:
  171.                         if loop-item is stone:
  172.                                 open chest with 1 row named "&cHow many items?" to player
  173.                                 format slot 1 of player with lever named "&aItems: 1" with lore "&7Click to choose!" to close then run [make player execute command "/1itemstone"]
  174.                                 format slot 2 of player with grass named "&aItems: 10" with lore "&7Click to choose!" to close then run [make player execute command "/10itemstone"]
  175.                                        
  176. command /1itemstone:
  177.         trigger:
  178.                 loop all items in the inventory of player:
  179.                         if loop-item is stone:
  180.                                 remove 1 stone from player's inventory
  181.                                 add 5 to {tokens.%player%}
  182.                                 send player title "&7You sold &aStone &7for" with subtitle "&a$5 Dollars!" for 3 seconds
  183.                                
  184. command /10itemstone:
  185.         trigger:
  186.                 loop all items in the inventory of player:
  187.                         if loop-item is stone:
  188.                                 remove 10 stone from player's inventory
  189.                                 add 50 to {tokens.%player%}
  190.                                 send player title "&7You sold &aStone &7for" with subtitle "&a$50 Dollars!" for 3 seconds
  191.                
  192. command /sellcoal12:
  193.         trigger:
  194.                 open chest with 1 row named "&cHow many items?" to player
  195.                 format slot 1 of player with lever named "&aItems: 1" with lore "&7Click to choose!" to close then run [make player execute command "/1itemcoal"]
  196.                 format slot 2 of player with grass named "&aItems: 10" with lore "&7Click to choose!" to close then run [make player execute command "/10itemcoal"]
  197.                                        
  198. command /1itemcoal:
  199.         trigger:
  200.                 loop all items in the inventory of player:
  201.                         if loop-item is coal:
  202.                                 remove 1 coal from player's inventory
  203.                                 add 25 to {tokens.%player%}
  204.                                 send player title "&7You sold &aCoal &7for" with subtitle "&a$25 Dollars!" for 3 seconds
  205.                                
  206. command /10itemcoal:
  207.         trigger:
  208.                 loop all items in the inventory of player:
  209.                         if loop-item is coal:
  210.                                 remove 10 coal from player's inventory
  211.                                 add 250 to {tokens.%player%}
  212.                                 send player title "&7You sold &aCoal &7for" with subtitle "&a$250 Dollars!" for 3 seconds
  213.                                
  214. command /selliron12:
  215.         trigger:
  216.                 open chest with 1 row named "&cHow many items?" to player
  217.                 format slot 1 of player with lever named "&aItems: 1" with lore "&7Click to choose!" to close then run [make player execute command "/1itemiron"]
  218.                 format slot 2 of player with grass named "&aItems: 10" with lore "&7Click to choose!" to close then run [make player execute command "/10itemiron"]
  219.                                        
  220. command /10itemiron:
  221.         trigger:
  222.                 loop all items in the inventory of player:
  223.                         if loop-item is iron ingot:
  224.                                 remove 10 iron ingot from player's inventory
  225.                                 add 1000 to {tokens.%player%}
  226.                                 send player title "&7You sold &aIron &7for" with subtitle "&a$1000 Dollars!" for 3 seconds
  227.                                
  228. command /1itemiron:
  229.         trigger:
  230.                 loop all items in the inventory of player:
  231.                         if loop-item is iron ingot:
  232.                                 remove 1 iron ingot from player's inventory
  233.                                 add 100 to {tokens.%player%}
  234.                                 send player title "&7You sold &aIron &7for" with subtitle "&a$100 Dollars!" for 3 seconds
  235.  
  236.                        
  237. command /sellgold12:
  238.         trigger:
  239.                 open chest with 1 row named "&cHow many items?" to player
  240.                 format slot 1 of player with lever named "&aItems: 1" with lore "&7Click to choose!" to close then run [make player execute command "/1itemgold"]
  241.                 format slot 2 of player with grass named "&aItems: 10" with lore "&7Click to choose!" to close then run [make player execute command "/10itemgold"]
  242.                                        
  243. command /1itemgold:
  244.         trigger:
  245.                 loop all items in the inventory of player:
  246.                         if loop-item is gold ingot:
  247.                                 remove 1 gold ingot from player's inventory
  248.                                 add 50 to {tokens.%player%}
  249.                                 send player title "&7You sold &aGold &7for" with subtitle "&a$50 Dollars!" for 3 seconds
  250.                                
  251. command /10itemgold:
  252.         trigger:
  253.                 loop all items in the inventory of player:
  254.                         if loop-item is gold ingot:
  255.                                 remove 10 gold ingot from player's inventory
  256.                                 add 500 to {tokens.%player%}
  257.                                 send player title "&7You sold &aGold &7for" with subtitle "&a$500 Dollars!" for 3 seconds
  258.                                
  259. command /selldiamond12:
  260.         trigger:
  261.                 open chest with 1 row named "&cHow many items?" to player
  262.                 format slot 1 of player with lever named "&aItems: 1" with lore "&7Click to choose!" to close then run [make player execute command "/1itemdiamond"]
  263.                 format slot 2 of player with grass named "&aItems: 10" with lore "&7Click to choose!" to close then run [make player execute command "/10itemdiamond"]
  264.                        
  265. command /10itemdiamond:
  266.         trigger:
  267.                 loop all items in the inventory of player:
  268.                         if loop-item is diamond:
  269.                                 remove 10 diamond from player's inventory
  270.                                 add 5000 to {tokens.%player%}
  271.                                 send player title "&7You sold &aDiamond &7for" with subtitle "&a$5000 Dollars!" for 3 seconds
  272.                                
  273. command /1itemdiamond:
  274.         trigger:
  275.                 loop all items in the inventory of player:
  276.                         if loop-item is diamond:
  277.                                 remove 1 diamond from player's inventory
  278.                                 add 500 to {tokens.%player%}
  279.                                 send player title "&7You sold &aDiamond &7for" with subtitle "&a$500 Dollars!" for 3 seconds
  280.                        
  281. command /sellemerald12:
  282.         trigger:
  283.                 open chest with 1 row named "&cHow many items?" to player
  284.                 format slot 1 of player with lever named "&aItems: 1" with lore "&7Click to choose!" to close then run [make player execute command "/1itememerald"]
  285.                 format slot 2 of player with grass named "&aItems: 10" with lore "&7Click to choose!" to close then run [make player execute command "/10itememerald"]
  286.                                        
  287. command /10itememerald:
  288.         trigger:
  289.                 loop all items in the inventory of player:
  290.                         if loop-item is emerald:
  291.                                 remove 10 emerald from player's inventory
  292.                                 add 2500 to {tokens.%player%}
  293.                                 send player title "&7You sold &aEmerald &7for" with subtitle "&a$2500 Dollars!" for 3 seconds
  294.                                
  295. command /getitem [<item>]:
  296.         trigger:
  297.                 give player arg-1
  298.                 send player title "&7You got gifted" with subtitle "&c%arg-1%&7!" for 3 seconds
  299.                                
  300. command /1itememerald:
  301.         trigger:
  302.                 loop all items in the inventory of player:
  303.                         if loop-item is emerald:
  304.                                 remove 1 emerald from player's inventory
  305.                                 add 250 to {tokens.%player%}
  306.                                 send player title "&7You sold &aEmerald &7for" with subtitle "&a$250 Dollars!" for 3 seconds