Skip to content

Configuration

WangJun edited this page Dec 3, 2017 · 4 revisions

Overview

MineCase is easy to configure. The basic configuration file is stored under the directory of each server. The configuration of each server shall be the same or the server would behave unpredictably.

server.json

The file named 'server.json' is used to config the information related to game. ` "motd": "A Minecase Server" "server-ip": "127.0.0.1" "server-port": 3388 "max-tick-time": 60000 "online-mode": false "enable-rcon": false "network-compression-threshold": 256 "resource-pack": "" "resource-pack-hash": "" "snooper-enabled": true "enable-query": false

//spawn
"spawn-protection": 16
"spawn-monsters": true
"spawn-npcs": true
"spawn-animals": true

//world
"max-world-size": 29999984
"allow-nether": true
"generate-structures": true
"generator-settings": ""
"max-build-height": 256
"level-seed": "minecase"
"level-type": "FLAT"
"enable-command-block": false
"hardcore": false

//user
"max-players": 20
"view-distance": 10
"allow-flight": false
//"level-name": "world"
"player-idle-timeout": 0
"difficulty": 1
"force-gamemode": false
"gamemode": 1
"pvp": true
"announce-player-achievements": true

//op
"white-list": false
"op-permission-level": 4

`

config.json

'config.json' is used to store the basic configuration of server.

{
  "persistenceOptions": {
    "connectionString": "mongodb://localhost:27017/minecase"
  }
}
Clone this wiki locally