diff --git a/Messages.md b/Messages.md index 35656ae..ee69bee 100644 --- a/Messages.md +++ b/Messages.md @@ -27,8 +27,8 @@ A TickType is one of the following Strings: A Tick is an Object of the following form: ``` { -"TickType" : -"TickValue" : +"tickType" : +"tickValue" : } ``` The TickValue field is only required if the "TickType" field contains the Value "Tick" @@ -47,8 +47,8 @@ will never generate UUIDs for Player. This is always the job of the Server. ##### KnownPlayer ``` { -"PlayerUUID" : -"PlayerName" : +"playerUUID" : +"playerName" : } ``` @@ -58,8 +58,8 @@ you don't know that Player you should add it. ##### UnknownPlayer ``` { -"PlayerUUID" : -"PlayerName" : +"playerUUID" : +"playerName" : } ``` Remark: `` allows you to optionally include this field with a `null` value. But @@ -97,9 +97,9 @@ This request is used to set a player to a specific Tick. If the Player is an `UnknownPlayer` it will be added. ``` { -"RequestType" : "SetPlayerTickR", -"Player" : -"Tick" : +"requestType" : "SetPlayerTickR", +"player" : +"tick" : } ``` @@ -110,8 +110,8 @@ to get a new empty one just set `"TickLeiste": []` ``` { -"RequestType" : "InitializeTickLeisteR", -"TickLeiste" : +"requestType" : "InitializeTickLeisteR", +"tickLeiste" : } ``` @@ -119,7 +119,7 @@ to get a new empty one just set `"TickLeiste": []` Request the current TickLeiste ``` { -"RequestType" : "TickLeisteR", +"requestType" : "TickLeisteR", } ``` This is used to get the current TickLeiste from server. The server on its own will only @@ -130,8 +130,8 @@ send incremental updates. This is used to change the name of a Player without moving them. ``` { -"RequestType" : "ChangeNameR", -"Player" : +"requestType" : "ChangeNameR", +"player" : } ``` If you don't set the name in KnownPlayer no name change will occur. @@ -142,16 +142,16 @@ A Server might Send the following Events to a client. ### SetPlayerTickE ``` { -"EventType" : "SetPlayerTickE", -"Player" : -"Tick" : +"eventType" : "SetPlayerTickE", +"player" : +"tick" : } ``` ### InitializeTickLeisteE ``` { -"EventType" : "InitializeTickLeisteE", -"TickLeiste" : +"eventType" : "InitializeTickLeisteE", +"tickLeiste" : } ```