← Back to projects

CASE · MAJESTIC-RP

Majestic RP – MTA:SA Game Mode

Completed Lua MTA:SA MySQL Roleplay Sqlite
Majestic RP – MTA:SA Game Mode
EXHIBIT A · SYSTEM SCREENSHOT January 2025

About the case

Game mode designed from scratch with advanced systems for roles, economy, jobs, inventories and administration. Includes performance optimization and modular scripts for easy maintenance.

Context

After years playing roleplay on MTA:SA I wanted to build my own server from scratch instead of modifying an existing game mode.

What I did

  • Wrote the whole game mode in Lua: roles, economy, jobs, inventories and administration.
  • Designed the MySQL schema for players, items and the economy.
  • Organized the code into modular scripts so each system could be maintained separately.
  • Optimized the scripts to handle many concurrent players.

What I learned

  • An in-game economy needs upfront design: one balancing mistake breaks the whole game.
  • Splitting into modules from the start makes a large project maintainable by one person.
  • Measure before optimizing: the bottleneck is almost never where you think.
Esc

↑ ↓ move · Enter open · Esc close