Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options:
- #------------------#
- #Skript
- #------------------#
- #・Skellet
- #・SKquery
- #・Skrayfall
- #・Skript
- #Config
- system: true
- maxlvl: 500
- log: &8≫&7&lシステム
- upxp:
- #Tab
- #長すぎると表示されないかも
- top_tab: Skript RPG
- Tab_below: %number of all players%&f/*
- news: test
- sidebar_name: Skript RPG
- mute_: &5[&2Mute&5]&6
- sp_msg_no: &6SPがありません。
- #デフォルトのランクを設定します。
- default_rank: &8NONE
- variables:
- {lv::%uuid of player%} = 1
- {xp::%uuid of player%} = 0
- {up::%uuid of player%} = 25
- {sp::%uuid of player%} = 1
- {power::%uuid of player%} = 0
- {def::%uuid of player%} = 0
- {speed::%uuid of player%} = 0
- #==============================================================================================#
- # Command
- #==============================================================================================#
- command /status-show [<text>]:
- trigger:
- if arg-1 is not set:
- open chest with 3 row named "&6%player%&7の&9&lステータス" to player
- wait 1 second
- format slot 10 of player with beacon named "&a&l&oLevel" with lore "&8[&6%{lv::%uuid of player%}%&8]" to close
- format slot 11 of player with emerald named "&6&l&oExp" with lore "&8[&6%{xp::%uuid of player%}%&7/&a%{up::%uuid of player%}%&8]" to close
- format slot 12 of player with experience bottle named "&e&lSp" with lore "&8[&6%{sp::%uuid of player%}%&8]" to close
- format slot 13 of player with iron sword named "&c&lPower" with lore "&8[&6%{power::%uuid of player%}%&8]" to close
- format slot 14 of player with iron chestplate named "&9&ldefense" with lore "&8[&6%{def::%uuid of player%}%&8]" to close
- format slot 15 of player with feather named "&b&lSpeed" with lore "&8[&6%{speed::%uuid of player%}%&8]" to close
- if arg-1 is set:
- open chest with 3 row named "&6%arg-1%&7の&9&lステータス" to player
- wait 1 second
- format slot 10 of player with beacon named "&a&l&oLevel" with lore "&8[&6%{lv::%uuid of arg-1%}%&8]" to close
- format slot 11 of player with emerald named "&6&l&oExp" with lore "&8[&6%{xp::%uuid of arg-1%}%&7/&a%{up::%uuid of arg-1%}%&8]" to close
- format slot 12 of player with experience bottle named "&e&lSp" with lore "&8[&6%{sp::%uuid of arg-1%}%&8]" to close
- format slot 13 of player with iron sword named "&c&lPower" with lore "&8[&6%{power::%uuid of arg-1%}%&8]" to close
- format slot 14 of player with iron chestplate named "&9&ldefense" with lore "&8[&6%{def::%uuid of arg-1%}%&8]" to close
- format slot 15 of player with feather named "&b&lSpeed" with lore "&8[&6%{speed::%uuid of arg-1%}%&8]" to close
- command /status:
- trigger:
- open chest with 3 row named "&6ステータス&e&l割り振り" to player
- wait 1 second
- format slot 11 of player with iron sword named "" to close then run "sp p"
- format slot 12 of player with iron chestplate named "" to close then run "sp d"
- format slot 13 of player with feather named "" to close then run "sp s"
- format slot 16 of player with experience bottle named "&e&lSp" with lore "&8[&6%{sp::%uuid of arg-1%}%&8]" to close
- command /sp [<text>]:
- trigger:
- if arg-1 is "p":
- if {sp::%uuid of player%} = 0:
- send "{@sp_msg_no}"
- stop
- else:
- add -1 to {sp::%uuid of player%}
- add 1 to {power::%uuid of player%}
- stop
- if arg-1 is "d":
- if {sp::%uuid of player%} = 0:
- send "{@sp_msg_no}"
- stop
- else:
- add -1 to {sp::%uuid of player%}
- add 1 to {def::%uuid of player%}
- stop
- if arg-1 is "s":
- if {sp::%uuid of player%} = 0:
- send "{@sp_msg_no}"
- stop
- else:
- add -1 to {sp::%uuid of player%}
- add 1 to {speed::%uuid of player%}
- stop
- command /:
- command /:
- #==============================================================================================#
- # Sidebar
- #==============================================================================================#
- every 2 second:
- loop all players:
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "{@sidebar_name}"
- set score "&2&l&oステータス" in sidebar of loop-player to 16
- set score "&a" in sidebar of loop-player to 15
- set score "&6&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 "&5&lSP&f&l: &e&l%{sp::%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 "" in sidebar of loop-player to 7
- set score "" in sidebar of loop-player to 6
- set score "&6&l&oサーバーニュース" in sidebar of loop-player to 5
- set score "&7" in sidebar of loop-player to 4
- set score " {@news}" in sidebar of loop-player to 3
- set score "&d" in sidebar of loop-player to 2
- #==============================================================================================#
- # Level & Tab
- #==============================================================================================#
- on any movement:
- if {@playerleveling} is true:
- if {xp::%player%} is greater or equal to {up::%player%}:
- if {lvl::%player%} is greater or equal to {@maxlvl}:
- stop
- else:
- add 1 to {lvl::%player%}
- add 1 to {sp::%player%}
- add {@upxp} to {up::%player%}
- set {xp::%player%} to 0
- send "{@log} "
- send "&l≻≻ &b&lレベルアップ!! &f&l≺≺"
- send "&8≫ &6&lLevel&a&l: &e&l%{lvl::%player%}%"
- send "&8≫ &5&lSP&a&l: &e&l+1"
- stop
- set tab header to "{@top_tab}" and footer to "{@Tab_below}" for player
- set the player's tablist name to "&9&l≫%{prefix::%uuid of player%}% &a&lLV&f&l:&e&l%{lvl::%player%}% &f%player%"
- #===============================================================#
- #-Chat- #
- #===============================================================#
- on chat:
- cancel event
- if {mute::%uuid of player%} is set:
- {mute::%uuid of player%} is true
- send "{@mute_}あなたは発言できません " 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%"
- #===============================================================#
- #-Mute-
- #===============================================================#
- on chat:
- if {mute::%uuid of player%} is true:
- if {checkchat::%player%} is more than 5:
- kick the player due to "{@mute_} あなたはMuteされている時にチャットをしたためKickされました。"
- set {checkchat::%player%} to 0
- stop
- command /mute [<offline player>] [<text>] :
- permission: skript
- 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 Spam"
- command /mute-check [<offline player>]:
- trigger:
- send "MUTE: %arg-1% %{mute::%uuid of arg-1%}%"
- command /unmute [<offline player>] [<text>]:
- permission: skript
- 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% "
- if arg-1 is not set:
- send "使い方: /unmute k2R_Options 反省した"
- #===============================================================#
- #-Rank-Set-
- #===============================================================#
- On join:
- if {prefix::%uuid of player%} isn't set:
- set {prefix::%uuid of player%} to "{@default_rank}"
- stop
- command /prefix [<offline player>] [<text>]:
- permission: skript
- 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: skript
- permission message: あなたは権限を持っていません。
- trigger:
- clear {prefix::%uuid of arg-1%}
- send "&b%arg 1% の称号をリセットしました。"
- command /suffix [<offline player>] [<text>]:
- permission: skript
- 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: skript
- permission message: あなたは権限を持っていません。
- trigger:
- clear {suffix::%uuid of arg-1%}
- send "&b%arg 1% の称号をリセットしました。"
- command /prefixhelp:
- permission: skript
- permission message: あなたは権限を持っていません。
- trigger:
- send "&6&m================================="
- send "&b&lPREFIX &eSKRIPT Version:1.12.2 "
- send "&b&l/prefix (名前) (称号) "
- send "&b&l/clearprefix (名前) "
- send "&b&l/suffix (名前) (称号) "
- send "&b&l/clearsuffix (名前)"
- send "&b&l/mute (名前) (理由)"
- send "&b&l/unmute (名前) (理由)"
- send "&b&l/mute-check"
- send "&6&m================================="
Add Comment
Please, Sign In to add comment