About
位置 (-1920,9,-192)
呼び出し元 毎tick実行するコマンド群2
分岐先 難易度調整
通常ログイン時のMPや職業などの処理を行う。
コマンド群
No. | コマンド | 状態 |
---|---|---|
1 | /difficulty hard | |
2 | /scoreboard players tag @a[score_LeaveGame_min=1,tag=Resolved,score_Job=2147483647] remove Resolved | |
3 | /execute @a[score_LeaveGame_min=1,tag=Resolved,c=1] ~ ~ ~ /tellraw @a [{“text”:”[INFO]\n プレイヤー名の変更を検知しました。ステータスが引き継がれていません。\n以下のページを参考にワールドデータのスコアボードファイルを修正してください。\n”},{“text”:”http://ch.nicovideo.jp/akaishi_ai/blomaga/ar970627\n”,”clickEvent”:{“action”:”open_url”,”value”:”http://ch.nicovideo.jp/akaishi_ai/blomaga/ar970627”}},{“translate”:”修正が必要なプレイヤー : “,”with”:[{“selector”:”@a[score_LeaveGame_min=1,tag=Resolved]”}]}] | |
4 | /scoreboard players reset @a[score_LeaveGame_min=1,tag=Resolved] LeaveGame | 条件付き |
5 | /scoreboard players tag @a[score_LeaveGame_min=1] add Resolved | |
6 | /scoreboard players add @a[score_LeaveGame_min=1] MP 0 | |
7 | /scoreboard players set @a[score_LeaveGame_min=1,score_MP=0,score_MPMaxFlag_min=1] MPMaxFlag 0 | |
8 | /scoreboard players reset @a[score_LeaveGame_min=1,score_MP=0] CoolTickCounter | 条件付き |
9 | /scoreboard players tag @a[score_LeaveGame_min=1] add ShowVote | |
10 | /scoreboard players set @a[score_LeaveGame_min=1,score_Job_min=1] ShowSkillSlot 4 | |
11 | /scoreboard players tag @a[score_LeaveGame_min=1] add Pray | |
12 | /scoreboard players reset @a[score_LeaveGame_min=1] LeaveGame | |
13 | /clone -1920 17 -200 -1920 17 -200 -1920 17 -200 filtered force minecraft:command_block 5 ###難易度調整 |
詳細
- 難易度をhardに設定
LeaveGame
が1以上,Job
が2147483647以下かつResolved
であるプレイヤーのResolved
を削除LeaveGame
が1以上かつResolved
であるプレイヤーにプレイヤー名変更時の通知を出し、LeaveGame
を0に設定LeaveGame
が1以上であるプレイヤーにResolved
を付与LeaveGame
が1以上であるプレイヤーのMP
を0に設定LeaveGame
が1以上,MP
が0以下,MPMaxFlag
が1以上であるプレイヤーのMPMaxFlag
を0に設定LeaveGame
が1以上,MP
が0以下であるプレイヤーのCoolTickCounter
を0に設定LeaveGame
が1以上であるプレイヤーにShowVote
を付与LeaveGame
が1以上,Job
が1以上であるプレイヤーのShowSkillSlot
を4に設定LeaveGame
が1以上であるプレイヤーにPray
を付与LeaveGame
が1以上であるプレイヤーのLeaveGame
を0に設定- (-1920,17,-200)にある難易度調整を実行