The server/client for community servers API.
Go to file
MrOkiDoki caf7ff6ea8 OnPlayer killed arguments passed to a struct 2023-08-10 13:42:51 +03:00
.vs OnPlayer killed arguments passed to a struct 2023-08-10 13:42:51 +03:00
BattleBitAPI OnPlayer killed arguments passed to a struct 2023-08-10 13:42:51 +03:00
bin/Debug/net6.0 OnPlayer killed arguments passed to a struct 2023-08-10 13:42:51 +03:00
obj OnPlayer killed arguments passed to a struct 2023-08-10 13:42:51 +03:00
.gitignore Client socket connecting to server part. 2023-03-03 17:42:13 +03:00
CommunityServerAPI.csproj First commit. 2023-03-03 15:15:17 +03:00
CommunityServerAPI.sln First commit. 2023-03-03 15:15:17 +03:00
LICENSE Initial commit 2023-03-03 15:09:34 +03:00
Program.cs OnPlayer killed arguments passed to a struct 2023-08-10 13:42:51 +03:00
README.md Create README.md 2023-08-05 21:29:15 +02:00

README.md

BattleBit Remastered Community Server API

License: MIT

This repository provides an API that can be used to handle events on your community server(s) and manipulate them.

Getting started

Prerequisites

  • Your own community server within BattleBit Remastered with progression disabled and access to its launch options.
  • The ability to write and compile .NET 6.0 C# code.
  • (for production) A place to host this API on.

Writing

Documentation and examples can be found on the wiki.

The way to use this API is to make an instance of ServerListener and add your own handlers to certain events that happen on your server(s). The easiest way to do this, is to add/put your own code in Program.cs and then build the project.

Building

This project can either be built by using dotnet build on the command-line or by using the run / build options inside your preferred IDE.

Connecting to the gameserver

After writing and compiling this project. You will want to host it somewhere. This could be on the same server that the gameserver runs on, or somewhere completely different. We do recommend to keep the latency to the gameserver minimal for smoother and faster communication. The same ServerListener can be used for multiple gameservers at the same time. You can specify the API server (address & port) in the launch options of the gameserver.