SHARE
TWEET

Untitled

a guest Jul 18th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on first join:
  2.     set {level::%player's uuid%} to 0
  3.     set {cost1::%player's uuid%} to 99
  4.     set {cost2::%player's uuid%} to 100
  5.     set {cost3::%player's uuid%} to 50
  6.     set {pickaxe::%player's uuid%} to 0
  7.     set {sword::%player's uuid%} to 0
  8.     set {shovel::%player's uuid%} to 0
  9.     set {axe::%player's uuid%} to 0
  10.     set {pickaxe2::%player's uuid%} to "wooden"
  11.     set {sword2::%player's uuid%} to "wooden"
  12.     set {shovel2::%player's uuid%} to "wooden"
  13.     set {axe2::%player's uuid%} to "wooden"
  14.    
  15. on join:
  16.     if {level::%player's uuid%} is not set:
  17.         set {level::%player's uuid%} to 0
  18.     if {cost1::%player's uuid%} is not set:
  19.         set {cost1::%player's uuid%} to 99
  20.     if {cost2::%player's uuid%} is not set:
  21.         set {cost2::%player's uuid%} to 100
  22.  
  23.        
  24.  
  25. on mine of dirt:
  26.     add 1 to {blocks::%player's uuid%}
  27. on mine of sand:
  28.     add 1 to {blocks::%player's uuid%}
  29. on mine of stone:
  30.     add 2 to {blocks::%player's uuid%}
  31. on mine of diamond ore:
  32.     add 3 to {blocks::%player's uuid%}
  33.  
  34.  
  35.  
  36.  
  37. command /blocks [<text>]:
  38.     permission: skript.mine.blocks
  39.     usage: "/blocks help"
  40.     trigger:
  41.         if arg-1 is not set:
  42.             send "--------------------Blocks Help-----------------"
  43.             send "-1. Info - shows how many blocks you have broken"
  44.             send "-2. Upgrade - upgrades your level"
  45.             send "--------------------Blocks Help-----------------"
  46.         if arg-1 is "info":
  47.             send "&7------------&eBlocks&7-----------"
  48.             send "&c-Points &e%{blocks::%player's uuid%}%"
  49.             send "&7------------&eBlocks&7-----------"
  50.         if arg-1 is "help":
  51.             send "--------------------Blocks Help-----------------"
  52.             send "-1. Info - shows how many blocks you have broken"
  53.             send "-2. Upgrade - upgrades your level"
  54.             send "--------------------Blocks Help-----------------"
  55.         if arg-1 is "upgrade":
  56.             if {blocks::%player's uuid%} >= {cost2::%player's uuid%}:
  57.                 add 1 to {level::%player's uuid%}
  58.                 execute console command "lp user %player% meta removesuffix 100"
  59.                 execute console command "lp user %player% meta addsuffix 100 &e[&cLv.%{level::%player's uuid%}%&e]"
  60.                 remove {cost2::%player's uuid%} from {blocks::%player's uuid%}
  61.                 add 50 to {cost1::%player's uuid%}
  62.                 add 50 to {cost2::%player's uuid%}
  63.             else:
  64.                 send "&cYou need %{cost2::%player's uuid%}% points to level up!"
  65.  
  66. command /sv:
  67.     permission: skript.blocks.admin
  68.     trigger:
  69.         send "%{blocks::%player's uuid%}% to player"
  70.         send "%{cost2::%player's uuid%}% to player"
  71.  
  72. command /points <text>:
  73.     trigger:
  74.         set {blocks::%player's uuid%} to arg-1
  75.  
  76. command /debug [<offlineplayer>]:
  77.     permission: sk.debug
  78.     trigger:
  79.         set {level::%arg-1's uuid%} to 0
  80.         set {cost1::%arg-1's uuid%} to 99
  81.         set {cost2::%arg-1's uuid%} to 100
  82.  
  83. command /vd:
  84.     permission: skript.blocks.admin
  85.     trigger:
  86.         delete {level::%player's uuid%}
  87.         delete {cost1::%player's uuid%}
  88.         delete {cost2::%player's uuid%}
  89.         delete {blocks::%player's uuid%}
  90.  
  91. command /upgrade [<text>]:
  92.     permission: skript.mine.blocks
  93.     trigger:
  94.         if arg-1 is not set:
  95.             send "&7Try &e/upgrade <pickaxe,axe,shovel,sword> &7instead"
  96.         if arg-1 is "pickaxe":
  97.             if {pickaxe2::%player's uuid%} is "wooden":
  98.                 if {pickaxe::%player's uuid%} is "5":
  99.                     set {pickaxe2::%player's uuid%} to "stone"
  100.                     send "&cYou now can ger a &estone &cpickaxe!"
  101.         if arg-1 is "pickaxe":
  102.             if {pickaxe2::%player's uuid%} is "stone":
  103.                 if {pickaxe::%player's uuid%} is "5":
  104.                     set {pickaxe2::%player's uuid%} to "iron"
  105.                     send "&cYou now can get a &eiron &cpickaxe!"
  106.         if arg-1 is "pickaxe":
  107.             if {pickaxe2::%player's uuid%} is "iron":
  108.                 if {pickaxe::%player's uuid%} is "5":
  109.                     set {pickaxe2::%player's uuid%} to "diamond"
  110.                     send "&cYou now can get a &bdimond &cpickaxe!"
  111.         if arg-1 is "pickaxe":
  112.             if {blocks::%player's uuid%} >= {cost3::%player's uuid%}:
  113.                 if {pickaxe2::%player's uuid%} is "wooden":
  114.                     add 1 to {pickaxe::%player's uuid%}
  115.                     give wooden pickaxe of efficiency {pickaxe::%player's uuid%} to player
  116.                     remove {cost3::%player's uuid%} from {blocks::%player's uuid%}
  117.                     add 50 {cost3::%player's uuid%}
  118.                     send "&cYou have upgraded your pickaxe!"
  119.             else:
  120.                 send "&7Sorry, but you need &e%{cost3::%player's uuid%}% &7points"
  121.         if arg-1 is "pickaxe":
  122.             if {blocks::%player's uuid%} >= {cost3::%player's uuid%}:
  123.                 if {pickaxe2::%player's uuid%} is "stone":
  124.                     add 1 to {pickaxe::%player's uuid%}
  125.                     give stone pickaxe of efficiency {pickaxe::%player's uuid%} to player
  126.                     remove {cost3::%player's uuid%} from {blocks::%player's uuid%}
  127.                     add 50 {cost3::%player's uuid%}
  128.                     send "&cYou have upgraded your pickaxe!"
  129.             else:
  130.                 send "&7Sorry, but you need &e%{cost3::%player's uuid%}% &7points"
  131.         if arg-1 is "pickaxe":
  132.             if {blocks::%player's uuid%} >= {cost3::%player's uuid%}:
  133.                 if {pickaxe2::%player's uuid%} is "stone":
  134.                     add 1 to {pickaxe::%player's uuid%}
  135.                     give stone pickaxe of efficiency {pickaxe::%player's uuid%} to player
  136.                     remove {cost3::%player's uuid%} from {blocks::%player's uuid%}
  137.                     add 50 {cost3::%player's uuid%}
  138.                     send "&cYou have upgraded your pickaxe!"
  139.             else:
  140.                 send "&7Sorry, but you need &e%{cost3::%player's uuid%}% &7points"
  141.         if arg-1 is "pickaxe":
  142.             if {blocks::%player's uuid%} >= {cost3::%player's uuid%}:
  143.                 if {pickaxe2::%player's uuid%} is "iron":
  144.                     add 1 to {pickaxe::%player's uuid%}
  145.                     give iron pickaxe of efficiency {pickaxe::%player's uuid%} to player
  146.                     remove {cost3::%player's uuid%} from {blocks::%player's uuid%}
  147.                     add 50 {cost3::%player's uuid%}
  148.                     send "&cYou have upgraded your pickaxe!"
  149.             else:
  150.                 send "&7Sorry, but you need &e%{cost3::%player's uuid%}% &7points"
  151.         if arg-1 is "pickaxe":
  152.             if {blocks::%player's uuid%} >= {cost3::%player's uuid%}:
  153.                 if {pickaxe2::%player's uuid%} is "diamond":
  154.                     add 1 to {pickaxe::%player's uuid%}
  155.                     give diamond pickaxe of efficiency {pickaxe::%player's uuid%} to player
  156.                     remove {cost3::%player's uuid%} from {blocks::%player's uuid%}
  157.                     add 50 {cost3::%player's uuid%}
  158.                     send "&cYou have upgraded your pickaxe!"
  159.             else:
  160.                 send "&7Sorry, but you need &e%{cost3::%player's uuid%}% &7points"
  161.                
  162.                
  163. command /upgrades [<text>]:
  164.     permission: skript.mine.blocks
  165.     trigger:
  166.         if arg-1 is not set:
  167.             send "&7Try &e/upgrades help &7instead"
  168.         if arg-1 is "help":
  169.             send "&7-------------------------&eHelp&7------------------------"
  170.             send "&7-1. Help - sends a list of help commands"
  171.             send "&7-2. Level - sends a list of upgrades for levels"
  172.             send "&7-3. Pickaxe - sends a list of upgrades for your pickaxe"
  173.             send "&7-4. Shovel - send a list of upgrades for your shovel"
  174.             send "&7-5. Sword - sends a list of upgrades for your sword"
  175.             send "&7-5. Axe - sends a list of upgrades for your axe"
  176.             send "&7-------------------------&eHelp&7------------------------"
  177.         if arg-1 is "level":
  178.             send "&7---------------------&eLevels&7---------------------"
  179.             send "&7First level up is 100 and then it goes up by 50."
  180.             send "&7Example:"
  181.             send "&7Level 1 = 100 points"
  182.             send "&7Level 2 = 150 points"
  183.             send "&7Level 3 = 200 points"
  184.             send "&7ect..."
  185.             send "&7---------------------&eLevels&7---------------------"
  186.         if arg-1 is "Pickaxe":
  187.             send "&7---------------------&ePickaxe&7---------------------"
  188.             send "&7First level up is 50 and then it goes up by 50."
  189.             send "&7Example:"
  190.             send "&7Pickaxe 1 = 50 points"
  191.             send "&7Pickaxe 2 = 100 points"
  192.             send "&7Pickaxe 3 = 150 points"
  193.             send "&7ect..."
  194.             send "&7---------------------&ePickaxe&7---------------------"
  195.         if arg-1 is "Axe":
  196.             send "&7---------------------&eAxe---------------------"
  197.             send "&7First level up is 50 and then it goes up by 50."
  198.             send "&7Example:"
  199.             send "&7Axe 1 = 50 points"
  200.             send "&7Axe 2 = 100 points"
  201.             send "&7Axe 3 = 150 points"
  202.             send "&7ect..."
  203.             send "&7---------------------&eAxe&7---------------------"
  204.         if arg-1 is "Sword":
  205.             send "&7---------------------&eSword&7---------------------"
  206.             send "First level up is 50 and then it goes up by 50."
  207.             send "Example:"
  208.             send "Sword 1 = 50 points"
  209.             send "Sword 2 = 100 points"
  210.             send "Sword 3 = 150 points"
  211.             send "ect..."
  212.             send "---------------------Sword---------------------"
  213.         if arg-1 is "Shovel":
  214.             send "---------------------Shovel---------------------"
  215.             send "First level up is 50 and then it goes up by 50."
  216.             send "Example:"
  217.             send "Shovel 1 = 50 points"
  218.             send "Shovel 2 = 100 points"
  219.             send "Shovel 3 = 150 points"
  220.             send "ect..."
  221.             send "---------------------Shovel---------------------"
  222.        
  223. on first join:
  224.     give wooden sword of sharpness 1 to player
  225.     give wooden pickaxe of efficiency 1 to player
  226.     give wooden axe of efficiency 1 to player
  227.     give wooden shovel of efficiency 1 to player
  228.    
  229. command /debug2:
  230.     trigger:
  231.         set {pickaxe2::%player's uuid%} to "wooden"
  232.         set {sword2::%player's uuid%} to "wooden"
  233.         set {shovel2::%player's uuid%} to "wooden"
  234.         set {axe2::%player's uuid%} to "wooden"
  235.  
  236. command /oppick:
  237.     trigger:
  238.         give diamond pickaxe of efficiency 1000 to player
  239. command /godpick:
  240.     trigger:
  241.         give diamond pickaxe of efficiency 10 to player
  242. command /debug3:
  243.     trigger:
  244.         send "if %{blocks::%player's uuid%}% and %{cost3::%player's uuid%}%"
  245. command /debug4:
  246.     trigger:
  247.         set {level::%player's uuid%} to 0
  248.         set {cost1::%player's uuid%} to 99
  249.         set {cost2::%player's uuid%} to 100
  250.         set {cost3::%player's uuid%} to 50
  251.         set {pickaxe::%player's uuid%} to 0
  252.         set {sword::%player's uuid%} to 0
  253.         set {shovel::%player's uuid%} to 0
  254.         set {axe::%player's uuid%} to 0
  255.         set {pickaxe2::%player's uuid%} to "wooden"
  256.         set {sword2::%player's uuid%} to "wooden"
  257.         set {shovel2::%player's uuid%} to "wooden"
  258.         set {axe2::%player's uuid%} to "wooden"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top