Installing ACHCE Client
This guide will walk you through installing ACHCE Client, setting up the required dependencies, and configuring Firebase integration for player tracking and ban management.Prerequisites
Before installing ACHCE Client, ensure you have the following:Windows OS
Windows 7 or later (Windows 10/11 recommended)
.NET Framework 4.7.2
Required runtime environment for the application
Firebase Account
Free Google Firebase account for database functionality
Internet Connection
Required for Firebase communication and IP verification
System Requirements
Minimum Requirements
- OS: Windows 7 SP1 or later
- RAM: 2GB minimum
- .NET Framework: 4.7.2 or higher
- Internet: Stable connection for Firebase operations
Recommended Requirements
- OS: Windows 10 or Windows 11
- RAM: 4GB or more
- .NET Framework: Latest version
- Internet: Broadband connection
Installation Steps
Install .NET Framework 4.7.2
If you don’t have .NET Framework 4.7.2 installed, download it from Microsoft:
- Visit the .NET Framework 4.7.2 download page
- Download the offline installer or web installer
- Run the installer and follow the prompts
- Restart your computer if prompted
Windows 10 version 1803 and later includes .NET Framework 4.7.2 by default.
Download ACHCE Client
Clone the repository or download the source code:Alternatively, download the pre-built release from the releases page.
Set Up Firebase Project
Create a Firebase project for player tracking:
- Go to the Firebase Console
- Click “Add project” and enter a project name (e.g., “ACHCE-Server”)
- Disable Google Analytics (optional for this use case)
- Click “Create project”
Firebase Realtime Database is used for real-time player tracking and ban management.
Configure Firebase Realtime Database
Set up the database for ACHCE Client:
- In the Firebase Console, navigate to Build → Realtime Database
- Click “Create Database”
- Select your preferred location
- Start in Test mode for initial setup (configure security rules later)
- Note your database URL (e.g.,
https://your-project.firebaseio.com)
Get Firebase Authentication Credentials
Retrieve your Firebase credentials:
- In the Firebase Console, click the gear icon → Project settings
- Navigate to the Service accounts tab
- Click Database secrets (legacy tokens)
- Copy your database secret token
Configure ACHCE Client
Update the Firebase configuration in your project:Open Replace the placeholder values with your actual Firebase credentials.
ACHCE_Cliente/Form1.cs and update the Firebase configuration:Build the Project
Build ACHCE Client using Visual Studio or MSBuild:Using Visual Studio:The compiled executable will be in
- Open
ACHCE_Cliente.csprojin Visual Studio 2017 or later - Restore NuGet packages (right-click solution → Restore NuGet Packages)
- Build the solution (Build → Build Solution or press
Ctrl+Shift+B)
bin/Release/ACHCE Cliente.exeDependencies
ACHCE Client requires the following NuGet packages (automatically installed when building):- FireSharp: Firebase Realtime Database client for .NET
- Newtonsoft.Json: JSON serialization for data exchange
- Microsoft.Bcl.Async: Asynchronous programming support
- System.Net.Http: HTTP client functionality for IP detection
Firebase Database Structure
ACHCE Client uses the following database structure:Player entries are automatically deleted from the database when they close the ACHCE Client application.
Firebase Security Rules
For production use, configure proper security rules for your Firebase Realtime Database:- Requires authentication for read/write operations
- Validates that player entries contain an IP field
Verification
After installation, verify that ACHCE Client is working correctly:Test Firebase Connection
Launch ACHCE Client. You should see:
- No error messages about internet connectivity
- The loading screen should progress normally
Check Firebase Console
Open your Firebase Console and navigate to the Realtime Database:
- You should see a new entry under
PlayerIpList - The entry should contain your public IP address
Troubleshooting
”There was problem in the internet” Error
This error occurs when Firebase connection fails:- Verify your internet connection is active
- Check that Firebase credentials are correctly configured
- Ensure your Firebase project is active and not over quota
- Verify the BasePath URL is correct and includes
https://
Build Errors
If you encounter build errors:- Missing NuGet packages: Restore packages using
nuget restore - Wrong .NET version: Ensure you have .NET Framework 4.7.2 SDK installed
- MSBuild not found: Install Visual Studio Build Tools
Firebase Authentication Issues
If Firebase operations fail:- Verify your AuthSecret is correct (no extra spaces or quotes)
- Check Firebase Console for API restrictions or disabled services
- Ensure Realtime Database is enabled for your project
Next Steps
Now that ACHCE Client is installed, proceed to the Quick Start guide to learn how to use it:Quick Start Guide
Learn how to run ACHCE Client and connect to protected servers
Additional Configuration
Building for Distribution
When distributing ACHCE Client to players:- Optimized code execution
- Smaller binary size
- No debug symbols
Automatic Updates
Consider implementing an update mechanism:- Host the latest version on your server
- Add version checking to the client
- Prompt users to download updates when available
Future versions of ACHCE Client may include automatic update functionality.