Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /rule:
- trigger:
- send "&9------------------------------------"
- send "&cOPkrkr禁止!!"
- send "&a忙しい時もあります:&e質問を受け付けないときもあります"
- send "&a荒らしは&c&l絶対禁止&f&a!!"
- send "&a楽しいRPG生活を!!&8:&eMenuでメニューを開けます!"
- send "send "&9------------------------------------"
- on join:
- broadcast "&4&l[&e&lJoin&4&l]&b%player%"
- on quit:
- broadcast "&7&l[&eLogout&7&l]&8%player%"
- #+------------------------------------------------------+
- #| PlayerCommandLog |
- #+------------------------------------------------------+
- #
- options:
- prefix: &b&l[&7&l>>&e&lcmd-log&7&l<<<&b&l]&a&l
- on command:
- loop all players:
- if loop-player has permission "sk.admin":
- if {log.%loop-player%} is not set:
- set {log.%loop-player%} to true
- if {log.%loop-player%} is true:
- if player is not set:
- stop
- message " {@prefix} &7%player%: /%full command%" to loop-player
- command /cmd [<text>]:
- permission: sk.cmd
- trigger:
- if arg-1 is set:
- if arg-1 is "on":
- set {log.%player%} to true
- message " {@prefix}&7Log表示を&aon&7にしました。"
- stop
- if arg-1 is "off":
- set {log.%player%} to false
- message " {@prefix}&7Log表示を&coff&7にしました。"
- stop
- else:
- message "{@prefix}&7/cmd <on,off>"
- #Ip-Checker#
- #指定したプレイヤーのipをチェックします。同一のIPがあった場合、そのプレイヤーのIDも表示されます。#
- command /aip [<offline player>]:
- permission: Command.IP
- permission message: &cパーミッションがありません。
- trigger:
- if arg is not set:
- message "&a[IP-log]&ePlayer名を記入してください。"
- stop
- if arg is "all":
- loop all players:
- set {ip::%loop-player%} to ip of loop-player
- message "&a[IP-log]&b---------------------------------------------"
- message "&a[IP-log]&e%loop-player%'sIP&a: &6%{ip::%loop-player%}%" to player
- loop {ip::*}:
- if {ip::%loop-index%} is {ip::%loop-player%}:
- message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%"
- else:
- set {ip::%arg%} to ip of argument
- message "&a[IP-log]&e%arg%'sIP&a: &6%{ip::%arg%}%"
- loop {ip::*}:
- if {ip::%loop-index%} is {ip::%arg%}:
- message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%"
- on join:
- set {ip::%player%} to ip of player
- loop all players:
- if loop-player has permission "sk.admin":
- message "&a[IP-log]&e%player%'sIP&a: &6%{ip::%player%}%" to loop-player
- loop {ip::*}:
- if {ip::%loop-index%} is {ip::%player%}:
- message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%" to loop-player
- command /aipreset [<offline player>]:
- permission: command.ip.reset
- trigger:
- send "&c%arg%さんのIP&a: &e%{ip::%arg%}% &cをリセットしました"
- clear {ip::%arg%}
- options:
- pointsadd: 1 #キルしたときポイントをどれだけ獲得するか指定できます
- pointsremove: 1 #デスしたときポイントをどれだけ失うかするか指定できます
- resetpermission: skript.status.reset #ステータスをリセットするのに必要なパーミッションを指定できます
- permission messagestats: &c[Error] &7You do not have the required permission to perform this command
- variables:
- {status.kills.%player%} = 0
- {status.deaths.%player%} = 0
- {status.killstreak.%player%} = 0
- {points.%player%} = 0
- {second::%player%} = 0
- {minute::%player%} = 0
- {hour::%player%} = 0
- command /status [<offline player>]:
- trigger:
- if arg-1 is not set:
- message "&2» &a&lStats &2&m-----*-------------------------*-----"
- message "&aKills: &f%{status.kills.%player%}%"
- message "&aDeaths: &f%{status.deaths.%player%}%"
- message "&aKDR: &f%{status.kills.%player%}/{status.deaths.%player%}%"
- message "&aKillstreak: &f%{status.killstreak.%player%}%"
- message "&aPoint: &f%{points.%player%}%"
- message "&aLoginTime: &f%{hour::%player%}% h, %{minute::%player%}% m, %{second::%player%}% s,"
- message "&2&m----*---------------------------------*-----"
- else:
- if player have permission "stats.others.sk":
- set {_player} to arg-1
- wait 1 tick
- if {_player} has played on this server before:
- message "&2» &a&lStats &2&m-----*-------------------------*-----"
- message "&aPlayer: &f%{_player}%"
- message "&aKills: &f%{status.kills.%{_player}%}%"
- message "&aDeaths: &f%{status.deaths.%{_player}%}%"
- message "&aKDR: &f%{status.kills.%{_player}%}/{status.deaths.%{_player}%}%"
- message "&aKillstreak: &f%{status.killstreak.%{_player}%}%"
- message "&aPoint: &f%{points.%{_player}%}%"
- message "&aLoginTime: &f%{hour::%{_player}%}% h, %{minute::%{_player}%}% m, %{second::%{_player}%}% s,"
- message "&2&m----*---------------------------------*-----"
- else:
- message "&7&l<< &4&lError&7&l >> &r&6&l%{_player}% &chas never been on this server before"
- else:
- message "&7&l<< &4&lError&7&l >> &r&cYou do not have the required permission to perform this command"
- command resetstats [<offline player>]:
- permission: {@pesetpermission}
- permission message: {@permission messagestats}
- trigger:
- if arg-1 is not set:
- message "&c/restatus <Player>"
- else:
- set {_player} to arg-1
- wait 1 tick
- if {_player} has played on this server before:
- set {status.kills.%{_player}%} to 0
- set {status.deaths.%{_player}%} to 0
- set {status.killstreak.%{_player}%} to 0
- set {points.%{_player}%} to 0
- message "&f%{_player}%のステータスをリセットしました"
- else:
- message "&7&l<< &4&lError&7&l >> &r&6&l%{_player}% &chas never been on this server before"
- on death:
- victim is a player:
- attacker is a player:
- add 1 to {status.kills.%attacker%}
- add 1 to {status.killstreak.%attacker%}
- add {@pointsadd} to {points.%attacker%}
- add 1 to {status.deaths.%victim%}
- set {status.killstreak.%victim%} to 0
- remove {@pointsremove} from {points.%player%}
- on quit:
- set {status.killstreak.%player%} to 0
- every second:
- loop all players:
- add 1 to {second::%loop-player%}
- if {second::%loop-player%} is 60:
- subtract 60 from {second::%loop-player%}
- add 1 to {minute::%loop-player%}
- if {minute::%loop-player%} is 60:
- subtract 60 from {minute::%loop-player%}
- add 1 to {hour::%loop-player%}
- command /menu:
- trigger:
- open chest with 3 rows named "&e&lSurvival-Menus" to player
- wait 1 tick
- format slot 0 of player with grass named "&2&l初期スポーン" to close then run [execute console command "/tp %player% -607 5 401"]
- format slot 1 of player with beacon named "&1&lショップ" to close then run [execute console command "/tp %player% -617 6.5 349"]
- format slot 5 of player with diamond_block named "&b&lガチャエリア" to close then run [execute console command "/tp %player% -610 5 329"]
- format slot 19 of player with diamond_sword named "&c&lステータス" to close then run [make player execute "/status"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement