- New C# version of Pyro Backend, instead of Python
1. The database
- Pyro backend uses MongoDB (you can download it here)
- I also recommend you to download MongoDB Compass, so you can manage your data (you can download it here)
2. .NET
- The project uses .NET 10 SDK, which you can download from here
1. Install
- Download the dependencies with the following command:
dotnet restore2. Settings
- Environment variables:
Rename .env.example to .env and add your necessary keys - Config:
Set your own settings in the Config/config.json file - Itemshop:
You can configure the itemshop and autoitem shop settings in the Config/itemshop.json file
3. Launch
- Run the following command in the root folder:
dotnet run --project pyro- To use admin commands, you need to set the owners of the bot in the Config/config.json file!
Current bot commands
/account create- Creates an account for the user/account ban- Bans a player from the backend (needs owner permissions)/account unban- Unbans a player from the backend (needs owner permissions)/account full-locker- Gives full locker to a player (needs owner permissions)/account delete- Deletes your account/profile discord- Retrieves a user's information by their Discord ID./profile name- Retrieves a user's information by their player name
- It is recommended to use (around) 2558px 1440px width and height for news to ensure the image is displayed properly
- (Not tested on multiple versions) The itemshop will probably always have the old UI, and the following titles will be interpreted differently there:
- Featured(In game) -> Weekly items(In config)
- Daily(In game) -> Daily items(In config)
- Special Offers(In game) -> Featured items(In config)
- If you need any help, open an issue
- If you want to play with friends, I recommend you to use ngrok or cloudflared tunnel
- Auth system
- Friends
- Itemshop
- Auto itemshop
- XMPP and WS services
- Advanced matchmaker
- Quests
- Battlepass
- Full locker support
- Discord bot