A handy CounterStrikeSharp template
|
||
---|---|---|
.forgejo/workflows | ||
lune | ||
src | ||
.gitignore | ||
.luaurc | ||
CSSharpTemplate.sln | ||
LICENSE | ||
PROJECT-SETUP.md | ||
README.md | ||
stylua.toml |
CSSharpTemplate
Description
Installation
- Download the latest build artifact from the build action
- 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
.