NathanWolf / BukkitPlugins

My plugins for the Bukkit Minecraft server
mine.elmakers.com
14 stars 7 forks source link

Make commands and messages per-plugin #25

Closed NathanWolf closed 13 years ago

NathanWolf commented 13 years ago

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.

NathanWolf commented 13 years ago

This is done, currently testing and transitioning Persistence core to use it.

NathanWolf commented 13 years ago

This is done, and used internally by Persistence as well as is now used by NetherGate.