aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md32
1 files changed, 31 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3a6f81e..fb63f37 100644
--- a/README.md
+++ b/README.md
@@ -412,7 +412,13 @@ Response:
"type": "join",
"player": {
"name": "",
- "uuid": ""
+ "uuid": "",
+ "pos": {
+ "x": 0.0,
+ "y": 0.0,
+ "z": 0.0
+ },
+ "world": "end"
}
}
```
@@ -422,6 +428,12 @@ Parameters:
* `.player` (entity, see below, always present): The player.
* `.name` (string, any valid Minecraft username, always present): Username.
* `.uuid` (uuid, UUID, always present): UUID.
+ * `.pos` (vec3d, see below, always present): The position he or she joins.
+ * `.x` (double, any within border limit, 0.0): X
+ * `.y` (double, any within border limit, 0.0): Y
+ * `.z` (double, any within border limit, 0.0): Z
+ * `.world` (enum, overworld / nether / end, not present if Acron cannot determine the world): The dimension
+he or she joins.
#### Player Disconnected
@@ -443,6 +455,12 @@ Parameters:
* `.player` (entity, see below, null only when the server cannot verify the user): The player.
* `.name` (string, any valid Minecraft username, always present): Username.
* `.uuid` (uuid, UUID, always present): UUID.
+ * `.pos` (vec3d, see below, always present): The position he or she leaves.
+ * `.x` (double, any within border limit, 0.0): X
+ * `.y` (double, any within border limit, 0.0): Y
+ * `.z` (double, any within border limit, 0.0): Z
+ * `.world` (enum, overworld / nether / end, not present if Acron cannot determine the world): The dimension
+ he or she leaves.
* `.reason` (string, any valid disconnect reason, always present): Disconnect reason.
#### Player Message
@@ -465,6 +483,12 @@ Parameters:
* `.player` (entity, see below, always present): The player.
* `.name` (string, any valid Minecraft username, always present): Username.
* `.uuid` (uuid, UUID, always present): UUID.
+ * `.pos` (vec3d, see below, always present): The position he or she sends the message.
+ * `.x` (double, any within border limit, 0.0): X
+ * `.y` (double, any within border limit, 0.0): Y
+ * `.z` (double, any within border limit, 0.0): Z
+ * `.world` (enum, overworld / nether / end, not present if Acron cannot determine the world): The dimension
+he or she sends the message.
* `.text` (string, any valid Minecraft message, always present): The message.
#### Entity Death
@@ -487,6 +511,12 @@ Parameters:
* `.entity` (entity, see below, always present): The entity.
* `.name` (string, any, always present): Default name or custom name of the entity.
* `.uuid` (uuid, UUID, always present): UUID.
+ * `.pos` (vec3d, see below, always present): The position of the entity when died.
+ * `.x` (double, any within border limit, 0.0): X
+ * `.y` (double, any within border limit, 0.0): Y
+ * `.z` (double, any within border limit, 0.0): Z
+ * `.world` (enum, overworld / nether / end, not present if Acron cannot determine the world): The dimension
+of the entity when died.
* `.text` (string, any valid death message, always present): The user-readable death message.
> **Roadmap**