Cuberite Forum
HOOK_PLUGIN_MESSAGE - 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: HOOK_PLUGIN_MESSAGE (/thread-2028.html)



HOOK_PLUGIN_MESSAGE - SamJBarney - 06-30-2015

Does anyone have an example of HOOK_PLUGIN_MESSAGE working? I'm working on a bot, and I would love to be able to store bot information server-side using this hook.


RE: HOOK_PLUGIN_MESSAGE - SamJBarney - 06-30-2015

Never mind. I was able to figure out how to do it. I didn't realize that I needed to send a REGISTER plugin message first.