Proper nicknames!

This commit is contained in:
IQuant 2024-05-27 19:53:29 +03:00
parent 9274de8510
commit 7a5f5f472f
11 changed files with 106 additions and 21 deletions

8
docs/hooks.md Normal file
View file

@ -0,0 +1,8 @@
# List of available hooks:
- `ctx.hook.on_world_update()`
- `ctx.hook.on_world_update_client()`
- `ctx.hook.on_world_update_host()`
- `ctx.hook.on_local_player_spawn(my_player)`
- `ctx.hook.on_client_spawned(peer_id, new_playerdata)`
- `ctx.hook.on_should_send_updates()` - called either when we connect, or somebody else connects (and sends "welcome" message)