Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on command "/pl":
- if player doesn't have permission "yhp.plugin":
- cancel event
- wait 1 tick
- send "&bSystem&d>>>&c あなたの実行したコマンドはこのサーバーにて制限されております。"
- on command "/plugins":
- if player doesn't have permission "yhp.plugin":
- cancel event
- wait 1 tick
- send "&bSystem&d>>>&c あなたの実行したコマンドはこのサーバーにて制限されております。"
- on command "/?":
- if player doesn't have permission "yhp.plugin":
- cancel event
- wait 1 tick
- send "&bSystem&d>>>&c あなたの実行したコマンドはこのサーバーにて制限されております。"
- on command "/help":
- if player doesn't have permission "yhp.plugin":
- cancel event
- wait 1 tick
- send "&bSystem&d>>>&c あなたの実行したコマンドはこのサーバーにて制限されております。"
- on command "/bukkit:?":
- if player doesn't have permission "yhp.plugin":
- cancel event
- wait 1 tick
- send "&bSystem&d>>>&c あなたの実行したコマンドはこのサーバーにて制限されております。"
- on command "/bukkit:pl":
- if player doesn't have permission "yhp.plugin":
- cancel event
- wait 1 tick
- send "&bSystem&d>>>&c あなたの実行したコマンドはこのサーバーにて制限されております。"
- on command "/about":
- if player doesn't have permission "yhp.plugin":
- cancel event
- wait 1 tick
- send "&6[&dYHP&6]&c あなたの実行したコマンドはこのサーバーにて制限されております。"
- on command "/ver":
- if player doesn't have permission "yhp.plugin":
- cancel event
- wait 1 tick
- send "&6[&dYHP&6]&c あなたの実行したコマンドはこのサーバーにて制限されております。"
- on command "/version":
- if player doesn't have permission "yhp.plugin":
- cancel event
- wait 1 tick
- send "&6&bSystem&d>>>&c あなたの実行したコマンドはこのサーバーにて制限されております。"
- command /ip [<offline player>]:
- permission: yhp.ip
- trigger:
- if arg-1 is not set:
- send "&bSystem&d>>> &bあなたの &aIP: %IP of player%"
- if arg-1 is set:
- send "&bSystem&d>>>&c &b%arg player%' &さんのIP: %IP of arg%"
- command /ping [<Player>]:
- trigger:
- If arg 1 is set:
- send "&bSystem&d>>>&c &b%arg player%' &さんのPing: %arg's ping%"
- Else:
- send "&bSystem&d>>>&c &bあなたのPing: %player's ping%"
- command /check <text>:
- permission: yhp.check
- trigger:
- send "&5===== REPORTS =====" to player
- send "&4%arg 1% &6have been reported &4%{report1.%arg 1%}% &6times"
- send "&4%arg 1% &6have reported other users &4%{report2.%arg 1%}% &6times"
- command /report <player> <text>:
- usage: /report <player> <reason>
- trigger:
- if {report.cooldown.%player%} is false:
- add 1 to {report1.%arg 1%}
- add 1 to {report2.%player%}
- send "&6[&dYHP&6]&c &6レポートありがとうございました!!すぐにオンラインの運営がチェックいたします。" to player
- loop all players:
- if loop-player have permission "pro.admin":
- send "&5===== &5REPORT =====" to loop-player
- send "&6レポートした人: %player%" to loop-player
- send "&6レポートされた人: %arg 1%" to loop-player
- send "&6理由: %arg 2%" to loop-player
- set {report.cooldown.%player%} to true
- wait 30 seconds
- set {report.cooldown.%player%} to false
- if {report.cooldown.%player%} is true:
- send "&6Please wait before reporting again"
- on join:
- set {report.cooldown.%player%} to false
- variables:
- {god.%player%} = false
- on damage:
- victim is a player
- if {god.%victim%} is true:
- cancel event
- command /gm [<text>] [<player>]:
- permission: yhp.gm
- trigger:
- if arg 1 is not set:
- send "{@Prefix} &7ゲームモードを指定してください。"
- if arg 1 is "s" or "survival" or "0":
- if arg 2 is not set:
- send "{@Prefix} &7あなたのゲームモードが &aサバイバルモード &7に変更されました。"
- set player's gamemode to survival
- if arg 2 is set:
- send "{@Prefix} &d%arg 2%'s&a のゲームモードが &aサバイバルモード &7に変更されました。"
- execute command "minecraft:gamemode 0 %arg 2%"
- if arg 1 is "1" or "creative" or "c":
- if arg 2 is not set:
- send "{@Prefix} &7あなたのゲームモードが &aクリエイティブモード &7に変更されました。"
- set player's gamemode to creative
- if arg 2 is set:
- send "{@Prefix} &d%arg 2%'s&a のゲームモードが &aクリエイティブモード &7に変更されました。"
- execute command "minecraft:gamemode 1 %arg 2%"
- if arg 1 is "2" or "adventure" or "a":
- if arg 2 is not set:
- send "{@Prefix} &7あなたのゲームモードが &aアドベンチャーモード &7に変更されました。"
- set player's gamemode to adventure
- if arg 2 is set:
- send "{@Prefix} &d%arg 2%'s&a のゲームモードが &aアドベンチャーモード &7に変更されました。"
- execute command "minecraft:gamemode 2 %arg 2%"
- if arg 1 is "3" or "spectator" or "s":
- if arg 2 is not set:
- send "{@Prefix} &7あなたのゲームモードが &aスペクテイターモード &7に変更されました。"
- execute command "/minecraft:gamemode 3 %player%"
- if arg 2 is set:
- send "{@Prefix} &d%arg 2%'s&a のゲームモードが &aスペクテイターモード &7に変更されました。"
- execute command "minecraft:gamemode 3 %arg 2%"
- command /gamemode [<text>] [<player>]:
- permission: yhp.gm
- trigger:
- if arg 1 is not set:
- send "{@Prefix} &7ゲームモードを指定してください。"
- if arg 1 is "s" or "survival" or "0":
- if arg 2 is not set:
- send "{@Prefix} &7あなたのゲームモードが &aサバイバルモード &7に変更されました。"
- set player's gamemode to survival
- if arg 2 is set:
- send "{@Prefix} &d%arg 2%'s&a のゲームモードが &aサバイバルモード &7に変更されました。"
- execute command "minecraft:gamemode 0 %arg 2%"
- if arg 1 is "1" or "creative" or "c":
- if arg 2 is not set:
- send "{@Prefix} &7あなたのゲームモードが &aクリエイティブモード &7に変更されました。"
- set player's gamemode to creative
- if arg 2 is set:
- send "{@Prefix} &d%arg 2%'s&a のゲームモードが &aクリエイティブモード &7に変更されました。"
- execute command "minecraft:gamemode 1 %arg 2%"
- if arg 1 is "2" or "adventure" or "a":
- if arg 2 is not set:
- send "{@Prefix} &7あなたのゲームモードが &aアドベンチャーモード &7に変更されました。"
- set player's gamemode to adventure
- if arg 2 is set:
- send "{@Prefix} &d%arg 2%'s&a のゲームモードが &aアドベンチャーモード &7に変更されました。"
- execute command "minecraft:gamemode 2 %arg 2%"
- if arg 1 is "3" or "spectator" or "s":
- if arg 2 is not set:
- send "{@Prefix} &7あなたのゲームモードが &aスペクテイターモード &7に変更されました。"
- execute command "/minecraft:gamemode 3 %player%"
- if arg 2 is set:
- send "{@Prefix} &d%arg 2%'s&a のゲームモードが &aスペクテイターモード &7に変更されました。"
- execute command "minecraft:gamemode 3 %arg 2%"
- command /gomi:
- trigger:
- open chest with 6 rows named "&eゴミ箱" to player
- stop
- command /motd [<text>] [<text>]:
- permission: あなたには権限がありません。
- permission message: {@prefix} あなたには権限がありません。
- trigger:
- if arg 1 is not set:
- send "&lMOTD のヘルプ"
- send ""
- send " /Motd show &c-&7 現在のMOTDを表示します。"
- send " /Motd clear (1>5) &c-&7 いずれかの行をクリアします。"
- send " /Motd (1>5) (Message) &c-&7 アナウンスを設定します。"
- stop
- if arg 1 is "show":
- if arg 2 is not set:
- if {linecheck.1} is true:
- send "&7&m-------------------------------------------"
- send ""
- if {linecheck.1} is true:
- send "&71 &8- &r%{line1::*}%"
- if {linecheck.2} is true:
- send "&72 &8- &r%{line2::*}%"
- if {linecheck.3} is true:
- send "&73 &8- &r%{line3::*}%"
- if {linecheck.4} is true:
- send "&74 &8- &r%{line4::*}%"
- if {linecheck.5} is true:
- send "&75 &8- &r%{line5::*}%"
- send ""
- send "&7&m-------------------------------------------"
- stop
- else:
- send "&7&m-------------------------------------------"
- send ""
- send " &8-&r 現在のお知らせはございません。"
- send ""
- send "&7&m-------------------------------------------"
- stop
- if arg 1 is set:
- if arg 1 is "1" or "2" or "3" or "4" or "5":
- if arg 2 is set:
- wait 1 ticks
- set {line%arg-1%::*} to "%colored arg-2%"
- set {linecheck.%arg-1%} to true
- send "{@prefix} line %arg-1% set to:"
- send "%colored arg-2%"
- send "&7&m-------------------------------------------"
- send ""
- if {linecheck.1} is true:
- send " &8- &r%{line1::*}%"
- if {linecheck.2} is true:
- send " &8- &r%{line2::*}%"
- if {linecheck.3} is true:
- send " &8- &r%{line3::*}%"
- if {linecheck.4} is true:
- send " &8- &r%{line4::*}%"
- if {linecheck.5} is true:
- send " &8- &r%{line5::*}%"
- send ""
- send "&7&m-------------------------------------------"
- if arg 1 is "clear":
- if arg 2 is "1" or "2" or "3" or "4" or "5":
- send "{@prefix} Line %arg-2% is now removed."
- if {linecheck.%arg-2%} is true:
- set {linecheck.%arg-2%} to false
- clear {line%arg-2%::*}
- stop
- on connect:
- if {server.wl} is true:
- if "%{wl.players::*}%" contains "%player%":
- exit
- kick the player due to "{@prefix}&7&a現在スタッフのみのログインになっております。"
- on join:
- player is online
- loop all players:
- {loginip::%loop-player%} is true
- if player is op:
- message "&b========= YHP Whois Info ========="
- message "&6名前: &f%player%"
- message "&6UUID: &f%UUID of player%"
- message "&6IP: &f%ip of player%"
- message "&b=================================="
- else:
- message "&bSystem&d>>>&c Error.権限がありません。"
- command /nick [<text>]:
- permission: yhp.nick
- aliases: /name
- trigger:
- set player's tag to "%arg 1%"
- set player's name to "%arg 1%"
- set player's tablist name to "%arg 1%"
- send "&bSystem&d>>>&c Nickネームを適用しました!" to player
- Command /fly:
- Executable by: players
- Permission: yhp.fly
- Trigger:
- If {fly.%player%} is not set:
- Send "&bSystem&d>>>&c &fあなたのFlyモードが &a&l有効 &fになりました。" to player
- set player's flight mode to true
- Set {fly.%player%} to true
- Stop
- Send "&bSystem&d>>> &fあなたのFlyモードが &c&l無効 &fになりました。" to player
- set player's flight mode to false
- Delete {fly.%player%}
- Stop
- command /skull <text>:
- permission: yhp.skull
- trigger:
- execute console command "give %player% skull 1 3 {SkullOwner:%arg 1%}"
- Send "&bSystem&d>>>&a頭をゲットしました"
- command /prefix [<text="default">] [<text="%player%">]:
- permission: "yhp.prefix
- permission: 権限が無いよぉ
- trigger:
- if "%arg-1%" is "default":
- if {default::%arg 2%} is not set:
- set {default::%arg 2%} to true
- send "{@prefix} &f%arg 2%さんのDefaultモードが &a&l有効 &fになりました。"
- execute console command "pex group default user add %arg 2% "
- else:
- delete {default::%arg 2%}
- execute console command "pex group default user remove %arg 2% "
- send "{@prefix} &f%arg 2%さんのDefaultモードが &c&l無効 &fになりました。"
- if "%arg-1%" is "staff":
- if {staff::%arg 2%} is not set:
- set {staff::%arg 2%} to true
- send "{@prefix} &f%arg 2%さんのSTaffモードが &a&l有効 &fになりました。"
- execute console command "pex group staff user add %arg 2% "
- else:
- delete {staff::%arg 2%}
- execute console command "pex group staff user remove %arg 2% "
- send "{@prefix} &f%arg 2%さんのStaffモードが &c&l無効 &fになりました。"
- if "%arg-1%" is "admin":
- if {admin::%arg 2%} is not set:
- set {admin::%arg 2%} to true
- send "{@prefix} &f%arg 2%さんのADMINモードが &a&l有効 &fになりました。"
- execute console command "pex group admin user add %arg 2% "
- else:
- delete {admin::%arg 2%}
- execute console command "pex group admin user remove %arg 2% "
- send "{@prefix} &f%arg 2%さんのADMINモードが &c&l無効 &fになりました。"
- if "%arg-1%" is "owner":
- if {owner::%arg 2%} is not set:
- set {owner::%arg 2%} to true
- send "{@prefix} &f%arg 2%さんのOWNERモードが &a&l有効 &fになりました。"
- execute console command "pex group owner user add %arg 2% "
- else:
- delete {owner::%arg 2%}
- execute console command "pex group owner user remove %arg 2% "
- send "{@prefix} &f%arg 2%さんのOWNERモードが &c&l無効 &fになりました。"
- on death of player:
- if attacker is a player:
- if projectile is set:
- set the death message to "&c%attacker% &7さんが、 &c%victim%さんを殺しました。"
- #Mob
- if attacker is not a player:
- if attacker is set:
- set the death message to "&c%attacker% &eさんが、 &c%victim%を殺しました。"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement