This is a project meant to document the functions and code of classic.minecraft.net.
Clone the repo and run start-server.bat, or run http-server on the working directory. Then, connect to the server using localhost:8080 in your preferred browser.
- The backend server currently isn't online.
- The functionality was mostly in place for interop with the backend.
- KNOWN ROUTES:
- /get-signaling-token
- /get-signaling-host
- /get-ice-candidates
- /create-channel
- /game
- /game/${roomCode}/heartbeat
- /game/multiplayer-enabled
- The client connects to the server via WebSockets.
- Messages are sent in stringified JSON
- message.p is the payload
- message.m is meta
- message.o is the msgEvent
- message.m.t is the to
- message.m.f is the from
- Messages are sent in stringified JSON
- The chat is accessible through
- There are commands, here's a list
- /help - lists commands
- /ban - disabled command
- /banip - disabled command
- /say - disabled command
- /deop - disabled command
- /kick - kicks user from the game (surprisingly enabled)
- /op - disabled command
- /tp - teleport to a player
- /unban - disabled command
- /setspawn - sets your spawnpoint
- /solid - disabled command
- /list - lists online players
- /help - displays commands
- There are commands, here's a list
This is meant as a fun project. If I must take it down due to legal reasons, please contact me at thesuncat123@gmail.com, or on Discord at TheSunCat#1007.