Battlefield 6 Open Source New Year's Eve Update

Building the Open Source Future of BF6 Esports: A Call for Collaborators

Battlefield 6 has arrived, bringing with it a Portal system that is less of a map editor and more of a game engine. While the community celebrates the return to modern combat, a silent crisis is brewing in the competitive scene. Today, TeamWarfare is releasing the source code for our premier 2v2 Competitive Tank Experience, but this is more than a release - it is an invitation.

We are building the infrastructure for a transparent, cheat-resistant competitive ecosystem, and we need developers, league organizers, and competitive players to help us standardize and grow it.

View the TeamWarfare Open Source Repository on GitHub

The Problem We Must Solve Together: Logic-Based Cheating

Battlefield 6’s Portal is a great addition to the franchise, granting the community powerful tools that could secure the competitive scene’s longevity for a long time to come. However, this depth is a double-edged sword. As creators build increasingly complex systems, relying on opaque “Share Codes” to distribute them has turned this creative potential into a potential burden.

Portal shines by bringing new tools to allow server hosts to manipulate the fundamental physics of a match in ways that client-side anti-cheat (Javelin) cannot detect. This is Logic-Based Cheating.

Without open collaboration and verification, players are forced to trust things like:

  1. Damage Modifiers are set to default, not favouring specific players.

  2. No spectator bugs that could be used to upset the balance of the game.

  3. UI Elements aren’t leaking your location or pixel walking on invisible geometry to see to the other team.

To the anti-cheat, these scripts could look like legitimate game mode features. The only defense is code transparency.

The TeamWarfare Initiative: A Shared Standard

TeamWarfare will mandate that all BF6 competitive experiences hosted on our network be open source. We think this should be the industry standard, not just a TeamWarfare rule.

Crucially, because Portal launched with sparse documentation, the community is still deciphering its full potential. Sharing code unlocks an additional benefit beyond security: rapid learning. Open sourcing our work allows creators to learn from each other’s breakthroughs rather than struggling in isolation, accelerating the growth of the entire BF6 ecosystem.

Today we’re jumpstarting this initiative and releasing our 2v2 Competitive Tank Mode on GitHub as a template for the community.

Guarantees We Can Build Together

By adopting a GitHub-based workflow, we can provide three guarantees to the competitive community:

  1. Auditable Logic: We enable anyone to download JSON/TypeScript files, inspect logic blocks, and verify damage calculations.

  2. Version Control: We prevent “stealth nerfs” and silent updates by tracking every rule change as a commit.

  3. Immutable Integrity: We tie Share Codes used in a game to match the open-source code in the repository.

An Invitation to Innovate

We are calling on other competitive outlets, tournament organizers, and league administrators to join us in this effort.

We don’t want to compromise integrity with closed Share Codes.

Instead of verifying “fair play” by looking at a 5-character Experience Code - which is effectively security theater - we can build a shared repository of trusted, auditable logic. The tools to cheat have evolved; the tools to secure the game should evolve with them.

We Need Your Help

The standard has been raised, but the work is just beginning. We are looking for collaborators to help maintain and improve this open-source ecosystem:

  • TypeScript Developers: Help us refine the logic definitions and build better export tools.

  • Game Analysts: Audit our code for balance issues and meta exploits.

  • League Admins: Fork our repo and adapt the open-source standard for your own tournaments.

Get the Code & Contribute at https://github.com/Teamwarfare-Network/bf6-portal