Cuberite Forum
Proposed Message Standardisation - 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: Proposed Message Standardisation (/thread-1212.html)

Pages: 1 2 3 4


RE: Proposed Message Standardisation - tigerw - 02-07-2014

Okay, I'll see what can be done. If you want me to add a MessageType parameter to SendMessage & BroadcastChat, can I just remove SendMessageXXX etc.? It seems a little pointless having two. It will also make documentation easier to update.


RE: Proposed Message Standardisation - bearbin - 02-07-2014

We must have SendMessageXXX, they are the important bit!


RE: Proposed Message Standardisation - xoft - 02-07-2014

The SendMessageXXX is the API that the plugins will use; SendMessage() might be marked as obsolete and might be removed later on. If we don't find plugins that need it.


RE: Proposed Message Standardisation - NiLSPACE - 02-07-2014

Nooo don't remove SendMessage. It would break almost every plugin.


RE: Proposed Message Standardisation - xoft - 02-07-2014

The plugins will have to move to the new API, sooner or later.


RE: Proposed Message Standardisation - tonibm19 - 02-07-2014

Nooo please D:
Keep it in API. Remove any documentation for it maybe, but keep in API, there is no need on removing it.


RE: Proposed Message Standardisation - xoft - 02-07-2014

Why are you so intent on keeping it?


RE: Proposed Message Standardisation - tonibm19 - 02-07-2014

Because I don't want to update plugins xDD


RE: Proposed Message Standardisation - NiLSPACE - 02-07-2014

And I don't want every message to have some kind of prefix before it.


RE: Proposed Message Standardisation - tonibm19 - 02-07-2014

I didn't know that :O