A handy CounterStrikeSharp template
Find a file Use this template
marked e517b193e5
All checks were successful
Build / Build (push) Successful in 39s
Initial push
2025-04-05 18:27:50 +02:00
.forgejo/workflows Initial push 2025-04-05 18:27:50 +02:00
lune Initial push 2025-04-05 18:27:50 +02:00
src Initial push 2025-04-05 18:27:50 +02:00
.gitignore Initial push 2025-04-05 18:27:50 +02:00
.luaurc Initial push 2025-04-05 18:27:50 +02:00
CSSharpTemplate.sln Initial push 2025-04-05 18:27:50 +02:00
LICENSE Initial push 2025-04-05 18:27:50 +02:00
PROJECT-SETUP.md Initial push 2025-04-05 18:27:50 +02:00
README.md Initial push 2025-04-05 18:27:50 +02:00
stylua.toml Initial push 2025-04-05 18:27:50 +02:00

CSSharpTemplate


Description

Installation

  1. Download the latest build artifact from the build action
  2. Extract it in addons/counterstrikesharp/plugins

Development

Setup

This project uses Lune to feature a cross-platform helper script.
To install it, fetch the latest binary from GitHub releases, or install it via cargo:

cargo install --locked lune

Building

For a basic debug build, run:

lune run manager -- build

To specify a configuration:

lune run manager -- build --configuration CONFIGURATION

To replicate the built plugin to a docker container:

lune run manager -- build --replicator docker --remote-output container-id:/path/to/plugin

To replicate the built plugin to a remote machine:

lune run manager -- build --replicator ssh --remote-output username@hostname:/path/to/plugin

To replicate the built plugin to a docker container on a remote machine:

lune run manager -- build --replicator ssh-docker --remote-output username@hostname->container-id:/path/to/plugin

You can also write a custom replicator in Luau under lune/manager/replicators.