A Server Software for Classic Minecraft, Linux only.
OpenSSL
Curl
zlib
Warning
Compiling on Windows MIGHT work, however for me, it results in an exec format error.
Run make
in the root directory.
Alternatively, you can just run gcc -s src/*.c -o bin/main -lz -lpthread -lcurl -lm -lssl -lcrypto
The server.properties file provided allows for minor changes to be made to the server.
server_name
- defines the server name.
server_motd
- defines the server motd.
port
- defines the server port.
autosave_interval
- defines the interval (in seconds) between automatic world saving.
worlds_folder
- defines the folder in which worlds are stored in.
main_world
- defines the main world that will be sent to the player when they join.
heartbeat_url
- defines the URL for the heartbeat, allowing the server to be shown on the server list.
public
- defines whether the server is shown on the server list or not.
cracked
- defines whether players need a valid mpass to join thes server.
The default hearbeat is the ClassiCube heartbeat.
Note
The code is very rushed. If you see any interesting code, please alert me.
Note
This is in super early development.
- Can only create superflat worlds.
- Maximum player count cannot be changed.
- No ranks.
- World do not have their own MOTD.
- Possibly many more.
- Multithreaded
- Commands
- Operator commands
- Players can swap worlds
- Supports extra block types
- Supports message types
- Idk what else to add here
For a list of commands, run /help.
Basic operator commands are available.