-
-
Save roblabla/9d8a5ec6790461cf70b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function createServer({ host = '0.0.0.0', | |
port = 25565, | |
'online-mode' : onlineMode = true, | |
kickTimeout = 10 * 1000, | |
checkTimeoutInterval = 4 * 1000, | |
beforePing = null, | |
keepAlive = true, | |
motd = "A Minecraft server", | |
'max-players' : maxPlayers = 20, | |
} = {}) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment