Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- oniprefix: &c[&bOnigokko&c]
- prefix: &c[&eServer&c]
- command /oni <text>:
- permission: oni.admin
- permission message: &cYou dont have permission needed "oni.admin"
- usage: /oni help
- trigger:
- if arg 1 is "help":
- send "{@oniprefix} &b/oni start &aかくれんぼを開始します"
- send "{@oniprefix} &b/oni wp &a鬼を決めます"
- send "{@oniprefix} &b/oni reset &a隠れんぼをリセットします"
- send "{@oniprefix} &b/oni gui &a隠れんぼごっこの設定などを表示します"
- send "{@oniprefix} &b/oni pvp <enable:disable> &aPvPをオン、オフ切り替えます"
- if arg 1 is "gui":
- open chest with 1 row named "&b&lkakureGui" to player
- wait 1 tick
- format slot 0 of player with clock named "&c隠れんぼスタート" to close then run "oni start"
- format slot 1 of player with compass named "&b鬼を決める" to close then run "oni wp"
- format slot 2 of player with lava bucket named "&e隠れんぼリセット" to close then run "oni reset"
- if arg 1 is "start":
- execute console command "/settimer 515"
- broadcast "{@oniprefix} &bかくれんぼごっこスタート!"
- broadcast "{@oniprefix} &c15秒後に鬼が出現します"
- enable pvp
- execute console command "/give @a cooked_beef 64"
- execute console command "/effect @a[team=oni] 5 10000 127 true"
- execute console command "/effect @a[team=oni] 11 10000 127 true"
- execute console command "/scoreboard teams join nige @a[team=!oni]"
- execute console command "/effect @a[team=oni] speed 60 0 true"
- execute console command "/whitelist on"
- execute console command "/effect @a[team=!oni] 11 10000 3"
- wait 15 second
- execute console command "/setblock -3 13 0 redstone_torch"
- broadcast "{@oniprefix} &c鬼が開放されました!"
- if arg 1 is "wp":
- broadcast "{@oniprefix} &b鬼がランダムで選ばれます!"
- wait 1 second
- execute console command "/tp @r -4 15 0"
- execute console command "/scoreboard teams join oni @p[x=-4,y=15,z=0,dy=1]"
- if arg 1 is "reset":
- broadcast "{@oniprefix} &bかくれんぼ終了!"
- disable pvp
- execute console command "/tp @a 0 15 0"
- execute console command "/scoreboard teams leave @a"
- execute console command "/setblock -3 13 0 stone"
- execute console command "/effect @a clear"
- execute console command "/whitelist off"
- execute console command "/clear @a"
- execute console command "/gamemode 2 @a"
- execute console command "/effect @a saturation 1 5 true"
- if arg 1 is "pvp enable":
- enable pvp
- send "{@oniprefix} &cPvP is now enable!"
- if arg 1 is "pvp disable":
- disable pvp
- send "{@oniprefix} &cPvP is now disable!"
- command /settimer <number>:
- permission: oni.admin
- permission message: &cYou dont have permission needed "oni.admin"
- aliases: /st
- trigger:
- loop all players:
- set loop-player's level to arg
- loop arg times:
- wait 1 second
- loop all players:
- set loop-player's level to arg - loop-number
- broadcast "&Bかくれんぼごっこ終了!"
- execute console command "/oni reset"
- command /help:
- trigger:
- send "{@prefix} &b鬼はtabの色が水色です"
- send "{@prefix} &b隠れる人は500秒間隠れましょう!"
- send "{@prefix} &b/help &aでルールが読めます"
- send "{@prefix} &b/spawn &aで詰み穴に落ちても戻れます"
- send "{@prefix} &b/heal &aで体力を回復します"
- send "{@prefix} &b人来次第鬼ごっこを始めます!"
- command /walkspeed <number>:
- permission: oni.admin
- permission message: &cYou dont have permission needed "oni.admin
- aliases: /ws
- trigger:
- set the player's walk speed to arg
- broadcast "&c[walkspeed]&b走るスピードを%arg%にしました"
- command /spawn:
- trigger:
- teleport player to location (0, 15, 0)
- send "{@prefix} &aスポーンへテレポートしました!"
- command /heal:
- trigger:
- heal the player
- wait 1 tick
- send "{@prefix} &c%player%&bさんの体力を回復しました"
- command /broadcast <text>:
- permission: oni.admin
- permission message: &cYou dont have permission needed "oni.admin"
- usage: /broadcast <text>
- aliases: /bc
- trigger:
- broadcast "{@prefix} &c%argument%"
- command /fly:
- usage: /fly
- Executable by: players
- permission: use.fly
- permission message: &cYou dont have permission needed "use.fly"
- trigger:
- if {fly.%player%} is not set:
- send "&7Flight mode is now &benabled&c." to player
- set player's flight mode to true
- set {fly.%player%} to true
- stop
- send "&7Flight mode is now &bdisabled&c." to player
- set player's flight mode to false
- delete {fly.%player%}
- stop
- command /plugins:
- trigger:
- send "&fPlugins (5): &aOnigokko&f, &aOnigokkoCore&f, &aWorldEdit&f, &aVault&f, &aViaVersion"
- command /pl:
- trigger:
- send "&fPlugins (5): &aOnigokko&f, &aOnigokkoCore&f, &aWorldEdit&f, &aVault&f, &aViaVersion"
- on death:
- heal the player
- wait 1 tick
- teleport player to location (-2, 64, 45)
- make console execute command "gamemode spectator %player%"
- make console execute command "scoreboard teams leave %player%"
- on death of player:
- if attacker is a player:
- if attacker is set:
- set the death message to "{@prefix} &c%victim%さんは鬼に襲われた"
- on load:
- execute console command "/gamerule reducedDebugInfo false"
- execute console command "/gamerule sendCommandFeedback true"
- on join:
- set the join message to "{@prefix} &e%player%&bさんがサーバーに参加しました"
- send "{@prefix} &b/help &aでルールが読めます"
- send "{@prefix} &b/spawn &aで詰み穴に落ちても戻れます"
- send "{@prefix} &b/heal &aで体力を回復します"
- send "{@prefix} &b人来次第鬼ごっこを始めます!"
- send "{@prefix} &b人が来るまで隠れ場所などを見つけましょう!"
- make console execute command "/playsound minecraft:entity.player.levelup master @a"
- make console execute command "gamemode adventure %player%"
- teleport player to location (0, 15, 0)
- on quit:
- set the quit message to "{@prefix} &e%player%&bさんがサーバーから退出しました"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement