Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #CmdLog#
- #CmdLog-他人、自分のコマンド実行ログがOP所持者にチャットで表示されます。#
- #コマンドブロックからの実行は表示されません。#
- options:
- prefix: &5[CMD]#CommandLOGのPrefixの変更#default: &8[CMD]#
- 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>]:#Logの表示のON/OFFの切り替え#
- 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: &cYou do not have permission
- 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
- on join:
- set the join message to "<red><Bold>[Join]<yellow><Bold>%player%"
- on first join:
- message "<yellow>%player% <green>さん初めまして!まずはチュートリアルをクリアしましょう。"
- on quit:
- set the quit message to "<red><Bold>[logout]<yellow><Bold>%player%"
- on explode:
- cancel event
- on craft:
- player do not have permission "skript.craft"
- cancel event
- #SkEssentials version 4.0 by Tapioca_MilkTea#
- command /gm [<text>] [<player>]:
- permission:essential.commands
- permission message: &c実行する権限を持っていません。
- trigger:
- if arg 1 is not set:
- send "&cUsage: /gm <mode> [player]"
- stop
- if arg 1 is "0" or "s" or "survival":
- if arg 2 is not set:
- set the player's gamemode to survival
- send "&c%player%&6のゲームモードを&cサバイバルモード&6に変更しました。" to player
- stop
- if arg 2 is set:
- set the arg 2's gamemode to survival
- send "&c%arg 2%&6のゲームモードを&cサバイバルモード&6に変更しました。" to player
- stop
- if arg 1 is "1" or "c" or "creative":
- if arg 2 is not set:
- set the player's gamemode to creative
- send "&c%player%&6のゲームモードを&cクリエイティブモード&6に変更しました。" to player
- stop
- if arg 2 is set:
- set the arg 2's gamemode to creative
- send "&c%arg 2%&6のゲームモードを&cクリエイティブモード&6に変更しました。" to player
- stop
- if arg 1 is "2" or "a" or "adventure":
- if arg 2 is not set:
- set the player's gamemode to adventure
- send "&c%player%&6のゲームモードを&cアドベンチャーモード&6に変更しました。" to player
- stop
- if arg 2 is set:
- set the arg 2's gamemode to adventure
- send "&c%arg 2%&6のゲームモードを&cアドベンチャーモード&6に変更しました。" to player
- stop
- if arg 1 is "3" or "spectator":
- if arg 2 is not set:
- set the player's gamemode to spectator
- send "&c%player%&6のゲームモードを&cスペクテイターモード&6に変更しました。" to player
- stop
- if arg 2 is set:
- set the arg 2's gamemode to spectator
- send "&c%arg 2%&6のゲームモードを&cスペクテイターモード&6に変更しました。" to player
- stop
- command /day:
- permission:essential.commands
- permission message: &c実行する権限を持っていません。
- trigger:
- execute console command "/time set 6000"
- send "&6朝に変更しました。"
- stop
- command /night:
- permission:essential.commands
- permission message: &c実行する権限を持っていません。
- trigger:
- execute console command "/time set 18000"
- send "&6夜に変更しました。"
- stop
- command /clearchat:
- aliases:cc,clean,clearc,cchat
- permission:essential.commands
- permission message: &c実行する権限を持っていません。
- trigger:
- loop 150 times:
- broadcast ""
- broadcast "&6%player%がチャット履歴を消去しました。"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement