Skip to content

Minecraft-Classic-Server-Archive/GoldServer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Server Software for Classic Minecraft, Linux only.

Dependencies

OpenSSL
Curl
zlib

Compiling

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

Configuring

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.

Limitations

  • Can only create superflat worlds.
  • Maximum player count cannot be changed.
  • No ranks.
  • World do not have their own MOTD.
  • Possibly many more.

Known Features

  • Multithreaded
  • Commands
  • Operator commands
  • Players can swap worlds
  • Supports extra block types
  • Supports message types
  • Idk what else to add here

Commands

For a list of commands, run /help.
Basic operator commands are available.

About

A server software for classic Minecraft.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.4%
  • Makefile 0.6%