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