aboutsummaryrefslogtreecommitdiff
path: root/protocol.md
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-12-23 20:01:25 +0100
committermetamuffin <metamuffin@disroot.org>2024-12-23 20:01:25 +0100
commitb64e360b26fcea45faaf4caf8d65db204efdd450 (patch)
treebcf98fca1d6ab2b3bce0cf625fefe8972e0d34ef /protocol.md
parent7538be2ee2005ae0073c4f821a4e9c2696608a9a (diff)
downloadhurrycurry-b64e360b26fcea45faaf4caf8d65db204efdd450.tar
hurrycurry-b64e360b26fcea45faaf4caf8d65db204efdd450.tar.bz2
hurrycurry-b64e360b26fcea45faaf4caf8d65db204efdd450.tar.zst
username length limit
Diffstat (limited to 'protocol.md')
-rw-r--r--protocol.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/protocol.md b/protocol.md
index 9562ab6f..35a13076 100644
--- a/protocol.md
+++ b/protocol.md
@@ -75,3 +75,12 @@ latency. For this reason it implemented three times:
- In Rust (for server, pixelcurry and customers):
[movement.rs](./server/protocol/src/movement.rs)
- In TypeScript (for test-client): [movement.ts](./test-client/movement.ts)
+
+## Limits
+
+The server currently enforces the following network limits:
+
+- Server inbound json packets are at most 8196 bytes in size
+- Server inbound binary packets are at most 4096 bytes in size
+- Player names are no longer than 32 characters
+- Player names are no longer than 64 bytes