gradle time

This commit is contained in:
kento2 2026-07-05 17:44:01 +02:00
parent 7040a6ce1e
commit 9421ef511e
47 changed files with 482 additions and 226 deletions

View file

@ -3,36 +3,13 @@ TODO
- improve error handling in Task ig
- try with InMemory db and debug postgres implementation
- logging in general, log some exceptions to game chat
- sleep
- notification: Friend is now offline/online
- messages across server
- /ignore command
environment
-----------
```shell
docker network create scrow 2>/dev/null || true
docker run -d --network scrow -it --rm --name mongo -p 27017:27017 mongo
docker run -d --network scrow -e ME_CONFIG_MONGODB_SERVER=mongo -e ME_CONFIG_MONGODB_AUTH_PASSWORD='' -e ME_CONFIG_MONGODB_AUTH_USERNAME='' -e ME_CONFIG_BASICAUTH_USERNAME='a' -e ME_CONFIG_BASICAUTH_PASSWORD=1234 --name mongo-express -p 8081:8081 mongo-express
docker run -d --network scrow -p 4222:4222 --name nats nats
```
access the mongo-db web interface at http://localhost:8081; username `a`, password `1234`**
## ENV
- HOST_NATS e.g `nats://127.17.0.1:4222`
- HOST_MONGO e.g `mongodb://localhost:27017/scrow`
## modules
### core-lib
core-lib is a stateless java util library
### core-bukkit-api
core-bukkit-api is stateful and contains api for bukkit development
* depends on core-lib
### implementations
core-bukkit-impl is a spigot plugin. It shades and implements core-bukkit-api
- **core-lib**: stateless library
- **core-bukkit** stateful plugin/api for minecraft development, depends on core-lib
- **core-velocity** stateful plugin/api for proxy development, depends on core-lib