Commit Graph

2 Commits

Author SHA1 Message Date
Epix
93510eecd5 Grammar fixes, terminology change (#633)
* Major grammar sweep

* Remove extra backtick

* Use more specific terminology for chunk data storage

* Forgor to cargofmt

* Fix typo "thier"

* Fix typo "clousures"

* Try new terminology

* Forgor to cargofmt

* Use "Subchunks" instead of "Heterogeneous" for ChunkBlocks variant

* Fix variable name

* Forgor to change comment
2025-03-16 10:40:17 +01:00
vyPal
f0bdfc943e Add more events to the Plugin API (#552)
* Add PlayerChangeWorld event

* Fix docs

* Add PlayerGamemodeChange event

* Add PlayerLogin event

* Fix clippy

* Fix docs

* Add PlayerChat event

* Fix some event impls

* Post-merge issues

* Add PlayerCommandSend event

* Fix PlayerCommandSend event

* Fix PlayerLogin event docs

* Add PlayerMove event

* Implement PlayerCommandSend event

* Implement player position sync when move event cancelled

* Add PlayerMove event to handle_position_rotation

* Fix docs

* Implement PlayerTeleport event

* Add ServerBroadcast event

* Fix some event impls

* Add ServerPluginEnable event

* Add ServerPluginDisable event

* Implement plugin enable/disable events

* Add ServerComand event

* Fix clippy

* Add teleport method to player

* Fix player teleport event impl

* Fix imports

* remove not needed clones

* Fix clippy

* Fix formatting

* Respect server.defaultgamemode

---------

Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
2025-03-12 08:14:40 +01:00