ObsidianBox / Obsidian

Obsidian is the implementation of Magma that extends Forge to deliver server-side content on demand.
http://obsidianbox.org
MIT License
12 stars 3 forks source link

Attempt to cleanup addons on server leave (onDisable()) #11

Open Zidane opened 10 years ago

Zidane commented 10 years ago

We need to create an AddonJanitor object that will remove all blocks/items/languages/screens/keybinds/etc (anything that an addon could register) whenever a player leaves a server.

We also need to fire onDisable and remove addons from the manager.

This is only for the client. Addons on the server should never be able to be removed during runtime.