Talk:Plugin API

From Mineserver Wiki

Revision as of 22:14, 7 January 2011 by Fador (Talk | contribs)
Jump to: navigation, 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)