SHARE
TWEET

k2R skript

K2Rk1o Nov 15th, 2018 (edited) 138 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #-----------------------------------------------#
  2. #         k2R skript                            #  
  3. #     使用する際 k1Ok2RのDiscord鯖に入って       #
  4. #   許可をもらってから使用してください             #
  5. #-----------------------------------------------#
  6.  
  7.  
  8. #-----------------------------------------------#
  9. #SIDEBAR/スコアボード                            #
  10. #自由に編集してください                           #
  11. #-----------------------------------------------#
  12. #ないです消しました
  13.  
  14.  
  15.  
  16.  
  17. on chat:
  18.     cancel event
  19.     if {prefix::%uuid of player%} is set:
  20.         if {suffix::%uuid of player%} is set:
  21.             broadcast "%{prefix::%uuid of player%}%%player%%{suffix::%uuid of player%}% &f≫ %message%"
  22.         else:
  23.             broadcast "%{prefix::%uuid of player%}%%player% &f≫ %message%"
  24.     else:
  25.         if {suffix::%uuid of player%} is set:
  26.             broadcast "&7%player%%{suffix::%uuid of player%}% &f≫ %message%"
  27.         else:
  28.             broadcast "&7%player% &f≫ %message%"
  29.  
  30. command /prefix [<offline player>] [<text>]:
  31.     permission: admin
  32.     permission message: あなたは権限を持っていません。
  33.     trigger:
  34.         set {prefix::%uuid of arg-1%} to colored arg-2
  35.         send "&b%arg 1% の前を %colored arg 2% &bにしました!"
  36.  
  37. command /clearprefix [<offline player>]:
  38.     permission: admin
  39.     permission message: あなたは権限を持っていません。
  40.     trigger:
  41.         clear {prefix::%uuid of arg-1%}
  42.         send "&b%arg 1% の称号をリセットしました。"
  43.  
  44. command /suffix [<offline player>] [<text>]:
  45.     permission: admin
  46.     permission message: あなたは権限を持っていません。
  47.     trigger:
  48.         set {suffix::%uuid of arg-1%} to coloured arg-2
  49.         send "&b%arg 1% の称号を%colored arg 2% &bにしました!"
  50.  
  51. command /clearsuffix [<offline player>]:
  52.     permission: admin
  53.     permission message: あなたは権限を持っていません。
  54.     trigger:
  55.         clear {suffix::%uuid of arg-1%}
  56.         send "&b%arg 1% の称号をリセットしました。"
  57.  
  58. command /prefixhelp:
  59.     permission: skript.admin
  60.     permission message: あなたは権限を持っていません。
  61.     trigger:
  62.         send "&b&m================================="
  63.         send "&b&lPREFIX &eSKRIPT Version:1.12.2   "
  64.         send "&b&l/prefix (名前) (称号)             "
  65.         send "&b&l/clearprefix (名前)               "
  66.         send "&b&l/setsuffix (名前) (称号)          "
  67.         send "&b&l/clearsuffix (名前)"
  68.         send "&b&m================================="
  69.  
  70. command /serverRank:
  71.     trigger:
  72.         send "&e"
  73.         send "&e&l===================="
  74.         send "&a&l   Rank system    "
  75.         send "&e&l=====課金RANK======="
  76.         send "&a&l[VIP]"
  77.         send "&b&l[MVP]"
  78.         send "&e&l=====権限者Rank====="
  79.         send "&c&l[OWNER]"
  80.         send "&2&l[Mod]"
  81.         send "&4&l[ADMIN]"
  82.         send "&6&l[Builder]"
  83.         send "&9&l[Commander]"
  84.         send "&5&l[Skripter]"
  85.         send "&4&l=====PR権限者Rank==="
  86.         send "&6&l[PRowner]"
  87.         send "&a&l[PRsystemAdmin]"
  88.         send "&e&l[PRhelper]"
  89.         send "&9&l[PRmod]"
  90.         send "&e&l===================="
  91.         send "&e"
  92.  
  93. command /playerrank [<offline player>]:
  94.     trigger:
  95.         if arg-1 is not set:
  96.             send " &e&l %player%"
  97.             send " &a&lランク≫ %{prefix::%uuid of player%}%"
  98.             send " &a"
  99.         if arg-1 is set:
  100.             send " &e&l %arg-1%"
  101.             send " &a&lランク≫ %{prefix::%uuid of arg-1%}%"
  102.             send " &a"
  103.  
  104. command /setspawn:
  105.     permission: admin.setspawn
  106.     trigger:
  107.         set {spawncommand} to location of player
  108.         play sound "block.note.pling" at player
  109.         send "&aspawnコマンドのTP場所をここに設定しました。"
  110.  
  111. on join:
  112.     teleport the player to {spawncommand}
  113.  
  114. on death:
  115.     if victim is a player:
  116.         teleport the victim to {spawncommand}
  117. #--------------------------------------------------#
  118. options:
  119.     cmd: &7&l[&e&lCommand&7&l] &a&l≫≫
  120.  
  121. on command:
  122.     loop all players:
  123.         if loop-player has permission "sk.admin":
  124.             if {logs.%loop-player%} is not set:
  125.                 set {logs.%loop-player%} to true
  126.             if {logs.%loop-player%} is true:
  127.                 if player is not set:
  128.                     stop
  129.                 message " {@cmd} &7%player%: /%full command%" to loop-player
  130. command /cmd [<text>]:
  131.     permission: skript.admin
  132.     trigger:
  133.         if arg-1 is set:
  134.             if arg-1 is "on":
  135.                 set {logs.%player%} to true
  136.                 message " {@cmd} &7Log表示を&aon&7にしました。"
  137.                 stop
  138.             if arg-1 is "off":
  139.                 set {logs.%player%} to false
  140.                 message " {@cmd} &7Log表示を&coff&7にしました。"
  141.                 stop      
  142.         else:
  143.             message "{@cmd} &7cmd <on,off>"
  144.  
  145. command /aip [<offline player>]:
  146.     permission: Command.IP
  147.     permission message: &cパーミッションがありません。
  148.     trigger:
  149.         if arg is not set:
  150.             message "&7&l[&e&lIP-log&7&l]&a&lPlayer名を記入してください。"
  151.             stop
  152.         if arg is "all":
  153.             loop all players:
  154.                 set {ip::%loop-player%} to ip of loop-player
  155.                 message "&7&l[&e&lIP-log&7&l]&b---------------------------------------------"
  156.                 message "&7&l[&e&lIP-log&7&l]&a&l%loop-player%'sIP&a: &6%{ip::%loop-player%}%" to player
  157.                 loop {ip::*}:
  158.                     if {ip::%loop-index%} is {ip::%loop-player%}:
  159.                         message "&7&l[&e&lIP-log&7&l]&a&l同じIPを使用しているPlayer&a: &6%loop-index%"
  160.         else:
  161.             set {ip::%arg%} to ip of argument
  162.             message "&7&l[&e&lIP-log&7&l]&a%arg%'sIP&a: &6%{ip::%arg%}%"
  163.             loop {ip::*}:
  164.                 if {ip::%loop-index%} is {ip::%arg%}:
  165.                     message "&7&l[&e&lIP-log&7&l]&a&l同じIPを使用しているPlayer&a: &6%loop-index%"
  166. on join:
  167.     set {ip::%player%} to ip of player
  168.     loop all players:
  169.         if loop-player has permission "sk.admin":
  170.             if {logs.%loop-player%} is true:
  171.                 message "&a[IP-log]&e%player%'sIP&a: &6%{ip::%player%}%" to loop-player
  172.                 loop {ip::*}:
  173.                     if {ip::%loop-index%} is {ip::%player%}:
  174.                         message "&7&l[&e&lIP-log&7&l]&a&l同じIPを使用しているPlayer&a: &6%loop-index%" to loop-player
  175.  
  176. on place of a tnt:
  177.     player don't have permission "skript.arashicheck"
  178.     cancel event
  179.     broadcast "&4&l&ka&7&l-:=&4&lDanger&7&l=:-|&6&l%player%&7&l|&4&l&ka"
  180.     broadcast "&4&l%player%さんがTNTを設置しています"
  181.  
  182. on place of a lava:
  183.     player don't have permission "skript.arashicheck"
  184.     cancel event
  185.     broadcast "&4&l&ka&7&l-:=&4&lDanger&7&l=:-|&6&l%player%&7&l|&4&l&ka"
  186.     broadcast "&4&l%player%さんが溶岩を設置しています"
  187. #-----------------------------------------------------------------------------
  188.  
  189.  
  190.  
  191. options:
  192.     join: &8&l[&e&l+&8&l]&a&l%player%
  193.     fjoin: &8&l[&c&l♡&8&l]&a&l%player%
  194.     quit: &8&l[&7&l-&8&l]&a&l%player%
  195. #------------------------------------------
  196.  
  197.  
  198. on join:
  199.     set join message to "{@join}"
  200.    
  201. on first join:
  202.     set join message to "{@fjoin}"
  203.  
  204. on quit:
  205.     set quit message to "{@quit}"
  206. #------------------------------------------
  207.  
  208. #-------k2RSKRIPT--------♯
  209. #DamageLogDisplaySkript  ♯#アクションバーにダメージログが表示されます
  210. #DLDskript               ♯
  211. #version.0.1             ♯
  212. #------------------------♯
  213.  
  214. command /damagelogtrue: #<このコマンドを発動するとダメージログが表示されるようになります
  215.     trigger:
  216.         set {Damagelog%player%} to "true"
  217.         send "&c&lダメージログ&eが表示するように設定しました。"
  218.  
  219. command /damagelogfalse: #<このコマンドを発動するとダメージログが表示しないようになります
  220.     trigger:      
  221.         set {Damagelog%player%} to "false"
  222.         send "&cダメージログ&eが表示しないように設定しました。"
  223.  
  224. command /damageloghelp: #<このコマンドを発動するとダメージログSKRIPTのコマンド一覧がCHATに表示されます
  225.     trigger:
  226.         send "&a&m========================="
  227.         send "&e&lDamageLogDisplaySkript"
  228.         send "&6&l    Version:0.1       "
  229.         send "&a&l/damagelogtrue        "
  230.         send "&6&lダメージログを表示      "
  231.         send "&6&lするように設定します。  "
  232.         send "&a&l/damagelogfalse       "
  233.         send "&6&lダメージログを表示      "
  234.         send "&6&lしないように設定します。 "
  235.         send "&a&m=========================="
  236.  
  237. on damage:
  238.     {Damagelog%attacker%} is "true"
  239.     attacker is a player
  240.     set action bar of attacker to "&c&lDamage&f&l:&e&l%damage%"
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