/broke-protocol

Offical Repo for everything about Broke Protocol - Issues, Wiki, and GameSource

Primary LanguageC#

Broke Protocol Website

Download the game Bugs and Suggestions Read the wiki Chat on Discord

GameSource

What is this?

This repo is a collection of methods in BP which are moddable by replacing this DLL. Instead of subscribing to the event, you can fully change how the event works. Only the most useful methods will be exposed to this API, more info about that here.

Installation

  1. Fork/Clone/Download repository.
  2. Open the just downloaded/cloned repository.
  3. Open the BP-GameSource.sln file using your favorite C# editor. (Suggested version is currently VS IDE 2019)
  4. Resolve references wherever needed. The BrokeProtocol.* namespace requires referencing Scripts.dll from the BrokeProtocol_Data/Managed/ directory.
  5. Make changes where needed.
  6. Rebuild source code, and copy + replace the .dll from YourServerFolder/Plugins/GameSource.dll with your newly compiled dll.
  7. Done! When you run your server it will now invoke that dll.

Exposed Methods

Please check the Offical API Reference for more info.