Update README.md to reflect Oki's changes

This commit is contained in:
Julgers 2023-08-13 11:33:39 +02:00 committed by GitHub
parent 2ab5710c11
commit 789ba34da3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -14,11 +14,11 @@ This repository provides an API that can be used to handle events on your commun
### Writing
Documentation and examples can be found on the [wiki](https://github.com/MrOkiDoki/BattleBit-Community-Server-API/wiki).
Documentation and examples can be found on the [wiki](https://github.com/MrOkiDoki/BattleBit-Community-Server-API/wiki) (WIP).
The way to use this API is to make an instance of `ServerListener` (and start it) on which you pass the types of your *own* subclasses of `Player` & `GameServer`. In those subclasses, you can make your own overrides to the already existing methods in `Player` and `GameServer`. You can also add your own methods and fields/properties.
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.
The easiest way to get started with all of this, is to use `Program.cs` and add your overrides etc. into `MyPlayer` & `MyGameServer`.
### Building