Documentation
#1
When can we expect more API documentation, and hooks/callbacks?
Reply
Thanks given by:
#2
Don't know. What hooks/callback do you need, and what specific documentation do you need?
Reply
Thanks given by:
#3
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.
Reply
Thanks given by:
#4
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?
Reply
Thanks given by:
#5
I had an idea about the hooks. Maybe create some hooks to view, modify, and create movement, block, and chat related packets.
Reply
Thanks given by:
#6
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
Reply
Thanks given by:
#7
Works for me.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)