I had originally intended for messages and commands to be one giant namespace, relying on plugins to use some sort of dotted notation for the ids, or something.
This now seems like a terrible idea, so instead each plugin is going to have its own store for messages and commands. In order to do this, I'm going to create a Plugin data type that has a list of messages and commands.
However, this requires internal/owned object support, since each message/command is no longer a unique entity- the are always contained in a Plugin entity.
I had originally intended for messages and commands to be one giant namespace, relying on plugins to use some sort of dotted notation for the ids, or something.
This now seems like a terrible idea, so instead each plugin is going to have its own store for messages and commands. In order to do this, I'm going to create a Plugin data type that has a list of messages and commands.
However, this requires internal/owned object support, since each message/command is no longer a unique entity- the are always contained in a Plugin entity.