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