Documentation - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Plugins (https://forum.cuberite.org/forum-1.html) +--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html) +--- Thread: Documentation (/thread-305.html) |
Documentation - The Walking Glitch - 01-22-2012 When can we expect more API documentation, and hooks/callbacks? RE: Documentation - FakeTruth - 01-23-2012 Don't know. What hooks/callback do you need, and what specific documentation do you need? RE: Documentation - The Walking Glitch - 01-23-2012 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. RE: Documentation - FakeTruth - 01-23-2012 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? RE: Documentation - The Walking Glitch - 02-01-2012 I had an idea about the hooks. Maybe create some hooks to view, modify, and create movement, block, and chat related packets. RE: Documentation - FakeTruth - 02-01-2012 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 RE: Documentation - The Walking Glitch - 02-01-2012 Works for me. |