Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #===============================================================#
- #-KitPvpSkript-
- #===============================================================#
- #・レベルシステム/KitEditシステム/Rankシステム/
- #===============================================================#
- #-variables-
- #===============================================================#
- variables:
- {lv::%player%} = 1
- {xp::%player%} = 0
- {up::%player%} = 25
- {gold::%player%} = 0
- #===============================================================#
- #-Config-
- #===============================================================#
- options:
- mute: &6[&5Mute&6]
- #===============================================================#
- #-Sidebar-
- #===============================================================#
- every 2 second:
- loop all players:
- wipe loop-player's sidebar
- set name of sidebar of loop-player to " &d>>&d&lKit Pvp&d<<"
- set score "&l>> &3&l&oステータス &f&l<<" in sidebar of loop-player to 16
- set score "&a" in sidebar of loop-player to 15
- set score "&d&lLevel&f&l: &e&l%{lv::%loop-player%}%" in sidebar of loop-player to 14
- 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
- set score "&6&lGold&f&l: &e&l%{gold::%loop-player%}%" in sidebar of loop-player to 12
- set score "&e" in sidebar of loop-player to 11
- set score "&b&l" in sidebar of loop-player to 10
- set score "&f" in sidebar of loop-player to 9
- set score "&c&lランク&a: &7&l%{prefix::%uuid of loop-player%}%" in sidebar of loop-player to 8
- set score "&6&l" in sidebar of loop-player to 7
- set score "" in sidebar of loop-player to 6
- set score "&l>> &3&l&oニュース &f&l<<" in sidebar of loop-player to 5
- set score "&7" in sidebar of loop-player to 4
- set score " %{sidebar}%" in sidebar of loop-player to 3
- set score "&d" in sidebar of loop-player to 2
- command /news-set <text>:
- permission: admin
- trigger:
- if arg 1 is set:
- set {sidebar} to colored arg-1
- if arg 1 is not set:
- stop
- #===============================================================#
- #-Rank-Create-
- #===============================================================#
- on chat:
- cancel event
- if {mute::%uuid of player%} is set:
- {mute::%uuid of player%} is true
- send "{@mute} &5あなたは発言できません。" to player
- add 1 to {checkchat::%player%}
- stop
- if {prefix::%uuid of player%} is set:
- if {suffix::%uuid of player%} is set:
- broadcast "&8≫&a&lチャット &7≫%{prefix::%uuid of player%}% &f%player% %{suffix::%uuid of player%}%&a: &f&l%message%"
- else:
- broadcast "&8≫&a&lチャット &7≫%{prefix::%uuid of player%}% &f%player%&a: &f&l%message%"
- else:
- if {suffix::%uuid of player%} is set:
- broadcast "&8≫&a&lチャット &7≫ &f%player% %{suffix::%uuid of player%}%&a: &f&l%message%"
- else:
- broadcast "&8≫&a&lチャット &7≫ &f%player%&a: &f&l%message%"
- on chat:
- if {mute::%uuid of player%} is true:
- if {checkchat::%player%} is more than 5:
- broadcast "{@mute} &6%player%をKickしました。 "
- kick the player
- stop
- command /mute [<offline player>] [<text>]:
- permission: admin
- trigger:
- if arg-1 is set:
- if arg-2 is set:
- set {mute::%uuid of arg-1%} to true
- broadcast "%arg-1%&6が%player%&cによってミュートされました"
- broadcast "理由: %arg-2% "
- if arg-1 is not set:
- send "使い方: /mute k2R_Options うるさい"
- command /mute-check [<offline player>]:
- trigger:
- send "MUTE: %arg-1% %{mute::%uuid of arg-1%}%"
- command /unmute [<offline player>] [<text>]:
- permission: admin
- trigger:
- if arg-1 is set:
- if arg 2 is set:
- set {mute::%uuid of arg-1%} to false
- broadcast "%arg-1%&6は&c%player%によってミュート解除されました"
- broadcast "理由: %arg-2% "
- set {}
- if arg-1 is not set:
- send "使い方: /unmute k2R_Options 大好き"
- command /prefix [<offline player>] [<text>]:
- permission: admin
- permission message: あなたは権限を持っていません。
- trigger:
- set {prefix::%uuid of arg-1%} to colored arg-2
- send "&b%arg 1% の前を %colored arg 2% &bにしました!"
- command /clearprefix [<offline player>]:
- permission: admin
- permission message: あなたは権限を持っていません。
- trigger:
- clear {prefix::%uuid of arg-1%}
- send "&b%arg 1% の称号をリセットしました。"
- command /suffix [<offline player>] [<text>]:
- permission: admin
- permission message: あなたは権限を持っていません。
- trigger:
- set {suffix::%uuid of arg-1%} to coloured arg-2
- send "&b%arg 1% の称号を%colored arg 2% &bにしました!"
- command /clearsuffix [<offline player>]:
- permission: admin
- permission message: あなたは権限を持っていません。
- trigger:
- clear {suffix::%uuid of arg-1%}
- send "&b%arg 1% の称号をリセットしました。"
- command /prefixhelp:
- permission: skript.admin
- permission message: あなたは権限を持っていません。
- trigger:
- send "&6&m================================="
- send "&b&lPREFIX &eSKRIPT "
- send "&e&l/prefix (名前) (称号) "
- send "&e&l/clearprefix (名前) "
- send "&e&l/suffix (名前) (称号) "
- send "&e&l/clearsuffix (名前)"
- send "&b&l/mute (名前) (理由)"
- send "&b&l/unmute (名前) (理由)"
- send "&b&l/mute-check (名前)"
- send "&6&m================================="
- #===============================================================#
- #-DontEdit-
- #===============================================================#
- command /kitedit <text>:
- permission: admin
- trigger:
- if arg 1 is "1":
- add player's tool to {kit1::*}
- if arg 1 is "2":
- add player's tool to {kit2::*}
- if arg 1 is "3":
- add player's tool to {kit3::*}
- if arg 1 is "4":
- add player's tool to {kit4::*}
- if arg 1 is "5":
- add player's tool to {kit5::*}
- if arg 1 is "6":
- add player's tool to {kit6::*}
- if arg 1 is "7":
- add player's tool to {kit7::*}
- if arg 1 is "8":
- add player's tool to {kit8::*}
- command /kitremove <text>:
- permission: admin
- trigger:
- if arg 1 is "1":
- if player's tool is not set:
- message "&b消すアイテムを持ってください"
- stop
- if player's tool is set:
- remove player's tool from {kit1::*}
- send "&b削除しました。"
- if arg 1 is "2":
- if player's tool is not set:
- message "&b消すアイテムを持ってください"
- stop
- if player's tool is set:
- remove player's tool from {kit2::*}
- send "&b削除しました。"
- if arg 1 is "3":
- if player's tool is not set:
- message "&b消すアイテムを持ってください"
- stop
- if player's tool is set:
- remove player's tool from {kit3::*}
- send "&b削除しました。"
- if arg 1 is "4":
- if player's tool is not set:
- message "&b消すアイテムを持ってください"
- stop
- if player's tool is set:
- remove player's tool from {kit4::*}
- send "&b削除しました。"
- if arg 1 is "5":
- if player's tool is not set:
- message "&b消すアイテムを持ってください"
- stop
- if player's tool is set:
- remove player's tool from {kit5::*}
- send "&b削除しました。"
- if arg 1 is "1":
- if player's tool is not set:
- message "&b消すアイテムを持ってください"
- stop
- if player's tool is set:
- remove player's tool from {kit1::*}
- send "&b削除しました。"
- if arg 1 is "6":
- if player's tool is not set:
- message "&b消すアイテムを持ってください"
- stop
- if player's tool is set:
- remove player's tool from {kit6::*}
- send "&b削除しました。"
- if arg 1 is "7":
- if player's tool is not set:
- message "&b消すアイテムを持ってください"
- stop
- if player's tool is set:
- remove player's tool from {kit7::*}
- send "&b削除しました。"
- if arg 1 is "8":
- if player's tool is not set:
- message "&b消すアイテムを持ってください"
- stop
- if player's tool is set:
- remove player's tool from {kit8::*}
- send "&b削除しました。"
- command /kitopen <text>:
- permission: admin
- trigger:
- if arg 1 is "1":
- open chest with 6 rows named "Kit-1" to player
- set {_slot} to 0
- loop {kit1::*}:
- set slot {_slot} of player's current inventory to loop-value
- add 1 to {_slot}
- if arg 1 is "2":
- open chest with 6 rows named "Kit-2" to player
- set {_slot} to 0
- loop {kit2::*}:
- set slot {_slot} of player's current inventory to loop-value
- add 1 to {_slot}
- if arg 1 is "3":
- open chest with 6 rows named "Kit-3" to player
- set {_slot} to 0
- loop {kit3::*}:
- set slot {_slot} of player's current inventory to loop-value
- add 1 to {_slot}
- if arg 1 is "4":
- open chest with 6 rows named "Kit-4" to player
- set {_slot} to 0
- loop {kit4::*}:
- set slot {_slot} of player's current inventory to loop-value
- add 1 to {_slot}
- if arg 1 is "5":
- open chest with 6 rows named "Kit-5" to player
- set {_slot} to 0
- loop {kit5::*}:
- set slot {_slot} of player's current inventory to loop-value
- add 1 to {_slot}
- if arg 1 is "6":
- open chest with 6 rows named "Kit-6" to player
- set {_slot} to 0
- loop {kit6::*}:
- set slot {_slot} of player's current inventory to loop-value
- add 1 to {_slot}
- if arg 1 is "7":
- open chest with 6 rows named "Kit-7" to player
- set {_slot} to 0
- loop {kit7::*}:
- set slot {_slot} of player's current inventory to loop-value
- add 1 to {_slot}
- if arg 1 is "8":
- open chest with 6 rows named "Kit-8" to player
- set {_slot} to 0
- loop {kit8::*}:
- set slot {_slot} of player's current inventory to loop-value
- add 1 to {_slot}
- command /kitget <text>:
- trigger:
- if arg 1 is "1":
- give {kit1::*} to player
- if arg 1 is "2":
- give {kit2::*} to player
- if arg 1 is "3":
- give {kit3::*} to player
- if arg 1 is "4":
- give {kit4::*} to player
- if arg 1 is "5":
- give {kit5::*} to player
- if arg 1 is "6":
- give {kit6::*} to player
- if arg 1 is "7":
- give {kit7::*} to player
- if arg 1 is "8":
- give {kit8::*} to player
- command /purchase-kit <text>:
- trigger:
- if arg 1 is "1":
Add Comment
Please, Sign In to add comment