Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /warn [<text>] [<player>]:
- permission:admin
- permission message:&c[Error]あなたはこのコマンドを使えません
- trigger:
- if arg 1 is not set:
- message "&a-----[Warn]-----"
- message "&a■/warn add player ・・・・playerに警告をする"
- message "&a■/warn remove player・・・・playerの警告スコアを1減らす"
- message "&a■/warn list player・・・・playerの警告スコアを見る"
- stop
- if arg 1 is "add":
- if arg 2 is not set:
- message "&c[Error]プレイヤーの名前を選択してください"
- stop
- if arg 2 is set:
- add 1 to {warn.%arg-2%}
- broadcast "&c[Warn]%arg-2%が%player%に警告を受けました"
- message "&c現在の%arg-2%のスコアは%{warn.%arg-2%}%"
- stop
- if {warn.%arg-2%} is "3":
- execute console command "/ban %arg-2% 警告回数が3回になったのでBANします"
- stop
- if arg 1 is "remove":
- if arg 2 is not set:
- message "&c[Error]プレイヤーの名前を選択してください"
- stop
- if arg 2 is set:
- add -1 to {warn.%arg-2%}
- broadcast "&c[Warn]%arg-2%が%player%によって警告スコアを1減らしました"
- message "&c現在の%arg-2%のスコアは%{warn.%arg-2%}%"
- stop
- stop
- if arg 1 is "add":
- if arg 2 is not set:
- message "&c[Error]プレイヤーの名前を選択してください"
- stop
- if arg 2 is set:
- add 1 to {warn.%arg-2%}
- broadcast "&c[Warn]%arg-2%が%player%に警告を受けました"
- message "&c現在の%arg-2%のスコアは%{warn.%arg-2%}%"
- stop
- if {warn.%arg-2%} is "3":
- execute console command "/ban %arg-2% 警告回数が3回になったのでBANします"
- stop
- if arg 1 is "remove":
- if arg 2 is not set:
- message "&c[Error]プレイヤーの名前を選択してください"
- stop
- if arg 2 is set:
- add -1 to {warn.%arg-2%}
- broadcast "&c[Warn]%arg-2%が%player%によって警告スコアを1減らしました"
- message "&c現在の%arg-2%のスコアは%{warn.%arg-2%}%"
- stop
- if arg 1 is "list":
- if arg 2 is not set:
- message "&c[Error]プレイヤーの名前を選択してください"
- stop
- if arg 2 is set:
- message "&c[Warn]%arg-2%のスコアは%{warn.%arg-2%}%"
- on command "/pl":
- player do not have permission "admin"
- cancel event
- on command "/plugins":
- player do not have permission "admin"
- cancel event
- on place of lava:
- player do not have permission "admin"
- cancel event
- kick player
- broadcast "&c[Alert] >>>%player%が溶岩を無許可で置いたのでkickされました"
- 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
- command /rename [<text>]:
- permission:essential.commands
- permission message: &c実行する権限を持っていません。
- trigger:
- if player is holding air:
- send "&c手にアイテムを持っていません。"
- stop
- else:
- if arg 1 is set:
- set the name of player's tool to "%colored arg 1%"
- send "&6アイテムの名前を変更しました。"
- stop
- if arg 1 is not set:
- send "&cテキストが入力されていません...。"
- stop
- command /relore [<text>]:
- permission:essential.commands
- permission message: &c実行する権限を持っていません。
- trigger:
- if player is holding air:
- send "&c手にアイテムを持っていません。"
- stop
- else:
- if arg 1 is not set:
- send "&cテキストが入力されていません...。"
- stop
- if arg 1 is set:
- set line 1 of the lore of player's tool to "%colored arg 1%"
- send "&6アイテムのLoreを変更しました。"
- stop
- command /a:
- permission: skript.admin
- trigger:
- execute console command "/menu open %player% admin"
- execute console command "/playsound minecraft:block.note.pling master @p ~ ~ ~ 1 2 1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement