SHARE
TWEET

Untitled

K2Rk1o Dec 24th, 2018 (edited) 32 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #===============================================================#
  2. #-Sky-Parkour- Level System                                     #
  3. #===============================================================#
  4.  
  5. #===============================================================#
  6. #-CONFIG-                                                       #
  7. #===============================================================#
  8.  
  9. options:
  10.     #-------------------LOG-------------------#
  11.     #LVLUP時の最初のメッセージに
  12.     log: &8≫&7&lシステム&8≪
  13.     #-----------------------------------------#
  14.    
  15.     #------------------Types------------------#
  16.     playerleveling: true
  17.     #-----------------------------------------#
  18.  
  19.     #------------------Level------------------#
  20.     #最大LVを設定できます
  21.     maxlvl: 1500
  22.     #-----------------------------------------#
  23.  
  24.  
  25. #===============================================================#
  26. #-Dont-Edit-                                                    #
  27. #===============================================================#
  28.  
  29. variables:
  30.     {lvl::%player%} = 1
  31.     {xp::%player%} = 0
  32.     {up::%player%} = 150
  33.  
  34. command /status-reset [<offline player>]:
  35.     permission: k2Rsk
  36.     trigger:
  37.         if arg-1 is not set:
  38.             set {lvl::%player%} to 1
  39.             set {xp::%player%} to 0
  40.             set {up::%player%} to 150
  41.             send "{@log}&e%player%のステータスをリセットしました"
  42.         if arg-1 is set:
  43.             set {lvl::%arg-1%} to 1
  44.             set {xp::%arg-1%} to 0
  45.             set {up::%arg-1%} to 150
  46.             send "{@log}&e%arg-1%のステータスをリセットしました"
  47.  
  48. #===============================================================#
  49. #-Sky-Parkour- ScoreBoard                                       #
  50. #===============================================================#
  51.  
  52.  
  53.  
  54. every 3 second:
  55.     loop all players:
  56.         wipe loop-player's sidebar
  57.         set name of sidebar of loop-player to " &d>>&b&lSky&f-&5&lParkour&d<<"
  58.         set score "&l>> &3&l&oステータス &f&l<<" in sidebar of loop-player to 16
  59.         set score "&a" in sidebar of loop-player to 15
  60.         set score "&6&lLevel&f&l: &e&l%{lvl::%loop-player%}%" in sidebar of loop-player to 14
  61.         set score "&a&lExp&f&l: &e&l%{xp::%loop-player%}%&7&l/&e&l%{up::%loop-player%}%" in sidebar of loop-player to 13
  62.         set score "&5&l" in sidebar of loop-player to 12
  63.         set score "&e" in sidebar of loop-player to 11
  64.         set score "&b&l" in sidebar of loop-player to 10
  65.         set score "&f" in sidebar of loop-player to 9
  66.         set score "&c&lランク&a: &7&l%{prefix::%uuid of loop-player%}%" in sidebar of loop-player to 8
  67.         set score "" in sidebar of loop-player to 7
  68.         set score "" in sidebar of loop-player to 6
  69.         set score "&l>> &3&l&oニュース &f&l<<" in sidebar of loop-player to 5
  70.         set score "&7" in sidebar of loop-player to 4
  71.         set score " &lNONE" in sidebar of loop-player to 3
  72.         set score "&d" in sidebar of loop-player to 2
  73.  
  74.  
  75.  
  76. #----------------------------------------------------------------------------------------------------
  77.  
  78. on any movement:
  79.     if {@playerleveling} is true:
  80.         set the player's tablist name to "&7&l≫%{prefix::%uuid of player%}% &6&lLV&f&l:&e&l%{lvl::%player%}% &f%player%"
  81.         set display name of player to "&7&l≫%{prefix::%uuid of player%}% &6&lLV&f&l:&e&l%{lvl::%player%}% &f%player%"
  82.  
  83. on any movement:
  84.     if {@playerleveling} is true:
  85.         set tab header to "&d>>&b&lSky&f-&6&lParkour&d<<" and footer to "&6playerrealms.com &a%number of all players%&7/15" for player
  86.  
  87.  
  88. on any movement:
  89.     if {@playerleveling} is true:
  90.         if {xp::%player%} is greater or equal to {up::%player%}:
  91.             if {lvl::%player%} is greater or equal to {@maxlvl}:
  92.                 stop
  93.             else:
  94.                 add 1 to {lvl::%player%}
  95.                 add 120 to {up::%player%}
  96.                 set {xp::%player%} to 0
  97.                 send "&l≻≻ {@log} &f&l≺≺"
  98.                 send "&l≻≻ &b&lレベルアップ!! &f&l≺≺"
  99.                 send "&8≫ &6&lLevel&a&l: &e&l%{lvl::%player%}%"
  100.                 stop
  101.  
  102. command /level-set [<offline player>] [<text>]:
  103.     permission: admin
  104.     trigger:
  105.         if arg 1 is set:
  106.             if arg 2 is set:
  107.                 set {lvl::%arg-1%} to arg-2
  108.                 stop
  109.         if arg 1 is set:
  110.             if arg 2 is not set:
  111.                 send "使い方: /level-set k2R 1"
  112.                 stop
  113.         if arg 1 is not set:
  114.             send "使い方: /level-set k2R"
  115.             stop
  116. #----------------------------------------------------------------------------------------------------
  117.  
  118. on chat:
  119.     cancel event
  120.     if {mute::%uuid of player%} is set:
  121.         {mute::%uuid of player%} is true
  122.         send "あなたは発言できません。+1 ban " to player
  123.         add 1 to {checkchat::%player%}
  124.         stop  
  125.     if {prefix::%uuid of player%} is set:
  126.         if {suffix::%uuid of player%} is set:
  127.             broadcast "&8≫&a&lチャット &7≫%{prefix::%uuid of player%}% &f%player% %{suffix::%uuid of player%}%&a: &f&l%message%"
  128.         else:
  129.             broadcast "&8≫&a&lチャット &7≫%{prefix::%uuid of player%}% &f%player%&a: &f&l%message%"
  130.     else:
  131.         if {suffix::%uuid of player%} is set:
  132.             broadcast "&8≫&a&lチャット &7≫ &f%player% %{suffix::%uuid of player%}%&a: &f&l%message%"
  133.         else:
  134.             broadcast "&8≫&a&lチャット &7≫ &f%player%&a: &f&l%message%"
  135.    
  136.  
  137. on chat:
  138.     if {checkchat::%player%} is more than 5:
  139.         broadcast "%player% SPAM: KICK? BAN?"
  140.         set {checkchat::%player%} to 0
  141.         stop
  142.        
  143.  
  144.  
  145. command /mute [<offline player>] [<text>] :
  146.     permission: admin
  147.     trigger:
  148.         if arg-1 is set:
  149.             if arg-2 is set:
  150.                 set {mute::%uuid of arg-1%} to true
  151.                 broadcast "%arg-1%&6が%player%&cによってミュートされました"
  152.                 broadcast "理由: %arg-2% "
  153.         if arg-1 is not set:
  154.             send "使い方: /mute k2R_Options うるさい"
  155.  
  156. command /mute-check [<offline player>]:
  157.     trigger:
  158.         send "MUTE: %arg-1% %{mute::%uuid of arg-1%}%"
  159.  
  160. command /unmute [<offline player>] [<text>]:
  161.     permission: admin
  162.     trigger:
  163.         if arg-1 is set:
  164.             if arg 2 is set:
  165.                 set {mute::%uuid of arg-1%} to false
  166.                 broadcast "%arg-1%&6は&c%player%によってミュート解除されました"
  167.                 broadcast "理由: %arg-2% "
  168.         if arg-1 is not set:
  169.             send "使い方: /unmute k2R_Options 大好き"
  170.  
  171.  
  172. command /prefix [<offline player>] [<text>]:
  173.     permission: admin
  174.     permission message: あなたは権限を持っていません。
  175.     trigger:
  176.         set {prefix::%uuid of arg-1%} to colored arg-2
  177.         send "&b%arg 1% の前を %colored arg 2% &bにしました!"
  178.  
  179. command /clearprefix [<offline player>]:
  180.     permission: admin
  181.     permission message: あなたは権限を持っていません。
  182.     trigger:
  183.         clear {prefix::%uuid of arg-1%}
  184.         send "&b%arg 1% の称号をリセットしました。"
  185.  
  186. command /suffix [<offline player>] [<text>]:
  187.     permission: admin
  188.     permission message: あなたは権限を持っていません。
  189.     trigger:
  190.         set {suffix::%uuid of arg-1%} to coloured arg-2
  191.         send "&b%arg 1% の称号を%colored arg 2% &bにしました!"
  192.  
  193. command /clearsuffix [<offline player>]:
  194.     permission: admin
  195.     permission message: あなたは権限を持っていません。
  196.     trigger:
  197.         clear {suffix::%uuid of arg-1%}
  198.         send "&b%arg 1% の称号をリセットしました。"
  199.  
  200. command /prefixhelp:
  201.     permission: skript.admin
  202.     permission message: あなたは権限を持っていません。
  203.     trigger:
  204.         send "&b&m================================="
  205.         send "&b&lPREFIX &eSKRIPT Version:1.12.2   "
  206.         send "&b&l/prefix (名前) (称号)             "
  207.         send "&b&l/clearprefix (名前)               "
  208.         send "&b&l/suffix (名前) (称号)          "
  209.         send "&b&l/clearsuffix (名前)"
  210.         send "&b&l/mute (名前) (理由)"
  211.         send "&b&l/unmute (名前) (理由)"
  212.         send "&b&l/mute-check (名前)"
  213.         send "&b&m================================="
  214.  
  215. #----------------------------------------------------------------------------------------------------
  216. command /status [<offline player>]:
  217.     trigger:
  218.         if arg-1 is not set:
  219.             open chest with 3 row named "&e&l%player%'s &6&lStatus" to player
  220.             wait 2 tick
  221.             format slot 10 of player with beacon named "&aLevel" with lore "&8[&6&l%{lvl::%player%}%&8]" to close
  222.             format slot 11 of player with emerald named "&eXP" with lore "&8[&a&l%{xp::%player%}%&8]" to close
  223.         if arg-1 is set:
  224.             open chest with 3 row named "&e&l%arg-1%'s &6&lStatus" to player
  225.             wait 2 tick
  226.             format slot 10 of player with beacon named "&aLevel" with lore "&8[&6&l%{lvl::%arg-1%}%&8]" to close
  227.             format slot 11 of player with emerald named "&eXP" with lore "&8[&a&l%{xp::%arg-1%}%&8]" to close
  228.  
  229. #----------------------------------------------------------------------------------------------------
  230.  
  231. on any movement:
  232.     if {levelsisutemu} is "false":
  233.         stop
  234.     if {levelsisutemu} is "true":
  235.         add 1 to {xp::%player%}
  236.         stop
  237.  
  238. command /level-system [<text>]:
  239.     permission: admin
  240.     trigger:
  241.         if arg-1 is "true":
  242.             set {levelsisutemu} to true
  243.             send "レベルシステムを %{levelsisutemu}% にしました。"
  244.             stop
  245.         if arg-1 is "false":
  246.             set {levelsisutemu} to false
  247.             send "レベルシステムを %{levelsisutemu}% にしました。"
  248.             stop
  249.         if arg-1 is "check":
  250.             send "レベルシステム: %{levelsisutemu}%"
  251.             stop
  252.         else:
  253.             send "使い方: /level-system true/false/check"
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