Talk:Plugin API

From Mineserver Wiki
Jump to navigationJump to search

A few Questions

  • There's no sendBlock() in the plugin_api.h file? Nathacof

It's done automatically on setBlock() --Fador 00:14, 8 January 2011 (EET)

  • Why is dtos() defined in command.cpp but referenced in the example plugin? Nathacof

Now it's in the example --Fador 00:14, 8 January 2011 (EET)

  • How do I get a callback function to accept a User object if I do not include the class files in my plugin? Nathacof

Users are referenced by the name (char *), no objects are used --Fador 00:14, 8 January 2011 (EET)

ToDo

When work on mob functions is finished, should be documentated here. Delirium 23:55, 26 February 2011 (EET)