Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Nov 16th, 2018 120 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. # RANK
  2. on chat:
  3.     cancel event
  4.     if {prefix::%uuid of player%} is set:
  5.         if {suffix::%uuid of player%} is set:
  6.             broadcast "%{prefix::%uuid of player%}%%player%%{suffix::%uuid of player%}% &f≫ %message%"
  7.         else:
  8.             broadcast "%{prefix::%uuid of player%}%%player% &f≫ %message%"
  9.     else:
  10.         if {suffix::%uuid of player%} is set:
  11.             broadcast "&7%player%%{suffix::%uuid of player%}% &f≫ %message%"
  12.         else:
  13.             broadcast "&7%player% &f≫ %message%"
  14.  
  15. command /prefix [<offline player>] [<text>]:
  16.     permission: admin
  17.     permission message: あなたは権限を持っていません。
  18.     trigger:
  19.         set {prefix::%uuid of arg-1%} to colored arg-2
  20.         send "&b%arg 1% の前を %colored arg 2% &bにしました!"
  21.  
  22. command /clearprefix [<offline player>]:
  23.     permission: admin
  24.     permission message: あなたは権限を持っていません。
  25.     trigger:
  26.         clear {prefix::%uuid of arg-1%}
  27.         send "&b%arg 1% の称号をリセットしました。"
  28.  
  29. command /suffix [<offline player>] [<text>]:
  30.     permission: admin
  31.     permission message: あなたは権限を持っていません。
  32.     trigger:
  33.         set {suffix::%uuid of arg-1%} to coloured arg-2
  34.         send "&b%arg 1% の称号を%colored arg 2% &bにしました!"
  35.  
  36. command /clearsuffix [<offline player>]:
  37.     permission: admin
  38.     permission message: あなたは権限を持っていません。
  39.     trigger:
  40.         clear {suffix::%uuid of arg-1%}
  41.         send "&b%arg 1% の称号をリセットしました。"
  42. # MINE LEVEL SYSTEM
  43. options:
  44.     #CONFIG
  45.     #---------------------------------------------------------------------------
  46.     #-----------------------------------Logo------------------------------------
  47.     logo: &8[&bK2RServer&8]&7|
  48.     #---------------------------------------------------------------------------
  49.    
  50.     #---------------------------------------------------------------------------
  51.     #-----------------------------------Types-----------------------------------
  52.     playerleveling: true
  53.     #---------------------------------------------------------------------------
  54.    
  55.     #---------------------------------------------------------------------------
  56.     #---------------------------------PLeveling---------------------------------
  57.     #PlayerLeveling (Reward uses vault!)
  58.     xpforlvlup: 500
  59.     lvlupreward: iron_ingot
  60.     #---------------------------------------------------------------------------
  61.  
  62.     #---------------------------------------------------------------------------
  63.     #----------------------------------MaxLvL-----------------------------------
  64.     maxlvl: 1000 #MaxXp is used to mark max level of player (eg. 100 Bob[Lv100])
  65.     #---------------------------------------------------------------------------
  66.  
  67.     #---------------------------------------------------------------------------
  68.     #----------------------------------Suffix-----------------------------------
  69.     suffix: true
  70.     setsuffix: &8[&7Lv%{lvl.%player%}%&8] #Do NOT touch %{lvl.%player%}%
  71.     #---------------------------------------------------------------------------
  72.  
  73. #------------------------------------------------------------------------------------------------------
  74. every 5 second:
  75.     loop all players:
  76.         wipe loop-player's sidebar
  77.         set name of sidebar of loop-player to "&6&l%loop-player% status"
  78.         set score " &b&lLV&f: &e%{lvl.%loop-player%}%" in sidebar of loop-player to 8
  79.         set score " &6&lMineLV&f: &e%{min.%loop-player%}% " in sidebar of loop-player to 7
  80.         set score " &e&lMineExp&f: &e%{mining.%loop-player%}% " in sidebar of loop-player to 6
  81.         set score " &a&lXP&f: &e%{xp.%loop-player%}%  " in sidebar of loop-player to 5
  82.         set score " &e&lランク≫ %{prefix::%uuid of loop-player%}%" in sidebar of loop-player to 4
  83.         set score " &3  " in sidebar of loop-player to 3
  84.         set score " &2 " in sidebar of loop-player to 2
  85.  
  86. #------------------------------------------------------------------------------------------------------
  87. #
  88. #&e&lランク≫ %{prefix::%uuid of loop-player%}%
  89. #
  90. #
  91. #
  92. #
  93. #
  94.  
  95. variables:
  96.     {mining.%player%} = 0
  97.     {min.%player%} = 1
  98.     {xp.%player%} = 0
  99.     {lvl.%player%} = 1
  100.  
  101.  
  102. on any movement:
  103.     if {@playerleveling} is true:
  104.         if {mining.%player%} is greater or equal to {@xpforlvlup}:
  105.             if {lvl.%player%} is greater or equal to {@maxlvl}:
  106.                 stop
  107.             else:
  108.                 remove {@xpforlvlup} from {mining.%player%}
  109.                 remove {@xpforlvlup} from {xp.%player%}
  110.                 add 1 to {lvl.%player%}
  111.                 add 1 to {min.%player%}
  112.                 send "{@logo} &7レベルアップ!現在のLV: &a%{min.%player%}%" to player
  113.                 execute console command "/give %player% {@lvlupreward}"
  114.                 stop
  115.             if {xp.%player%} is greater or equal to {@xpforlvlup}:
  116.             if {lvl.%player%} is greater or equal to {@maxlvl}:
  117.                 stop
  118.             else:
  119.                 remove {@xpforlvlup} from {xp.%player%}
  120.                 add 1 to {lvl.%player%}
  121.                 send "{@logo} &7レベルアップ!現在のLV: &a%{lvl.%player%}%" to player
  122.                 execute console command "/give %player% {@lvlupreward}"
  123.                 stop
  124.  
  125. on break of stone:
  126.     if {@playerleveling} is true:
  127.         chance of 100%:
  128.             add 1 to {mining.%player%}
  129.             add 1 to {xp.%player%}
  130.             send "{@logo} &7&l[&a&l+&7&l]&b 1 EXP " to player
  131.  
  132. on break of coal_ore:
  133.     if {@playerleveling} is true:
  134.         chance of 99%:
  135.             add 2 to {mining.%player%}
  136.             add 2 to {xp.%player%}
  137.             send "{@logo} &7&l[&a&l+&7&l]&b 2 EXP " to player
  138.  
  139. on break of lapis_ore:
  140.     if {@playerleveling} is true:
  141.         chance of 99%:
  142.             add 4 to {mining.%player%}
  143.             add 4 to {xp.%player%}
  144.             send "{@logo} &7&l[&a&l+&7&l]&b 4 EXP " to player
  145.  
  146. on break of iron_ore:
  147.     if {@playerleveling} is true:
  148.         chance of 80%:
  149.             add 5 to {mining.%player%}
  150.             add 5 to {xp.%player%}
  151.             send "{@logo} &7&l[&a&l+&7&l]&b 5 EXP " to player
  152.  
  153. on break of gold_ore:
  154.     if {@playerleveling} is true:
  155.         chance of 80%:
  156.             add 7 to {mining.%player%}
  157.             add 7 to {xp.%player%}
  158.             send "{@logo} &7&l[&a&l+&7&l]&b 7 EXP " to player
  159.  
  160. on break of redstone_ore:
  161.     if {@playerleveling} is true:
  162.         chance of 70%:
  163.             add 10 to {mining.%player%}
  164.             add 10 to {xp.%player%}
  165.             send "{@logo} &7&l[&a&l+&7&l]&b 10 EXP " to player
  166.  
  167. on break of diamond_ore:
  168.     if {@playerleveling} is true:
  169.         chance of 40%:
  170.             add 15 to {mining.%player%}
  171.             add 15 to {xp.%player%}
  172.             send "{@logo} &7&l[&a&l+&7&l]&b 15 EXP " to player
  173.  
  174. on break of emerald_ore:
  175.     if {@playerleveling} is true:
  176.         chance of 20%:
  177.             add 20 to {mining.%player%}
  178.             add 20 to {xp.%player%}
  179.             send "{@logo} &7&l[&a&l+&7&l]&b 20 EXP " to player
  180.  
  181. on break of quartz_ore:
  182.     if {@playerleveling} is true:
  183.         chance of 10%:
  184.             add 30 to {mining.%player%}
  185.             add 30 to {xp.%player%}
  186.             send "{@logo} &7&l[&a&l+&7&l]&b 30 EXP " to player
  187.  
  188. command /resetstatus [<offline player>]:
  189.     permission: skript.k2r
  190.     permission message: あなたは権限を持っていません。
  191.     trigger:
  192.         if arg-1 is not set:
  193.             set {mining.%player%} to 0
  194.             set {min.%player%} to 1
  195.             set {xp.%player%} to 0
  196.             set {lvl.%player%} to 1
  197.             send "%player%のステータスをリセットしました"
  198.         if arg-1 is set:
  199.             set {mining.%arg-1%} to 0
  200.             set {min.%arg-1%} to 1
  201.             set {xp.%arg-1%} to 0
  202.             set {lvl.%arg-1%} to 1
  203.             send "%arg-1%のステータスをリセットしました"
  204.        
  205.  
  206. command /status [<offline player>]:
  207.     trigger:
  208.         if arg-1 is not set:
  209.             send "&a"
  210.             send "&7&l-:=|&6&l%player%&7&l|=:-:=&a&lstatus&7&l=:-|"
  211.             send "     &b&lLV&f: &e%{lvl.%player%}%           "
  212.             send "     &6&lMineLV&f: &e%{min.%player%}%          "
  213.             send "     &a&lXP&f: &e%{xp.%player%}%              "
  214.             send "     &e&lMineExp&f: &e%{mining.%player%}%  "
  215.             send "     &a&l{@xpforlvlup}までためるとLVUPします      "
  216.             send "&a"
  217.         if arg-1 is set:
  218.             send "&a"
  219.             send "&7&l-:=|&6&l%arg-1%&7&l|=:-:=&a&lstatus=:-|"
  220.             send "     &b&lLV&f: &e%{lvl.%arg-1%}%           "
  221.             send "     &6&lMineLV&f: &e%{min.%arg-1%}%          "
  222.             send "     &a&lXP&f: &e%{xp.%arg-1%}%              "
  223.             send "     &e&lMineExp&f: &e%{mining.%arg-1%}%  "
  224.             send "     &a&l{@xpforlvlup}までためるとLVUPします      "
  225.             send "&a"
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