Minecraft server

From Inferris
Jump to navigation Jump to search

The multiplayer Minecraft server at Inferris is a project that is currently in development, and will serve as a hotspot for gaming within the inner community.

Server Architecture and Technology

See also: Player.


Inferris employs a hybrid data management approach, using a REST API-based microservice architecture for data retrieval, updates, and management. Redis is leveraged for fast access and temporary (TTL) storage, while MySQL database serves as the primary database for long-term data storage. The servers also maintain a local cache to improve performance. Additionally, inter-server Pub/Sub mechanisms are used to enable efficient communication between instances, ensuring that backend and frontend components stay synchronized by updating local data in real-time.

Backend

The backend plugin, which runs on the proxy server, handles most of the API calls. When a player connects to the server, the plugin interacts with the API which queries the Redis service, and if no keys exist, it falls back to the MySQL database. Subsequentially, if data is present in either service, the plugin generates and caches the new player data, and feeds it to a "POST" request so that the API can store the in the database and on Redis. Velocity is currently used to act as a proxy.

Frontend

The frontend plugins run on Paper, a highly optimized fork of Spigot, and they are the actual playable environments. The frontend plugins are designed to receive data from the backend, and, if needed, send data to the backend; this approach is highly useful to limit API requests.

Planned Features and Gameplay

Core game modes and mechanics

Lobby

The lobby is a standalone server that acts as a hub for players to gather before moving to other servers, and it is the primary point that the proxy sends the player to. The player's inventory contains several valuable items, including the Server Selector and Profile. The Server Selector allows players to switch between different game servers, while the Profile item provides detailed information about the player's account and statistics.

In the lobby, players can use Lumina to purchase a variety of cosmetic items, including fun gadgets and pets. Players can also perform an air boost at any time by pressing 'F' (or the key assigned to swapping items), propelling themselves forward with a trail of particles behind.

Mini-games

The mini-games server is currently in development. We plan to offer a variety of mini-games, including team-based and solo PvP options. In addition to traditional PvP, we will try to offer a range of cooperative mini-games that require teamwork and strategy. Our goal is to create a unique and enjoyable experience, free from toxicity, where our community can relax and have fun together.

Survival

The survival server is in the concept phase, aiming to offer a unique experience beyond traditional vanilla gameplay. Azzy is exploring features such as player home points, public warp points, player-owned shops, and an in-game economy, all powered by custom-built plugins. Community feedback will play a crucial role in shaping the server's final direction, ensuring it aligns with the desires of the players.

Development

The development officially started some time in May of 2023, although its original concepts date back much earlier through different plugin iterations.