mirror of
https://github.com/danbulant/flying-squid
synced 2026-06-10 18:14:13 +00:00
* added some code to set the difficulty of the server * Add difficulty variable Added difficulty to default-settings.json changed difficulty: 0 to difficulty: serv.difficulty in -respawn.js -world.js -login.js * set server diff * added setting serv difficulty on server start in settings.js * added serv in module.exports.player=function(player, serv) in player.js and in respawn.js
28 lines
514 B
JSON
28 lines
514 B
JSON
{
|
|
"motd": "A Minecraft Server \nRunning flying-squid",
|
|
"port": 25565,
|
|
"max-players": 10,
|
|
"online-mode": true,
|
|
"logging": true,
|
|
"gameMode": 1,
|
|
"difficulty": 1,
|
|
"worldFolder":"world",
|
|
"generation": {
|
|
"name": "diamond_square",
|
|
"options":{
|
|
"worldHeight": 80
|
|
}
|
|
},
|
|
"kickTimeout": 10000,
|
|
"plugins": {
|
|
|
|
},
|
|
"modpe": false,
|
|
"view-distance": 10,
|
|
"player-list-text": {
|
|
"header":"Flying squid",
|
|
"footer":"Test server"
|
|
},
|
|
"everybody-op":true,
|
|
"max-entities":100
|
|
}
|