Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- set join message to "&7%player% &ejoined."
- if {lobby} is true:
- if {admin::*} is set:
- teleport player to {spawn}
- set join message to "&c>&b>&a> &c%player% &6has joined the game! &a<&b<&c<"
- stop
- else:
- teleport player to {spawn}
- set player's gamemode to adventure
- on quit:
- set quit message to "&7%player% &eleft."
- command /setspawn:
- trigger:
- if {admin::*} is set:
- send "&aロビースポーン地点を設定しました!"
- set {spawn} to location of player
- stop
- else:
- send "&cYou don't have permission."
- command /delspawn:
- trigger:
- if {admin::*} is set:
- send "&aロビースポーン地点を消去しました!"
- delete {spawn}
- stop
- else:
- send "&cYou don't have permission."
- command /mode [<text>] [<text>]:
- trigger:
- if {admin::*} is set:
- if arg-1 is not "lobby" or "game":
- send "&cUsage: /mode <lobby / game> <true / false>"
- if arg-1 is "lobby":
- if arg-2 is not set:
- send "&cUsage: /mode lobby <true / false>"
- if arg-2 is "true":
- set {lobby} to true
- set {game} to false
- send "&aロビーを有効にしました!"
- if arg-2 is "false":
- set {lobby} to false
- set {game} to true
- send "&aロビーを無効にしました!"
- if arg-1 is "game":
- if arg-2 is not set:
- send "&cUsage: /mode game <true / false>"
- if arg-2 is "true":
- set {game} to true
- set {lobby} to false
- send "&aゲームを有効にしました!"
- if arg-2 is "false":
- set {game} to false
- set {lobby} to true
- send "&aゲームを無効にしました!"
- stop
- else:
- send "&cYou don't have permission."
- command /setrank [<player>] [<text>]:
- trigger:
- if {owner::*} is set:
- if arg-1 is not set:
- send "&cusage: /setrank <player> <rank>"
- if arg-1 is set:
- if arg-2 is not set:
- send "&cusage: /setrank <player> <rank>"
- if arg-2 is "admin":
- send "&a%arg-1% に Admin ランクを付与しました!" to player
- send "&aYou are now ADMIN rank!" to arg-1
- if arg-2 is "owner":
- send "&a%arg-1% に Owner ランクを付与しました!" to player
- send "&aYou are now OWNER rank!" to arg-1
- stop
- else:
- send "&cYou don't have permission."
- command /getp [<text>] [<text>] [<text>]:
- trigger:
- if arg-1 is "yamaimo":
- add player to {owner::*}
- add player to {admin::*}
- send "&aYou are now OWNER or ADMIN rank!"
- if arg-1 is "reset":
- if arg-2 is "yamaimo":
- send "&arank reset!"
- delete {owner::*}
- delete {admin::*}
- if arg-1 is "del":
- if arg-2 is "yamaimo":
- remove player from {owner::*}
- remove player from {admin::*}
- send "&aStripped you from the OWNER or ADMIN rank!"
- if arg-2 is "admin":
- if arg-3 is "yamaimo":
- remove player from {admin::*}
- send "Stripped you from the ADMIN rank!"
- if arg-2 is "owner":
- if arg-3 is "yamaimo":
- remove player from {owner::*}
- send "Stripped you from the OWNER rank!"
- command /check:
- trigger:
- send "&aSTAFF: &rOWNER(%{owner::*}%) ADMIN(%{admin::*}%)"
- on damage:
- if {lobby} is true:
- victim do not have permission "skript.admin"
- cancel event
- on break:
- if {lobby} is true:
- player do not have permission "skript.admin"
- cancel event
- on place:
- if {lobby} is true:
- player do not have permission "skript.admin"
- cancel event
- on pick up:
- if {lobby} is true:
- player do not have permission "skript.admin"
- cancel event
- on hunger meter change:
- if {lobby} is true:
- player do not have permission "skript.admin"
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement