Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on chat:
- {cdtime} is set
- if {cooldown.%player%} is true:
- cancel event
- send "&cチャット送信には&e%{cdtime}%&cの間隔をあける必要があります。"
- stop
- set {cooldown.%player%} to true
- wait {cdtime}
- set {cooldown.%player%} to false
- command /cooldown <time span>:
- permission: skript.admin
- permission message: You do not have a permission.
- trigger:
- set {cdtime} to arg 1
- broadcast "&bチャットのクールダウン間隔が&e%{cdtime}%&bになりました。"
- stop
- command /bscore [<offline player>]:
- trigger:
- if arg 1 is not set:
- send "&cUsage: /bscore <Player>"
- stop
- if {break.%arg 1%} is not set:
- set {break.%arg 1%} to 0
- send "&7[&6BreakScore&7]&b%arg 1%'s block break count:%{break.%arg 1%}%"
- command /pscore [<offline player>]:
- trigger:
- if arg 1 is not set:
- send "&cUsage: /pscore <Player>"
- stop
- if {place.%arg 1%} is not set:
- set {place.%arg 1%} to 0
- send "&7[&6PlaceScore&7]&b%arg 1%'s block place count:%{place.%arg 1%}%"
- on place:
- add 1 to {place.%player%}
- if {place.%player%} is 10:
- broadcast "&7[&6PlaceScore&7]&b%player%さんのブロック設置数が%{place.%player%}%回を突破!やっと始まったね!"
- if {place.%player%} is 100:
- broadcast "&7[&6PlaceScore&7]&b%player%さんのブロック設置数が%{place.%player%}%回を突破!まだまだこれから!"
- if {place.%player%} is 1000:
- broadcast "&7[&6PlaceScore&7]&b%player%さんのブロック設置数が%{place.%player%}%回を突破!どんどん行っちゃえ!"
- if {place.%player%} is 10000:
- broadcast "&7[&6PlaceScore&7]&b%player%さんのブロック設置数が%{place.%player%}%回を突破!その調子!"
- if {place.%player%} is 50000:
- broadcast "&7[&6PlaceScore&7]&b%player%さんのブロック設置数が%{place.%player%}%回を突破!やりますねぇ!"
- if {place.%player%} is 100000:
- broadcast "&7[&6PlaceScore&7]&b%player%さんのブロック設置数が%{place.%player%}%回を突破!君って創造神?"
- if {place.%player%} is 1000000:
- broadcast "&7[&6PlaceScore&7]&b%player%さんのブロック設置数が%{place.%player%}%回を突破!これ以上は何も言うことなし!"
- if {place.%player%} is 100000000:
- broadcast "&7[&6PlaceScore&7]&b%player%さんのブロック設置数が%{place.%player%}%回を突破!参った…"
- on break:
- add 1 to {break.%player%}
- if {break.%player%} is 10:
- broadcast "&7[&6BreakScore&7]&b%player%さんのブロック破壊数が%{break.%player%}%回を突破!やっと始まったね!"
- if {break.%player%} is 100:
- broadcast "&7[&6BreakScore&7]&b%player%さんのブロック破壊数が%{break.%player%}%回を突破!まだまだこれから!"
- if {break.%player%} is 1000:
- broadcast "&7[&6BreakScore&7]&b%player%さんのブロック破壊数が%{break.%player%}%回を突破!どんどん行っちゃえ!"
- if {break.%player%} is 10000:
- broadcast "&7[&6BreakScore&7]&b%player%さんのブロック破壊数が%{break.%player%}%回を突破!その調子!"
- if {break.%player%} is 50000:
- broadcast "&7[&6BreakScore&7]&b%player%さんのブロック破壊数が%{break.%player%}%回を突破!やりますねぇ!"
- if {break.%player%} is 100000:
- broadcast "&7[&6BreakScore&7]&b%player%さんのブロック破壊数が%{break.%player%}%回を突破!君って破壊神?"
- if {break.%player%} is 1000000:
- broadcast "&7[&6BreakScore&7]&b%player%さんのブロック破壊数が%{break.%player%}%回を突破!これ以上は何も言うことなし!"
- if {break.%player%} is 100000000:
- broadcast "&7[&6BreakScore&7]&b%player%さんのブロック破壊数が%{break.%player%}%回を突破!参った…"
- command /cmdlog [<boolean>]:
- trigger:
- if arg 1 is not set:
- send "&7[&6CommandLog&7]&bあなたのコマンドログ表示状況:%{cmd.%player%}%"
- stop
- if arg 1 is true:
- set {cmd.%player%} to true
- send "&7[&6CommandLog&7]&bあなたのコマンドログ表示状況:%{cmd.%player%}%"
- if arg 1 is false:
- set {cmd.%player%} to false
- send "&7[&6CommandLog&7]&bあなたのコマンドログ表示状況:%{cmd.%player%}%"
- on load:
- loop all players:
- send "&7[&6CommandLog&7]&bコマンドログSkriptがロードされました。" to loop-player
- if loop-player is an op:
- set {cmd.%loop-player%} to true
- continue
- set {cmd.%loop-player%} to false
- on command:
- sender is player or console
- loop all players:
- if {cmd.%loop-player%} is true:
- send "&7[%now%]&e%sender%&7>>> /%complete command%" to loop-player
- on join:
- if player is an op:
- set {cmd.%player%} to true
- stop
- set {cmd.%player%} to false
- command /click [<time span>]:
- executable by:player
- trigger:
- if {party.clickban.%sender%} is true:
- send "&7[&6Click&7]&cあなたはClickPartyミニゲームからBANされています。"
- stop
- if arg 1 is not set:
- send "&cUsage: /click <時間形式の時間>"
- send "&b使用例:/click 5 seconds"
- send "&b使用例:/click 1 minute"
- send "&b使用例:/click 1 hour"
- send "&b使用例:/click 1 day"
- stop
- broadcast "&7[&6Click&7]&b%sender%さんが%arg 1%でクリック連打に挑戦!"
- clear {party.clickcount.%player%}
- send "&7[&6Click&7]&b3秒前…"
- wait 1 second
- send "&7[&6Click&7]&b2秒前…"
- wait 1 second
- send "&7[&6Click&7]&b1秒前…"
- wait 1 second
- send "&7[&6Click&7]&bスタート!"
- set {party.click.%player%} to true
- wait arg 1
- set {party.click.%player%} to false
- send "&7[&6Click&7]&b終了!"
- if {party.click.%player%} is not set:
- set {party.click.%player%} to 0
- broadcast "&7[&6Click&7]&b%sender%さんがクリック連打に挑戦!記録は%arg 1%で%{party.clickcount.%player%}%回でした!"
- clear {party.clickcount.%player%}
- on leftclick:
- if {party.click.%player%} is true:
- add 1 to {party.clickcount.%player%}
- send "&7[&6Click&7]&bクリック回数:%{party.clickcount.%player%}%回"
- command /clickban [<text>] [<offline player>]:
- permission:*
- trigger:
- if arg 2 is not set:
- send "&cUsage:/clickban <add|remove> <player>"
- stop
- if arg 1 is "add":
- set {party.clickban.%arg 2%} to true
- broadcast "&7[&6Click&7]&c%sender%により%arg 2%さんがClickPartyミニゲームからBANされました"
- stop
- if arg 1 is "remove":
- set {party.clickban.%arg 2%} to false
- broadcast "&7[&6Click&7]&b%sender%により%arg 2%さんがClickPartyミニゲームからBAN解除されました"
- on rightclick:
- if {party.click.%player%} is true:
- add 1 to {party.clickcount.%player%}
- send "&7[&6Click&7]&bクリック回数:%{party.clickcount.%player%}%回"
- on join:
- broadcast "&a%player%(%player's uuid%)さんがログインしました!"
- add 1 to {joincount.%player's uuid%}
- broadcast "&6%player%さんのログイン数:合計%{joincount.%player's uuid%}%回"
- on quit:
- broadcast "&eDisconnected %player%(%player's uuid%)"
- on kick:
- broadcast "&cKicked %player%(%player's uuid%)"
- broadcast "&c%player%'s IP: %ip of player%"
- command /pinfo [<offline player>]:
- trigger:
- if arg 1 is not set:
- send "&cUsage: /pinfo <Player>"
- stop
- send "&7[&6PlayerInfo&7]&e%arg 1%&b's Info:"
- send "&7[&6PlayerInfo&7]&eUUID:&b%uuid of arg 1%"
- if arg 1 is offline:
- send "&7[&6PlayerInfo&7]&eOnline:&cfalse"
- if {health.%arg 1%} is set:
- send "&7[&6PlayerInfo&7]&eHealth:&b%{health.%arg 1%} * 2%&e/&b%{maxhealth.%arg 1%} * 2%&e(&b%{health.%arg 1%}/{maxhealth.%arg 1%}*100% &ePercent)"
- if {food.%arg 1%} is set:
- send "&7[&6PlayerInfo&7]&eFood:&b%{food.%arg 1%}*2%&e/20(&b%{food.%arg 1%}/10*100% &ePercent)"
- if {ip.%arg 1%} is set:
- send "&7[&6PlayerInfo&7]&eLast used IP:&b%{ip.%arg 1%}%"
- if {lastjoin.%arg 1%} is set:
- send "&7[&6PlayerInfo&7]&eLast joined:&b%{lastjoin.%arg 1%}%"
- if {lastquit.%arg 1%} is set:
- send "&7[&6PlayerInfo&7]&eLast disconnected:&b%{lastquit.%arg 1%}%"
- if {gamemode.%arg 1%} is set:
- send "&7[&6PlayerInfo&7]&eGamemode:&b%{gamemode.%arg 1%}%"
- if {location.%arg 1%} is set:
- send "&7[&6PlayerInfo&7]&eLocation:&b%{location.%arg 1%}% &ein &b%{world.%arg 1%}%"
- if {group.%player%} is set:
- send "&7[&6PlayerInfo&7]&eGroup:&b%{group.%arg 1%}%"
- if {op.%arg 1%} is true:
- send "&7[&6PlayerInfo&7]&eOP:&btrue"
- if {op.%arg 1%} is false:
- send "&7[&6PlayerInfo&7]&eOP:&bfalse"
- send "&7[&6PlayerInfo&7]&eLast used Prefix:&b%{prefix.%arg 1%}%"
- send "&7[&6PlayerInfo&7]&eLast used Suffix:&b%{suffix.%arg 1%}%"
- if arg 1 is banned:
- send "&7[&6PlayerInfo&7]&eBanned:&ctrue"
- if arg 1 is not banned:
- send "&7[&6PlayerInfo&7]&eBanned:&bfalse"
- stop
- if arg 1 is online:
- send "&7[&6PlayerInfo&7]&eOnline:&btrue"
- send "&7[&6PlayerInfo&7]&eHealth:&b%health of arg 1 * 2%&e/&b%max health of arg 1 * 2%&e(&b%health of arg 1/max health of arg 1 *100% &ePercent)"
- send "&7[&6PlayerInfo&7]&eFood:&b%food of arg 1 * 2%&e/20(&b%food of arg 1/10*100% &ePercent)"
- send "&7[&6PlayerInfo&7]&eIP:&b%ip of arg 1%"
- send "&7[&6PlayerInfo&7]&eLast joined:&b%{lastjoin.%arg 1%}%"
- send "&7[&6PlayerInfo&7]&eGamemode:&b%gamemode of arg 1%"
- send "&7[&6PlayerInfo&7]&eLocation:&b%location of arg 1% &ein &b%world of arg 1%"
- send "&7[&6PlayerInfo&7]&eGroup:&b%group of arg 1%"
- if arg 1 is op:
- send "&7[&6PlayerInfo&7]&eOP:&btrue"
- if arg 1 is not op:
- send "&7[&6PlayerInfo&7]&eOP:&bfalse"
- send "&7[&6PlayerInfo&7]&ePrefix:&b%prefix of arg 1%"
- send "&7[&6PlayerInfo&7]&eSuffix:&b%suffix of arg 1%"
- on join:
- set {ip.%player%} to ip of player
- set {lastjoin.%player%} to now
- on quit:
- set {location.%player%} to location of player
- set {world.%player%} to world of player
- set {health.%player%} to health of player
- set {maxhealth.%player%} to max health of player
- set {food.%player%} to food of player
- set {gamemode.%player%} to gamemode of player
- set {group.%player%} to group of player
- set {prefix.%player%} to prefix of player
- set {suffix.%player%} to suffix of player
- if player is op:
- set {op.%player%} to true
- if player is not op:
- set {op.%player%} to false
- set {lastquit.%player%} to now
Advertisement
Add Comment
Please, Sign In to add comment