View difference between Paste ID: k45FhLdw and aTSa1irJ
SHOW: | | - or go back to the newest paste.
1
options:
2
# Change the send if you want.
3
# You can use these variables: %player%, %player's level%, %player's display name%, and etc.
4
# メッセージを変更できます。
5
# これらの変数を使えます: %player%, %player's level%, %player's display name% 等。
6
    spawn: 
7
8
#true -> Teleport to spawn point when joining the server.
9
#false -> Do not teleport when joining the server.
10
#true -> サーバー参加したときに、スポーン地点にテレポートする。
11
#false -> サーバーに参加したときに、テレポートしない。
12
    joining: false
13
14
command /setspawn:
15-
# Don't change below! (but you can delete Japanese message)
15+
16-
# これより下は変えないでね! (ただし、英語のメッセージは消しても構いません)
16+
17
    description: Set spawn at your location. スポーン地点をあなたの場所にセットします。
18-
on join:
18+
19-
    if {@joining} is "true":
19+
20-
        teleport player to {serverspawn}
20+
21
        set {serverspawn} to location of player
22
23
command /spawn [<player>]:
24
    permission: spawn.spawn
25
    description: Teleport you to spawn. スポーンにテレポートします。
26
    trigger:
27
        if {spawn} isn't set:
28
                teleport player to {spawn}