seisatsu / DennisMUD

Dennis MUD - A multiplayer text adventure sandbox engine where the players build the world with in-game commands.
https://dennismud.xyz/
MIT License
47 stars 6 forks source link

Major Feature: Packages (Modding Support) #88

Open seisatsu opened 3 years ago

seisatsu commented 3 years ago

Add a package system that allows commands and libraries to be bundled in a zip file and installed in a packages folder. These will be able to add or override existing commands and engine libraries. The engine will load base libraries and commands into an internal virtual filesystem, and then load package contents on top of that. Packages may also have priority, so that some files from one package can supersede the same files from another loaded package. Once all packages are loaded, the engine will load the libraries and commands and start the engine.

seisatsu commented 3 years ago

I already implemented this decently in my Driftwood2D project, so I can copy most of the code from there.