Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Real 制御システム
- #Real (リアル) を荒らし等に使わせてしまいますと、サーバーを止める可能性もありますので、信用できる人のみに、パーミッションを与えてください by NAO
- #また、いろいろなプラグインを簡易化コマンドを追加します。
- #シンプルを目指したので、英語表記です。(一部日本語)
- options:
- r: &6{&aReal&6]
- command /r [<text>] [<text>] [<player>] [<text>] [<player>]:
- permission: real.admin
- usage: &c/r <system> <player> <text> <text>
- trigger:
- if arg 1 is not set:
- message "&b&l===================&c&lREAL&b&l==================="
- wait 5 tick
- message "&c&lReal&b&l使用法"
- wait 5 tick
- message "&c&linformation編"
- wait 5 tick
- message "/r i ping <player> &c&l- &b&lShow ping"
- wait 5 tick
- message "/r i online &c&l- &b&lOnline number display"
- wait 5 tick
- message "/r i uuid <player> &c&l- &b&lDisplay player's UUID"
- wait 5 tick
- message "/r i ip <player> &c&l- &b&lDisplay player's IP"
- wait 5 tick
- message "&c&lServersyastem編"
- wait 5 tick
- message "/r s stop &c&l- &b&lStop the server"
- wait 5 tick
- message "&c&lPlayer編"
- wait 5 tick
- message "/r p tab <player> <text> &c&l- &b&lChange tab"
- # infomation編↓
- if arg 1 is "i":
- if arg 2 is "ping":
- if arg 3 is not set:
- message "{@r} &cYour ping is &a%player's ping%"
- else:
- message "{@r} &cYour ping is &a%arg-3's ping%"
- if arg 2 is "online":
- message "&aonline member : &c%number of all players%"
- if arg 2 is "uuid":
- if arg 3 is not set:
- message "&aYour uuid : &c%player's uuid%"
- else:
- message "&a%arg 3% uuid : &c%arg-3's uuid%"
- if arg 2 is "ip":
- if arg 3 is not set:
- message "&aYour ip : &c%ip of player%"
- else:
- message "&a%arg 3% ip : &c%ip of arg-3%"
- # serversystem編↓
- if arg 1 is "s":
- if arg 2 is "stop":
- broadcast "&c10秒後に、サーバーをシャットダウンします"
- wait 5 second
- broadcast "&c5秒前"
- wait 1 second
- broadcast "&c4秒前"
- wait 1 second
- broadcast "&c3秒前"
- wait 1 second
- message "&c2秒前"
- wait 1 second
- message "&c1秒前"
- wait 1 second
- message "&cサーバーをシャットダウンします"
- wait 20 tick
- command "/stop"
- if arg 2 is "reload":
- broadcast "&c10秒後に、サーバーをリロードします"
- wait 5 second
- broadcast "&c5秒前"
- wait 1 second
- broadcast "&c4秒前"
- wait 1 second
- broadcast "&c3秒前"
- wait 1 second
- broadcast "&c2秒前"
- wait 1 second
- broadcast "&c1秒前"
- wait 1 second
- broadcast "&cサーバーをリロードします"
- wait 20 tick
- command "/reload"
- # Player編↓
- if arg 1 is "p":
- if arg 2 is "tab":
- if arg 3 is not set:
- message "&cIncorrect in player name (It is also displayed at tab reset)"
- if arg 4 is not set:
- message "&cIncorrect after change"
- else:
- set player's tablist name to "%arg 4%"
- message "&c%arg 3%'s tab change <%arg 4%>"
- if arg 2 is "tabreset":
- if arg 3 is not set:
- message "&cYour tab reset!"
- set player's tablist name to "%player%"
- else:
- set player's tablist name to "%arg 3%"
- message "&c%arg 2%'s tab reset"
- if arg 2 is "adminchat":
- message "&cAdminChat Join"
- if arg 4 is "join":
- set {admin.chat} to 1
- message "&cYour Adminchat Join!"
- if arg 4 is "exit":
- set {admin.chat} to 0
- message "&cYour Adminchat Exit!"
- on chat:
- if {admin.chat} is 1:
- loop all players:
- loop-player is op:
- cancel event
- broadcast "<&cAdminchat&r> <%player%> %coloured message%" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement