Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /rank [<text>] [<offline player>] [<text>]:
- permission: skript.admin
- permission message: &cThis command can be used by people with admin or higher privileges.
- trigger:
- if arg 1 is not set:
- send "&e-----------------------------"
- send "&b/rank set <player> <rank> &7指定した相手にランクを渡します。"
- send "&b/rank reset <player> &7指定した相手のランクをリセットします。"
- send "&e-----------------------------"
- if arg 1 is "set":
- if arg 2 is set:
- if arg 3 is "owner":
- set {rank.%arg 2%} to "&c[OWNER]"
- send "%arg 2% &7set &cOWNER"
- if arg 3 is "admin":
- set {rank.%arg 2%} to "&c[ADMIN]"
- send "%arg 2% &7set &cADMIN"
- if arg 3 is "builder":
- set {rank.%arg 2%} to "&3[BUILDER]"
- send "%arg 2% &7set &3BUILDER"
- if arg 3 is "mvp":
- set {rank.%arg 2%} to "&b[MVP]"
- send "%arg 2% &7set &bMVP"
- if arg 3 is "default":
- set {rank.%arg 2%} to "&7"
- send "%arg 2% &7set DEFAULT"
- else:
- send "&cUsage: /rank <player> <rank>"
- if arg 1 is "reset":
- if arg 2 is set:
- set {rank.%arg 2%} to "&7"
- send "&aランクをリセットしました &7DEFAULT &aランクになりました。"
- else:
- send "&cUsage: /rank reset <player> &7指定したプレイヤーのランクをデフォルトに戻します。"
- on chat:
- cancel event
- broadcast "%{rank.%player%}% %player%: &f%message%"
- on join:
- set join message to "&c>&9>&e>&a> &a%player% &6さんがログインしました! &a<&e<&9<&c<"
- set player's gamemode to adventure
- execute console command "/playsound entity.experience_orb.pickup master @a ~ ~ ~ 1 1 1"
- on quit:
- set quit message to "&e%player% さんがログアウトしました!"
- execute console command "/playsound entity.villager.death master @a ~ ~ ~ 1 1 1"
- options:
- #The command that will be used to execute the kabooom
- launchallcommand: kaboom
- #The command that will be executed to launch a single player
- launchsinglecommand: launch
- #The permission needed to launch all players
- launchallpermission: skript.admin
- #The permission needed to launch a single player
- launchsinglepermission: skript.admin
- #The speed that all the players will be pushed up at
- speed: 5
- #The amount of time that fall damage will be disabled
- time: 8
- command /{@launchallcommand}:
- permission: {@launchallpermission}
- permission message: &cThis command can be used by people with admin or higher privileges
- trigger:
- loop all players in world:
- strike lightning effect at loop-player
- strike lightning effect at loop-player
- strike lightning effect at loop-player
- push loop-player up at speed {@speed}
- command /{@launchsinglecommand} <player>:
- permission: {@launchsinglepermission}
- permission message: &cThis command can be used by people with admin or higher privileges
- trigger:
- strike lightning effect at arg-1
- strike lightning effect at arg-1
- strike lightning effect at arg-1
- push arg-1 up at speed {@speed}
- every second:
- loop all players:
- {nodamage.launch.%loop-player%} is set
- set {nodamage.launch.%loop-player%} to {nodamage.launch.%loop-player%} - 1
- if {nodamage.launch.%loop-player%} is less than 1:
- delete {nodamage.launch.%loop-player%}
- on quit:
- {nodamage.launch.%player%} is set
- delete {nodamage.launch.%player%}
- on damage:
- {nodamage.launch.%victim%} is set
- cancel event
- command /lb <player>:
- permission: skript.admin
- permission message: &cThis command can be used by people with admin or higher privileges
- trigger:
- strike lightning effect at arg-1
- strike lightning effect at arg-1
- strike lightning effect at arg-1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement