ClashRoyale (2017)
latest project
make sure to checkout myA .NET Core Clash Royale Server (v1.9)
Discord
Need help? Join ourBattles
The server supports battles, for those a patched client is neccessary.
How to start
Requirements:
- .NET Core SDK 3.1
- MySql Database (on Debian i suggest LAMP with PhpMyAdmin)
for Ubuntu use these commands to set it up:
Main Server:
mkdir ClashRoyale
git clone https://github.com/retroroyale/ClashRoyale.git && cd ClashRoyale/src/ClashRoyale
dotnet publish "ClashRoyale.csproj" -c Release -o app
Battle Server:
mkdir ClashRoyaleBattles
git clone https://github.com/retroroyale/ClashRoyale.git ClashRoyaleBattles && cd ClashRoyaleBattles/src/ClashRoyale.Battles
dotnet publish "ClashRoyale.Battles.csproj" -c Release -o app
To configurate your server, such as the database you have to edit the config.json
file.
Run the server:
Main Server:
dotnet app/ClashRoyale.dll
Battle Server:
dotnet app/ClashRoyale.Battles.dll
Update the server:
Main Server:
git pull && dotnet publish "ClashRoyale.csproj" -c Release -o app && dotnet app/ClashRoyale.dll
Battle Server:
git pull && dotnet publish "ClashRoyale.Battles.csproj" -c Release -o app && dotnet app/ClashRoyale.Battles.dll
Need help?
Contact me on Discord (Incredible#2109) or open an issue.