mcserve
(Pronounced "mick surv")
Console wrapper and proxy for Minecraft 1.5 server.
Features
- Web interface with recent chat history and who is online.
- Automatically restart minecraft server when it crashes.
- Provide extra commands to users
- Sets online-mode for a whitelist or blacklist of people.
Extra Commands for Users
/help mcserve
- in game help for mcserve commands/restart
: Requests a server restart which will happen after everybody logs off./seen <username>
: Tells how long ago username was seen on the server./bot
- create, destroy, list, tp bots on a mc-bot-server/version
- get the mcserve version/whitelist
- manage who is on the whitelist (or blacklist)/admin
- manage who has access to admin commands
Installation
- Install Java.
- Install node.js.
- Download
minecraft_server.jar
from minecraft.net. - Set
online-mode
to false inserver.properties
. Authentication and encryption is handled by this project. npm install mcserve
- Copy
mcserve.json.example
to your minecraft server folder and rename it tomcserve.json
. - Change any configuration that you need to (see below)
npm start mcserve
mcserve.json
disableProxy
- set totrue
to skip starting the proxy serverproxyPort
- port that the proxy listens onproxyHost
- host that the proxy binds toproxyRemoteHost
- the hostname that the bot server should connect bots towebPort
- the port that the web interface listens onwebHost
- the host that the web interface binds tominecraftPort
- the port that the real minecraft server will listen on. Make sure this is the same as theserver-port
property in minecraft'sserver.properties
file.minecraftHost
- the host that the real minecraft server will listen on. Make sure this is the same as theserver-ip
property in minecraft.'sserver.properties
file.online-mode
- whether you want the proxy to authenticate usernames with the official server. you can set exceptions withonlineModeExceptions
. No matter what you choose, you must setonline-mode
tofalse
in minecraft'sserver.properties
.onlineModeExceptions
- in online mode, this is usernames which are not checked. in offline mode, this is usernames which are checked.encryption
- whether to turn on protocol encryptionkickTimeout
- how many milliseconds to wait before kicking a client which is failing to send heartbeat messagesmotd
- little blurb that is displayed in the server listmax-players
- limit number of people who can connect to the proxyadmins
- these people can add and remove people fromonlineModeExceptions
botServerEndpoint
- URL to a running mc-bot-server which players can use to spawn bots.botServerApiKey
- the api key that you need to give to mc-bot-server