How wanderingpix/host-utility works
Host Utility is an Among Us host-side plugin for moderation, game controls, player information, and chat commands. Its workflow begins when the plugin loads and patches game behavior; in-game chat, player, and lobby events then reach those features. Ban-list providers supply cached or cloud-fetched checks, while reporting submits player and chat data externally. The source index supports several patch-to-feature relationships, but the README is empty and many patch implementations were not excerpted, so uncertain control-flow links are omitted.
Main entry points: Patches Game patches · BanListProvider.cs Provider base and cache · ReportingManager.cs Player report assembly · ChatCommandsManager.cs Command registry
Components 21
Plugin and game hooks
- Plugin initialization
HostUtility/HostUtilityPlugin.cs - Game patches
HostUtility/Patches
Moderation and bans
- Banned words
HostUtility/BanWords.cs - Bot names
HostUtility/BotNames.cs - Ban-list manager
HostUtility/BanListAPI/BanListManager.cs - Provider base and cache
HostUtility/BanListAPI/BanListProvider.cs - AUFiles provider
HostUtility/BanListAPI/Providers/AUFiles/AUFilesBanListProvider.cs - AUOS provider
HostUtility/BanListAPI/Providers/AUOS/AUOSbanListProvider.cs - MAUL provider
HostUtility/BanListAPI/Providers/MAUL/MAULBanListProvider.cs
Chat commands
- Command registry
HostUtility/ChatCommandsManager.cs - Chat command handlers
HostUtility/Commands - Command arguments
HostUtility/Commands/Arguments - Command suggestions
HostUtility/Components/UI/CommandSuggestionMenu.cs - Argument selection UI
HostUtility/Components/UI/CommandArgumentsMenu.cs
Player information and reports
- Player tracking data
HostUtility/Components/TrackingDataBehaviour.cs - Player icons and labels
HostUtility/Components/PlayerIconsBehaviour.cs - Player report assembly
HostUtility/PlayerReporting/ReportingManager.cs - Report data model
HostUtility/PlayerReporting/PlayerReportData.cs
Other components
- Host user
- Ban-list services
- Report endpoint
Connections 24
- Host user → Game patches: plays game
- Plugin initialization → Game patches: applies hooks
HostUtility/HostUtilityPlugin.cs - Plugin initialization → Banned words: initializes
HostUtility/HostUtilityPlugin.cs - Plugin initialization → Command registry: initializes
HostUtility/HostUtilityPlugin.cs - Game patches → Banned words: checks messages
HostUtility/Patches/ChatControllerPatches.cs - Game patches → Ban-list manager: checks players
HostUtility/Patches/PlayerControlPatches.cs - Game patches → Bot names: checks names
HostUtility/Patches/PlayerControlPatches.cs - Game patches → Player icons and labels: updates player display
HostUtility/Patches/GameStartManagerPatches.cs - Game patches → Player tracking data: uses tracking data
HostUtility/Patches/AntiCheatPatches.cs - Ban-list manager → Provider base and cache: initializes and checks
HostUtility/BanListAPI/BanListManager.cs - Provider base and cache → Ban-list services: fetches provider data
- AUFiles provider → Provider base and cache: implements
HostUtility/BanListAPI/Providers/AUFiles/AUFilesBanListProvider.cs - AUOS provider → Provider base and cache: implements
HostUtility/BanListAPI/Providers/AUOS/AUOSbanListProvider.cs - MAUL provider → Provider base and cache: implements
HostUtility/BanListAPI/Providers/MAUL/MAULBanListProvider.cs - Game patches → Command registry: routes chat commands
HostUtility/Patches/ChatControllerPatches.cs - Command registry → Chat command handlers: registers handlers
HostUtility/ChatCommandsManager.cs - Chat command handlers → Command arguments: uses argument types
HostUtility/Commands/ChatCommand.cs - Command suggestions → Command registry: lists commands
HostUtility/Components/UI/CommandSuggestionMenu.cs - Command suggestions → Argument selection UI: opens selection
HostUtility/Components/UI/CommandSuggestionMenu.cs - Argument selection UI → Command arguments: requests options
HostUtility/Components/UI/CommandArgumentsMenu.cs - Game patches → Player report assembly: opens reporting flow
HostUtility/Patches/HudManagerPatches.cs - Player report assembly → Report data model: creates report
HostUtility/PlayerReporting/ReportingManager.cs - Player report assembly → Player tracking data: reads chat logs
HostUtility/PlayerReporting/ReportingManager.cs - Player report assembly → Report endpoint: posts report
HostUtility/PlayerReporting/ReportingManager.cs