Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- set {%player%.between} to "%difference between now and {%player%.lastquit}%"
- replace all "seconds" and "second" with "秒" in {%player%.between}
- replace all "minutes" and "minute" with "分" in {%player%.between}
- replace all "hours" and "hour" with "時間" in {%player%.between}
- replace all "days" and "day" with "日" in {%player%.between}
- replace all "and" with "" in {%player%.between}
- replace all " " with "" in {%player%.between}
- message "あなたは&b%{%player%.between}%&fオフラインでした!"
- message "&6Welcome to &eFreeBuildServer &7%player%"
- message "&asending world to &f%player's world%"
- teleport player to {Spawn}
- wait 1 second
- play sound "block.note.bass" at player
- on quit:
- set {%player%.lastquit} to now
- on command "/stop":
- loop all players:
- set {%loop-player%.lastquit} to now
- command /setspawn:
- trigger:
- if player does not have permission "set.spawn":
- send "&4[ERROR] &8| &cYou cannot set spawn!"
- stop
- if player has permission "set.spawn":
- send title "&a&lSpawn has successfully been set" with subtitle "&a&lTo your current location"
- set {Spawn} to player's location
- stop
- command /spawn:
- trigger:
- send title "&a&lTping to spawn in" with subtitle "&a&l3"
- wait 1 second
- send title "&a&lTping to spawn in" with subtitle "&a&l2"
- wait 1 second
- send title "&a&lTping to spawn in" with subtitle "&a&l1"
- wait 1 second
- send "&6[Spawn] &7Teleport the Spawn"
- teleport player to {Spawn}
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement