Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- prefix: &5&l-<Skills>-
- prefix2: \u00a75\u00a7l-<Skills>-
- error: &c*ERROR*
- command /skills [<text>]:
- permission: *
- permission message: &cYou haven't permission.
- trigger:
- if arg-1 is "help" or "help 1" or "reload" or "version" or "ignorecooldown" or "toggleskill" or "grab" or "settings" or "list":
- if arg-1 is "help" or "help 1":
- message "&5&l&o-----------------------< Skills >-----------------------"
- message "&a&l &a&l作った人: ClockClap &e ページ: 1/1"
- message "&ahelp &6- &bこのプラグインのヘルプを表示します。"
- message "&areload &6- &bこのプラグインをリロードします。"
- message "&aversion &6- &bこのプラグインのバージョンを見ます。"
- message "&aignorecooldown &6- &bスキルのクールダウンをトグルします。"
- message "&atoggleskill &6- &bスキルの使用可能をトグルします。"
- message "&agrab &6- &bスキルアイテムをゲットします。"
- message "&asettings &6- &b現在の設定を見ます。"
- message "&alist &6- &bスキルの一覧を表示します。"
- message "&5&l&o--------------------------------------------------------"
- if arg-1 is "reload":
- message "{@prefix} &bプラグインをリロードしています…"
- wait 15 ticks
- execute console command "sk reload skillscmd"
- execute console command "sk reload skills"
- execute console command "sk reload skillsd"
- execute console command "sk reload skillsic"
- message "{@prefix} &bプラグインをリロードしました。"
- if arg-1 is "version":
- message "{@prefix} &bこのプラグインのバージョンは &3&l3.8.9&b です。"
- if arg-1 is "ignorecooldown":
- if {skill} is 1:
- if {ignore.cooldown} is not set:
- set {ignore.cooldown} to 1
- execute console command "sk disable skills"
- execute console command "sk disable skillsd"
- execute console command "sk enable skillsic"
- message "{@prefix} &bIgnore Cooldownを &a有効 &bにしました。"
- execute console command "tellraw @a[name=!%player%] {""text"":""{@prefix2} \u00a7bIgnore Cooldownが \u00a7a有効 \u00a7bになりました。""}"
- if {ignore.cooldown} is 1:
- set {ignore.cooldown} to 0
- execute console command "sk enable skills"
- execute console command "sk disable skillsd"
- execute console command "sk disable skillsic"
- message "{@prefix} &bIgnore Cooldownを &c無効 &bにしました。"
- execute console command "tellraw @a[name=!%player%] {""text"":""{@prefix2} \u00a7bIgnore Cooldownが \u00a7c無効 \u00a7bになりました。""}"
- else:
- set {ignore.cooldown} to 1
- execute console command "sk disable skills"
- execute console command "sk disable skillsd"
- execute console command "sk enable skillsic"
- message "{@prefix} &bIgnore Cooldownを &a有効 &bにしました。"
- execute console command "tellraw @a[name=!%player%] {""text"":""{@prefix2} \u00a7bIgnore Cooldownが \u00a7a有効 \u00a7bになりました。""}"
- else:
- execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.endermen.teleport master @p ~ ~ ~ 1 0.5"
- message "{@prefix} &cスキルが有効になっていません!"
- if arg-1 is "toggleskill":
- if {skill} is not set:
- set {skill} to 0
- execute console command "sk disable skills"
- execute console command "sk disable skillsic"
- execute console command "sk enable skillsd"
- message "{@prefix} &bスキルを &c無効 &bにしました。"
- execute console command "tellraw @a[name=!%player%] {""text"":""{@prefix2} \u00a7bスキルが \u00a7c無効 \u00a7bになりました。""}"
- if {skill} is 1:
- set {skill} to 0
- execute console command "sk disable skills"
- execute console command "sk disable skillsic"
- execute console command "sk enable skillsd"
- message "{@prefix} &bスキルを &c無効 &bにしました。"
- execute console command "tellraw @a[name=!%player%] {""text"":""{@prefix2} \u00a7bスキルが \u00a7c無効 \u00a7bになりました。""}"
- else:
- if {ignore.cooldown} is 0:
- set {skill} to 1
- execute console command "sk enable skills"
- execute console command "sk disable skillsd"
- message "{@prefix} &bスキルを &a有効 &bにしました。"
- execute console command "tellraw @a[name=!%player%] {""text"":""{@prefix2} \u00a7bスキルが \u00a7a有効 \u00a7bになりました。""}"
- else:
- set {skill} to 1
- execute console command "sk enable skillsic"
- execute console command "sk disable skillsd"
- message "{@prefix} &bスキルを &a有効 &bにしました。"
- execute console command "tellraw @a[name=!%player%] {""text"":""{@prefix2} \u00a7bスキルが \u00a7a有効 \u00a7bになりました。""}"
- if arg-1 is "grab":
- if {skill} is 1:
- execute console command "give %player% gunpowder 1 0 {display:{Name:""§a§lSkill §4§l[Bom]"",Lore:[""§7Cooldown: §a5s""]}}"
- execute console command "give %player% feather 1 0 {display:{Name:""§a§lSkill §f§l[Levitation]"",Lore:[""§7Cooldown: §a10s""]}}"
- execute console command "give %player% iron_sword 1 0 {display:{Name:""§a§lSkill §c§l[Kill]"",Lore:[""§7Cooldown: §a50s""]}}"
- execute console command "give %player% fire_charge 1 0 {display:{Name:""§a§lSkill §6§l[Fireball]"",Lore:[""§7Cooldown: §a3s""]}}"
- execute console command "give %player% fishing_rod 1 0 {display:{Name:""§a§lSkill §3§l[Jump]"",Lore:[""§7Cooldown: §a15s""]}}"
- execute console command "give %player% diamond 1 0 {display:{Name:""§a§lSkill §e§l[Heal]"",Lore:[""§7Cooldown: §a12s""]}}"
- message "{@prefix} &bスキルアイテムをゲットしました。"
- else:
- execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.endermen.teleport master @p ~ ~ ~ 1 0.5"
- message "{@prefix} &cスキルが有効になっていません。"
- if arg-1 is "settings":
- if {skill} is 0:
- if {ignore.cooldown} is 1:
- message "{@prefix} &bスキル: &c無効"
- message "{@prefix} &bIgnore Cooldown: &a有効"
- else:
- message "{@prefix} &bスキル: &c無効"
- message "{@prefix} &bIgnore Cooldown: &c無効"
- else:
- if {ignore.cooldown} is 1:
- message "{@prefix} &bスキル: &a有効"
- message "{@prefix} &bIgnore Cooldown: &a有効"
- else:
- message "{@prefix} &bスキル: &a有効"
- message "{@prefix} &bIgnore Cooldown: &c無効"
- if arg-1 is "list":
- if {skill} is 0:
- message "&2&l&o-----------------------< List >-----------------------"
- message " &e ページ: 1/1"
- message "&5- &cBom&b... 爆発します。&7(Cooldown: &a5s)"
- message "&5- &cLevitation&b... 敵を浮かせます。&7(Cooldown: &a10s)"
- message "&5- &cKill&b... 敵を倒します。&7(Cooldown: &a50s)"
- message "&5- &cFireball&b... 火の玉を飛ばします。&7(Cooldown: &a3s)"
- message "&5- &cJump&b... 敵を跳ねさせます。&7(Cooldown: &a15s)"
- message "&5- &cHeal&b... 自分をヒールします。&7(Cooldown: &a12s)"
- message "&2&l&o------------------------------------------------------"
- else:
- message "&2&l&o-----------------------< List >-----------------------"
- message " &e ページ: 1/1"
- message "&5- &aBom&b... 爆発します。&7(Cooldown: &a5s)"
- message "&5- &aLevitation&b... 敵を浮かせます。&7(Cooldown: &a10s)"
- message "&5- &aKill&b... 敵を倒します。&7(Cooldown: &a50s)"
- message "&5- &aFireball&b... 火の玉を飛ばします。&7(Cooldown: &a3s)"
- message "&5- &aJump&b... 敵を跳ねさせます。&7(Cooldown: &a15s)"
- message "&5- &aHeal&b... 自分をヒールします。&7(Cooldown: &a12s)"
- message "&2&l&o------------------------------------------------------"
- else:
- execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.endermen.teleport master @p ~ ~ ~ 1 0.5"
- message "{@prefix} &cコマンドの構文が違います。/skills help でコマンドのヘルプを"
- message "&c確認してください。"
Add Comment
Please, Sign In to add comment