Archived
0

правки

This commit is contained in:
2021-04-30 00:49:55 +03:00
parent d4f7192e92
commit 2b4e58ae16
5 changed files with 16 additions and 3 deletions

View File

@@ -12,6 +12,14 @@
## Запуск
### Gradle
```shell
gradle :server:run
gradle :server:run --args="--config=config.yml" --project-prop jvmArgs="-Dlogback.configurationFile=logback.xml"
```
### Jar
```shell
java -Dlogback.configurationFile=logback.xml -jar server.jar --config=config.yml
```

View File

@@ -13,6 +13,10 @@ apply plugin: 'application'
application {
mainClassName = 'mc.server.Main'
if (project.hasProperty('jvmArgs')) {
applicationDefaultJvmArgs = List.of((project.jvmArgs as String).split('\\s+'))
}
}
dependencies {

View File

@@ -12,6 +12,7 @@ players:
max-online: 0
online: 0
# Размер значка: 64x64 px
icon:
enable: true
path: src/main/resources/favicon.png
enable: false
path: favicon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB