MSWS 6ad656b7b2 refactor: Refactor connection handling in PlayerConnectionsHandler
- Refine settings in `TTT.sln.DotSettings` by consolidating XML tags and maintaining code style rules.
- Document missing parameter in `GiveWeapon` method of `IInventoryManager.cs`.
- Overhaul player connection logic in `PlayerConnectionsHandler.cs` by shifting focus to disconnection, replacing outdated methods, and organizing disposals.
- Note potential crash issue in `CombatHandler.cs` with a TODO, remove `OnTakeDamage` implementation, and prepare for future documentation improvements.
- Clean up `CreateGame` method in `CS2GameManager.cs` by eliminating obsolete code for better clarity.
2025-08-04 23:28:41 -07:00
2025-08-01 04:28:36 -07:00
2025-08-04 23:19:00 -07:00
2025-07-29 16:28:05 -07:00
2025-07-30 03:32:31 -07:00
2025-08-01 05:09:20 -07:00
2025-08-01 04:28:36 -07:00
2025-08-03 01:50:40 -07:00
2025-07-29 16:28:05 -07:00

TTT

badge Discord

TTT (Trouble in Terrorist Town) is a game mode similar to Among Us where a group of players are attempting to survive while eliminating the traitors among them.

Features

  • Unit Testing
  • Basic Gameplay
    • Traitors
    • Detectives
    • Innocents
  • Shop
  • Karma
  • Statistics

Versioning

This project adheres to Semantic Versioning 2.0.0. The versioning scheme consists of three components:

  • MAJOR version indicates incompatible API changes,
  • MINOR version signifies the addition of functionality in a backwards-compatible manner, and
  • PATCH version reflects backwards-compatible bug fixes.

Modules

TTT

You likely want to read the TTT README, which covers the structure of its own directory.

Versioning

To allow for MSBuild.GitVersion to be used on both Windows and Linux (specifically NixOS), this project manually converts dotnet-gitversion to the GitVersionInformation that is used.

Locale

Due to this project being primarily developed with Counter-Strike 2 (and more specifically, CounterStrikeSharp) in mind, localization has been built with flat-file storage based around YML/JSON.

In short, we write our locales in en.yml, run Locale.csproj to convert and combine all **/Lang/en.yml -> a master lang/en.json, and then run our tests / release pipeliens with it.

It is recommend to read the Locale README for more information on how to use it.

Development

  1. git clone ...
  2. dotnet restore
  3. dotnet build
  4. Convert all lang/en.yml -> lang/en.json (Required for testing, refer to Locale)
  5. dotnet test (Optional)
Description
No description provided
Readme AGPL-3.0 3.5 MiB
Languages
C# 86.4%
HTML 13.5%
Shell 0.1%