Added build tools #1

This commit is contained in:
Sven Heidemann 2023-01-13 10:40:19 +01:00
parent 79fe4f1934
commit 888eca9845
3 changed files with 29 additions and 1 deletions

View File

@ -1,4 +1,26 @@
# spigot_ontime_handler
Spigot plugin to send Minecraft derivates to OnMemberJoin, OnMemberRemove & OnMessage to the KDB-API to be processed
accordingly
accordingly
## Execute
### Install dependencies:
Install ```spigot server``` in folder ```./spigot``` first!!
```bash
mvn install
```
### Build and Run the plugin:
```bash
./run.sh
```
### Build only:
```bash
./build.sh
```

1
build.sh Normal file
View File

@ -0,0 +1 @@
mvn package -f pom.xml

5
run.sh Normal file
View File

@ -0,0 +1,5 @@
bash build.sh
cp target/kd_ontime_handler_spigot-*-SNAPSHOT.jar spigot/plugins
cd spigot
export PLUGIN_ENVIRONMENT=development
java -Xms1G -Xmx8G -jar spigot.jar --nogui