[Server] MBII Chaos V1 [Windows/Linux]

Posts
46
Likes
38
For the last few days I have been working on a Python 3 plugin for MBII server-side and named Chaos below is a bunch of features. I was originally trying to create an ELO and tournament seeding/round robin using blakes_won as a template. I ran into issues where the server.log does not catch duel challenges and wins, only for kills. I am releasing this to the public as I think this could be an opportunity to bring back some of the fun.


MBII Chaos Plugin: Career & Economic Framework
A high-performance Python framework for Movie Battles II (Jedi Academy) introducing persistent progression, a complex galactic economy, and dynamic career systems.




🛡️ Core Systems

1. Career & Identification Systems
  • 20-Tier Career Paths: 14 distinct paths (e.g., Rebel, ARC Trooper, Droideka, Sith) are fully implemented, each featuring 20 unique titles that evolve every 2.5 levels.
  • UI Stability Protocol: Optimized for the JKA engine's font rendering; uses color-code anchoring to eliminate spacing gaps and "Chaos" text alignment issues in the chat box.
  • Imperial Datapad (!rank): Displays real-time global standings with a text-based telemetry bar [IIIIII....] for clear visual progress tracking.
  • Last Stand Protocol: Dynamic XP deduction on casualties with a safety floor at Level 1 (0 XP) to maintain player retention.

2. "Smart Switch" Mode Awareness
  • Duel Mode Protocol: Real-time detection of g_authenticity (Mode 3). When active, the system overrides selected careers to force Jedi/Sith titles for immersion.
  • Dynamic Command Filtering: The !title system and help menus automatically update their logic based on active server variables (cvars) to prevent invalid career selections.

3. Economic & Cantina Features
  • Holo-Slots (!holo / !slot): A high-stakes terminal (150cr/spin) featuring rewards for 3, 4, and 5 matches (up to 10,000cr) with a 10% chance for "Force Surge" multipliers (x2–x5).
  • High-Low (!highlo): A rapid-fire probability game where players bet against the House Vault. Winning doubles the investment; losing funds the global jackpot.
  • Banking & Pazaak: Persistent credit storage in SQLite with a full Pazaak implementation including customizable side-decks and dealer pots.
  • PvP Gambling (Deathroll): Managed via a global match-handling dictionary to ensure zero-loss reliability during player-vs-player transitions.
  • Sarlacc Lottery: A map-wide event that pools server-wide entries into a massive credit pot awarded at the end of the round.

4. Advanced Combat Logic
  • Killstreaks & Nemesis: Tracks consecutive eliminations. Identifying a "Nemesis" (3+ kills on same target) unlocks a +200cr Revenge Bonus for the victim upon retaliation.
  • Force Surge & Theft: Random 5% chance for a 3x XP Surge on kills. Includes a 5% "Capital Transfer" logic when eliminating High-Value Targets (>5,000cr).
  • Vault Heists: A 5cr "House Tax" is applied to every kill. Players have a 1% chance to breach the vault, stealing 20%—or a 50% "Mega Heist" if the vault exceeds 5,000cr.

5. Infrastructure & Security
  • RCON Sync Engine: Forces real-time name resolution via RCON status to prevent "New Player" placeholders and ensure 100% accurate database logging.
  • IP-Based Record Syncing: Uses IP/GUID signatures to automatically re-link XP, credits, and career progress if a player changes their alias.
  • Multi-Instance Stability: Employs SQLite timeout and commit logic, allowing multiple server instances to share a single players.db without corruption or locking.

6. Asset Protection & Anti-Grief
  • Traitor Sanctions: Automatic Team-Kill detection, penalizing traitors -500 XP and -1000cr with global server condemnation.
  • Environment Filtering: Suicides and world-hazard deaths are ignored to prevent XP farming and economic manipulation.
  • Leaderboard Promotion: Uses a persistent is_top5 flag to trigger unique global announcements only when a player successfully breaks into the server's elite standings.

Github Chaos project here.
Github Chaos release here.


Feel free to leave any comments or suggestions.
 
Last edited:
Upvote 0

.biggs

uM Team Mapper
Posts
58
Likes
70
this is cool man grats on completing it.
question; will there be silly hats and capes? I want to spend my money on ssj2 lightning aura
 
Posts
46
Likes
38
Well, I am still doing alot of bug-fixing and moved it to sqlite3 to handle databases easier. This server-side plugin is also good for anyone else wanted to expand or use as template for another project.
 
Posts
361
Likes
151
Well, I am still doing alot of bug-fixing and moved it to sqlite3 to handle databases easier. This server-side plugin is also good for anyone else wanted to expand or use as template for another project.
I would be very interested in helping, could we discuss making this mb2 server in dms over discord?
 
Top