правки
This commit is contained in:
10
README.MD
10
README.MD
@@ -12,6 +12,14 @@
|
|||||||
|
|
||||||
## Запуск
|
## Запуск
|
||||||
|
|
||||||
|
### Gradle
|
||||||
|
|
||||||
```shell
|
```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
|
||||||
```
|
```
|
||||||
@@ -13,6 +13,10 @@ apply plugin: 'application'
|
|||||||
|
|
||||||
application {
|
application {
|
||||||
mainClassName = 'mc.server.Main'
|
mainClassName = 'mc.server.Main'
|
||||||
|
|
||||||
|
if (project.hasProperty('jvmArgs')) {
|
||||||
|
applicationDefaultJvmArgs = List.of((project.jvmArgs as String).split('\\s+'))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ players:
|
|||||||
max-online: 0
|
max-online: 0
|
||||||
online: 0
|
online: 0
|
||||||
|
|
||||||
|
# Размер значка: 64x64 px
|
||||||
icon:
|
icon:
|
||||||
enable: true
|
enable: false
|
||||||
path: src/main/resources/favicon.png
|
path: favicon.png
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.6 KiB |
Reference in New Issue
Block a user