Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage of player:
- attacker is player
- if {c.%attacker%} is "&6orange" or "&cred":
- if {c.%victim%} is "&6orange" or "&cred":
- execute console command "/nte player %attacker% prefix &6"
- execute console command "/pex user %attacker% prefix &6"
- broadcast "&7[&6CursorSystem&7]&e%attacker%さんのカーソルが&6オレンジ&eになりました。"
- set {c.%attacker%} to "&6orange"
- on death of player:
- attacker is player
- if {c.%attacker%} is "&cred":
- if {c.%victim%} is "&cred":
- execute console command "/nte player %attacker% prefix &c"
- execute console command "/pex user %attacker% prefix &c"
- broadcast "&7[&6CursorSystem&7]&e%attacker%さんのカーソルが&cレッドeになりました。"
- set {c.%attacker%} to "&cred"
- command /cursor <offline player> [<text>]:
- permission: cursorset
- trigger:
- if arg 1 is not set:
- send "&7[&6CursorSystem&7]&c使用法:/cursor <プレイヤー> [green|orange|red]"
- stop
- if arg 2 is not set:
- send "&7[&6CursorSystem&7]&b%arg 1%さんのカーソル:%{c.%arg 1%}%"
- stop
- if arg 2 is "green" or "orange" or "red":
- if arg 2 is "green":
- execute console command "/nte player %arg 1% prefix &a"
- execute console command "/pex user %arg 1% prefix &a"
- broadcast "&7[&6CursorSystem&7]&e%arg 1%さんのカーソルが&aグリーン&eになりました。"
- set {c.%arg 1%} to "&agreen"
- stop
- if arg 2 is "orange":
- execute console command "/nte player %arg 1% prefix &6"
- execute console command "/pex user %arg 1% prefix &6"
- broadcast "&7[&6CursorSystem&7]&e%arg 1%さんのカーソルが&6オレンジ&eになりました。"
- set {c.%arg 1%} to "&6orange"
- stop
- if arg 2 is "red":
- execute console command "/nte player %arg 1% prefix &c"
- execute console command "/pex user %arg 1% prefix &c"
- broadcast "&7[&6CursorSystem&7]&e%arg 1%さんのカーソルが&cレッド&eになりました。"
- set {c.%arg 1%} to "&cred"
- stop
- send "&7[&6CursorSystem&7]&c使用法:/cursor <プレイヤー> [green|orange|red]"
- on join:
- add 1 to {l.%player%}
- if {l.%player%} is 1:
- broadcast "&7[&6CursorSystem&7]&a%player%さんが初ログインしました!"
- send "&7[&6CursorSystem&7]&dようこそ。このサーバーでは「カーソル」という概念が存在します。"
- send "&7[&6CursorSystem&7]&dカーソルは「&aグリーン&d」「&6オレンジ&d」「&cレッド&d」の3種類が存在します。"
- send "&7[&6CursorSystem&7]&d通常のプレイヤーは&aグリーン&dです。"
- send "&7[&6CursorSystem&7]&dしかし、プレイヤーに危害を加えると&6オレンジ&dになります。"
- send "&7[&6CursorSystem&7]&dまた、プレイヤーを殺すと&cレッド&dになります。"
- send "&7[&6CursorSystem&7]&dしかし、オレンジカーソルのプレイヤーを攻撃してもオレンジにはなりません。"
- send "&7[&6CursorSystem&7]&d同様に、レッドカーソルのプレイヤーを殺害してもレッドにはならず、オレンジにもなりません。"
- send "&7[&6CursorSystem&7]&dただし、オレンジカーソルのプレイヤーを殺害するとレッドになるので、注意してください。"
- send "&7[&6CursorSystem&7]&d以上で説明は終了です。では、楽しく遊んで下さい。"
- execute console command "/cursor %player% green"
- stop
- broadcast "&7[&6CursorSystem&7]&a%player%さんがログインしました!"
- broadcast "&7[&6CursorSystem&7]&a%player%さんのログイン回数:%{l.%player%}%
- broadcast "&7[&6CursorSystem&7]&a%player%さんのカーソルは%{c.%player%}%&aです。
Advertisement
Add Comment
Please, Sign In to add comment