26 lines
634 B
Markdown
26 lines
634 B
Markdown
# Full Example Plugin
|
|
|
|
Standalone example plugin that uses the Database API.
|
|
|
|
## Build
|
|
|
|
1. Publish Database plugin to local Maven:
|
|
|
|
```powershell
|
|
./gradlew publishToMavenLocal
|
|
```
|
|
|
|
2. Build this example:
|
|
|
|
```powershell
|
|
./gradlew build
|
|
```
|
|
|
|
3. Drop the jar into your server `plugins` folder.
|
|
|
|
## Notes
|
|
|
|
- This plugin depends on the `Database` plugin at runtime.
|
|
- Check `plugin.yml` for `depend: [ Database ]`.
|
|
- For full coverage, toggle `RUN_ADVANCED` (JOIN/GROUP BY/HAVING) and `RUN_DESTRUCTIVE` (create/drop database and demo tables) in `examples/FullPlugin/src/main/java/com/andrewkydev/example/full/run/ExampleCoordinator.java`.
|