Cuberite Forum

Full Version: Documentation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When can we expect more API documentation, and hooks/callbacks?
Don't know. What hooks/callback do you need, and what specific documentation do you need?
It would be nice to know what's available to begin with, and then I was thinking of something along the lines of weather hooks.
Here's what has been documented already http://mc-server.org/wiki/doku.php?id=api
And here's a list of hooks with their function http://mc-server.org/wiki/doku.php?id=api:plugin:hooks

When you speak about weather hooks, would you like to change weather or have a function in your plugin called when the weather changes?
I had an idea about the hooks. Maybe create some hooks to view, modify, and create movement, block, and chat related packets.
You can already view and edit block related packets and only view chat related packets.
A hook function is called when a player moves, however without passing the received packet
Works for me.