Skip to content

1bali1/pyro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

banner


License Release MongoDB .Net Top Language


Pyro Backend (C#)

  • New C# version of Pyro Backend, instead of Python

Setup

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

Run the backend

1. Install

  • Download the dependencies with the following command:
dotnet restore

2. 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

Discord bot

  • 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

Useful information

  • 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

Features

  • Auth system
  • Friends
  • Itemshop
  • Auto itemshop
  • XMPP and WS services
  • Advanced matchmaker
  • Quests
  • Battlepass
  • Full locker support
  • Discord bot

About

An OG Fortnite backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages