Leadership
Co-founding Walrus Network and building its tech
As co-founder and CTO of a Minecraft network, I built its Java game platform, a GraphQL API on Rails, its proxy, and its Kubernetes setup on GKE.
The problem
A new Minecraft network needs everything at once: the games, the backend they talk to, an admin panel, the proxy players connect through, and somewhere to run it all that doesn’t cost a fortune when nobody’s online. As the technical co-founder, all of that was mine to build.
What I built
- The network’s game platform as a multi-module Java project on Maven, for Bukkit and BungeeCord, shipped in Docker through GitLab CI
- A GraphQL API on Ruby on Rails with PostgreSQL and Redis, plus an admin panel on top of it
- A Ruby Kubernetes controller that created game server clusters on demand on Google Kubernetes Engine
- Glymur, our fork of the BungeeCord proxy, with messages personalized per player and player search scoped to what each viewer can see
- Intake, our command library, with translated errors, fuzzy player search, fallback commands, and support for BungeeCord and Discord as well as game servers
- MC-Bridge, the Ruby entrypoint for every server container. It layers the base files, the server’s own files and each plugin’s config (with inheritance between configs), then fills in environment variables across every config file
- Container startsMC-Bridge
- Base + server filescopied in
- Pluginsconfig with parent inheritance
- Envsubstituted into every config
- Serverboots
Loading a plugin’s config
fn load_plugin(plugin, server):
config = load_yaml(server.config_for(plugin)) ?? load_yaml(base.config_for(plugin))
if config == null:
delete(server.plugins / plugin.jar) # no config means the plugin isn't wanted
return
while config.parent:
config = deep_merge(load_yaml(config.parent), config)
copy(plugin.jar, server.plugins)
write(server.plugins / plugin.name / "config.yml", config)
after all plugins:
for file in server.glob("**/*.{yml,yaml,json,properties}"):
Env.substitute(file)