> For the complete documentation index, see [llms.txt](https://plugins-1.gitbook.io/plugins/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://plugins-1.gitbook.io/plugins/products/spoof/modules.md).

# Modules

## Creating Modules

To create a module, you'll need to implement the `Module` interface, below we've listed an example on how this may look.

```java
public class ExampleModule implements Module {
    public String getName() {
        return "Example";
    }

    @Override
    public void load() {
        Bukkit.getLogger().info("Hello from " + getId() + " module!");
    }
}
```

Ensure you export the jar as `<name>-<version>.jar` when putting into the **modules** sub-folder. In this example it would be `example-v1.0.jar`. Naturally, you won't need to create a plugin.yml or anything of that form.
