CoffeeLoader is a runtime environment and service manager using ModularKit. It allows for flexible and stable module management without requiring server restarts.
Here is an example configuration for CoffeeLoader:
{
"port": 8080,
"fileWatcher": true,
"sources": [
"external"
]
}
- port: The port on which CoffeeLoader listens.
- fileWatcher: Enables or disables file watching to automatically reload modules.
- sources: List of module sources. Here, "external" indicates that modules are loaded from an external source of modules (.jar).
To install CoffeeLoader, follow these steps:
-
Clone the repository:
git clone https://git.nuka.works/NukaWorks/servers/CoffeeLoader
-
Navigate to the project directory:
cd CoffeeLoader
-
Build the project:
mvn clean install
To start CoffeeLoader, use the following command:
java -jar target/CoffeeLoader-jar-with-dependencies.jar
For more information, refer to the documentation of ModularKit and ModuleTest. Further resources are available at developer.nuka.works