Centaur Definitions
This section defines how the server handles advice for players.
A centaur message
inherit the same notation format as a Message
object, but with an additional key type
indicating the centaur type. it can be "has_suggestions", "suggested_move_full", "suggested_move_partial", or "suggested_message". The sender
must be omniscient_type
and the recipient
must be GLOBAL
. time_sent
is generated by the server.
Has Suggestions
This message is to indicate whether a player has been assigned an advisor for the current turn. The interface uses this information to determine whether to display the panels for advisors. 0: no advisors, 1: messages only, 2: moves only, 3: messages and moves
{
"sender": "omniscient_type",
"recipient": "GLOBAL",
"time_sent": 1719243371332694,
"phase": "S1901M",
"message": "AUSTRIA: 3",
"type": "has_suggestions"
}
Suggested Move Full
This is used for suggesting moves when a player has not entered any moves. the message
value must be in the format of ${advice_for}:${advice_1}, ${advice_2}
, separated by commas, e.g.,
{
"sender": "omniscient_type",
"recipient": "GLOBAL",
"time_sent": 1719243371332694,
"phase": "S1901M",
"message": "AUSTRIA: A VIE - BOH, F TRI - ADR, A BUD - TRI",
"type": "suggested_move_full"
}
Suggested Move Partial
This is used for suggesting moves when a player has entered some (but not all) moves. the message
value must be in the format of ${advice_for}:${player_entered_moves}:${advice_1}, {advice_2}
, separated by commas e.g.,
{
"sender": "omniscient_type",
"recipient": "GLOBAL",
"time_sent": 1719243371332698,
"phase": "S1901M",
"message": "AUSTRIA: A VIE - BOH : F TRI - ADR, A BUD - TRI",
"type": "suggested_move_partial"
},
Suggested Message
This is used for suggesting message. the message
value must be in the format of from_power-${to_power}:${suggested_message}
, e.g.,
{
"sender": "omniscient_type",
"recipient": "GLOBAL",
"time_sent": 1719243371332794,
"phase": "S1901M",
"message": "AUSTRIA-TURKEY: pepeLaugh",
"type": "suggested_message"
}
Last updated