правки
This commit is contained in:
10
README.MD
10
README.MD
@@ -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
|
||||
```
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 |
Reference in New Issue
Block a user