Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /menu:
- trigger:
- open chest with 3 row named "§aメニュー" to player
- set slot 0 of player's current inventory to dark gray glass pane named "§f"
- set slot 1 of player's current inventory to dark gray glass pane named "§f"
- set slot 2 of player's current inventory to dark gray glass pane named "§f"
- set slot 3 of player's current inventory to dark gray glass pane named "§f"
- set slot 4 of player's current inventory to dark gray glass pane named "§f"
- set slot 5 of player's current inventory to dark gray glass pane named "§f"
- set slot 6 of player's current inventory to dark gray glass pane named "§f"
- set slot 7 of player's current inventory to dark gray glass pane named "§f"
- set slot 8 of player's current inventory to dark gray glass pane named "§f"
- set slot 9 of player's current inventory to dark gray glass pane named "§f"
- set slot 10 of player's current inventory to nether star named "§6§lルール" with lore "§aクリックしたら見れます。"
- set slot 11 of player's current inventory to dark gray glass pane named "§f"
- set slot 12 of player's current inventory to downward command blocks named "§6§lコマンドリスト" with lore "§aクリックしたら見れます。"
- set slot 13 of player's current inventory to dark gray glass pane named "§f"
- set slot 14 of player's current inventory to book named "§6§lステータス" with lore "§aクリックしたら見れます。"
- on inventory click:
- if name of player's current inventory contain "§aメニュー":
- cancel event
- if name of clicked item is "§6§lルール":
- send "§aSPAMをしない。§c<Ban 1日>"
- send "§a嘘の情報を言う。 §c<Ban 1日>"
- send "§aHack。§c<IPBAN,無期限BAN>"
- send "§aバグを報告しない。§c<Ban 一か月>"
- send "§aバグを乱用。§c<Ban 一か月>"
- if name of clicked item is "§6§lコマンドリスト":
- send "§a/jp <on,off>"
- send "§a/discord"
- send "§a/tell <プレイヤー> <メッセージ>"
- if name of clicked item is "§6§lステータス":
- send "§a§lステータス"
- send "§e§lLevel §a§l%{lvl::%player%}%"
- send "§a§lXP §a§l%{xp::%player%}%"
- send "§e§lMoney §a§l%{money::%player%}%"
- command /id:
- trigger:
- send "%player's held item%"
- #===============================================================#
- #-J-RPG- Level System #
- #===============================================================#
- #===============================================================#
- #-CONFIG- #
- #===============================================================#
- options:
- #-------------------LOG-------------------#
- #LVLUP時の最初のメッセージに
- log: &6Q-RPG
- #-----------------------------------------#
- #------------------Types------------------#
- maxlvl: 1000
- playerleveling: true
- #-----------------------------------------#
- #------------------Rank-------------------#
- rank: &2Player
- #-----------------------------------------#
- #===============================================================#
- #-Dont-Edit- #
- #===============================================================#
- variables:
- {lvl::%player%} = 1
- {xp::%player%} = 0
- {sp::%player%} = 1
- {up::%player%} = 90
- command /rpg-status-reset [<offline player>]:
- permission: k2Rsk
- trigger:
- if arg-1 is not set:
- set {lvl::%player%} to 1
- set {xp::%player%} to 0
- set {up::%player%} to 90
- set {money::%player%} to 0
- execute console command "effect %player% clear"
- send "{@log}&e%player%のステータスをリセットしました"
- if arg-1 is set:
- set {lvl::%arg-1%} to 1
- set {xp::%arg-1%} to 0
- set {sp::%arg-1%} to 1
- set {str::%arg-1%} to 0
- set {def::%arg-1%} to 0
- set {hp::%arg-1%} to 0
- set {up::%arg-1%} to 130
- set {money::%player%} to 0
- execute console command "effect %arg-1% clear"
- send "{@log}&e%arg-1%のステータスをリセットしました"
- #===============================================================#
- #-Edit-OK- #
- #===============================================================#
- every 2 second:
- loop all players:
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "&2| &6&lQ&f&l-&5&lRPG &2|"
- set score "§e§l---==[ステータス]==---" in sidebar of loop-player to 4
- set score "§eLv &7[&e&l%{lvl::%loop-player%}%&7&l&7]" in sidebar of loop-player to 3
- set score "§aExp &7[&a&l%{xp::%loop-player%}%/&6&l%{up::%loop-player%}%&7]" in sidebar of loop-player to 2
- set score "§eMoney &7[&e&l%{money::%loop-player%}%&7]" in sidebar of loop-player to 1
- #----------------------------------------------------------------------------------------------------
- on any movement:
- if {@playerleveling} is true:
- set the player's tablist name to "&c&lRank&9≫%{prefix::%uuid of player%}% &6&lLevel&f&l:&e&l%{lvl::%player%}% &f%player%"
- set display name of player to "&c&lRank&9≫%{prefix::%uuid of player%}% &6&lLevel&f&l:&e&l%{lvl::%player%}% &f%player%"
- on any movement:
- if {@playerleveling} is true:
- set tab header to "|&6&lQ&f&l-&5&lRPG&f|" and footer to "|&a%number of all players%&7/15&f|" for player
- on join:
- if {prefix::%uuid of player%} is not set:
- set {prefix::%uuid of player%} to "{@rank}"
- 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 120 to {up::%player%}
- set {xp::%player%} to 0
- send "{@log}"
- send "&l&b&lレベルアップ!!"
- send "&8≫ &6&lLevel&a&l: &e&l%{lvl::%player%}%"
- send "&8≫ &5&lSP&a&l: &e&l+1"
- stop
- command /rpg-set-level [<offline player>] [<text>]:
- permission: admin
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- set {lvl::%arg-1%} to arg-2
- set {sp::%arg-1%} to arg-2
- stop
- if arg 1 is set:
- if arg 2 is not set:
- send "使い方: /rpg-set-level k2R 1"
- stop
- if arg 1 is not set:
- send "使い方: /rpg-set-level k2R"
- stop
- #----------------------------------------------------------------------------------------------------
- on chat:
- cancel event
- if {mute::%uuid of player%} is set:
- {mute::%uuid of player%} is true
- send "あなたは発言できません。" to player
- add 1 to {checkchat::%player%}
- stop
- if {prefix::%uuid of player%} is set:
- if {suffix::%uuid of player%} is set:
- broadcast "&9≫%{prefix::%uuid of player%}% &f%player% %{suffix::%uuid of player%}%&a: &f&l%message%"
- else:
- broadcast "&9≫%{prefix::%uuid of player%}% &f%player%&a: &f&l%message%"
- else:
- if {suffix::%uuid of player%} is set:
- broadcast "&9≫ &f%player% %{suffix::%uuid of player%}%&a: &f&l%message%"
- else:
- broadcast "&9≫ &f%player%&a: &f&l%message%"
- on chat:
- if {mute::%uuid of player%} is true:
- if {checkchat::%player%} is more than 5:
- broadcast "&8[&fJ-RPG&8]&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% "
- 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 "&b&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 "&b&m================================="
- options:
- TEST: 10
- TESTMONEY: 4
- NAME: 9
- On death of a skeleton:
- if name of victim is "§aボーン§7[§eLv.2§7]":
- if {@playerleveling} is true:
- if attacker is a player:
- add {@TEST} to {xp::%attacker%}
- add {@TESTMONEY} to {money::%attacker%}
- send "{@log}&b{@TEST}&6EXP" to the attacker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement