(Pronounced "mick surv")
Console wrapper and proxy for Minecraft 1.5 server.
- 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.
/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
- Install Java.
- Install node.js.
- Download
minecraft_server.jarfrom minecraft.net. - Set
online-modeto false inserver.properties. Authentication and encryption is handled by this project. npm install mcserve- Copy
mcserve.json.exampleto your minecraft server folder and rename it tomcserve.json. - Change any configuration that you need to (see below)
npm start mcserve
disableProxy- set totrueto 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-portproperty in minecraft'sserver.propertiesfile.minecraftHost- the host that the real minecraft server will listen on. Make sure this is the same as theserver-ipproperty in minecraft.'sserver.propertiesfile.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-modetofalsein 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 fromonlineModeExceptionsbotServerEndpoint- 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