edgegamers / Jailbreak

The classic Jail gamemode, ported to Counter-Strike 2.
https://bug.msws.xyz/agiles/168-3/current
GNU General Public License v3.0
29 stars 8 forks source link

# EdgeGamers Jailbreak

Discord

The classic Jail gamemode, ported to Counter-Strike 2.

Downloads

Release⠀⠀ Stable ⠀⠀ Dev

Release builds are our full releases. We try to keep these high-quality and bug-free, when we can. Our Stable builds run on EdgeGamers' own Jailbreak servers. Our Nightly builds are used exclusively for development and staging, and are likely to have problems.

Versioning

Our release tags starting from 'v2.0.0' follow the Semantic Versioning 2.0.0 standard, where MAJOR.MINOR.PATCH are incremented based on the following:

Status

Configuration

Configuration is done through CS#'s FakeConVars.

You can search for the list of configurable convars like so.

Modding

Want to fork Jailbreak and add in your own custom behavior? No sweat! The jailbreak repository is designed to act as a submodule.

git submodule add https://github.com/edgegamers/Jailbreak 

Once you have a dependency to Jailbreak.Public, you can add in whatever functionality you want from the current plugin, and choose to add in your own handlers if you wish. Don't forget to register them with the service container!

To boot your plugin, simply iterate over all services that inherit from IPluginBehavior, as demonstrated in src/Jailbreak/Jailbreak.cs:

foreach (IPluginBehavior extension in _extensions)
{
    //  Register all event handlers on the extension object
    RegisterAllAttributes(extension);

    //  Tell the extension to start it's magic
    extension.Start(this);
}

Building

The jailbreak plugin automatically builds to build/Jailbreak when using dotnet publish src/Jailbreak/Jailbreak.csproj. Please use SDK 8.0 or higher.

Note that only the src/Jailbreak project is intended to be built directly.

Using

Jailbreak requires Counter Strike Sharp. If you don't have that installed, follow the install instructions here.

Install the plugin like any other Counter Strike Sharp plugin: drop the Jailbreak folder into game/csgo/addons/counterstrikesharp/plugins.