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 ###難易度調整  

詳細

  1. 難易度をhardに設定
  2. LeaveGameが1以上,Jobが2147483647以下かつResolvedであるプレイヤーのResolvedを削除
  3. LeaveGameが1以上かつResolvedであるプレイヤーにプレイヤー名変更時の通知を出し、LeaveGameを0に設定
  4. LeaveGameが1以上であるプレイヤーにResolvedを付与
  5. LeaveGameが1以上であるプレイヤーのMPを0に設定
  6. LeaveGameが1以上,MPが0以下,MPMaxFlagが1以上であるプレイヤーのMPMaxFlagを0に設定
  7. LeaveGameが1以上,MPが0以下であるプレイヤーのCoolTickCounterを0に設定
  8. LeaveGameが1以上であるプレイヤーにShowVoteを付与
  9. LeaveGameが1以上,Jobが1以上であるプレイヤーのShowSkillSlotを4に設定
  10. LeaveGameが1以上であるプレイヤーにPrayを付与
  11. LeaveGameが1以上であるプレイヤーのLeaveGameを0に設定
  12. (-1920,17,-200)にある難易度調整を実行