This page is a quick map of what commands exist and what they’re for.
For full help (including flags), use:
sampctl help
sampctl <command> --helpThere are no separate “server-only” commands in the current CLI.
You run a server by running a Pawn project:
sampctl ensure: download/update dependencies and runtime filessampctl run [runtime-name]: build (if needed) and run your project as a server
sampctl init: create a new project (pawn.json/pawn.yaml+ folder layout)sampctl install <dep...>: add dependency (writes topawn.json/pawn.yaml)sampctl uninstall <dep...>: remove dependencysampctl ensure: ensure dependencies (and runtime files) are presentsampctl build [build-name]: compile the projectsampctl run [runtime-name]: compile (if needed) and run in a runtimesampctl get <user/repo>: clone a GitHub package and ensure itsampctl release: create a versioned package release
sampctl check
sampctl check --fix
sampctl check --verbose
sampctl check --dir path/to/projectcheck validates settings, paths, Git, dependencies, optional pawn.lock, managed runtimes, compilers, and cached download lists. It reports interrupted work and pending cleanup. It searches the selected directory and its parents. Outside a project, only global checks run.
Checks are read-only, with no downloads or compiler execution. Problems appear first: ✓ passed, ✗ failed, ! warning. Redirected output, --bare, and NO_COLOR disable colour. Use --verbose for details. Missing prerequisites show "Skipped".
--fix removes invalid download lists, restores managed compiler execute permissions, and recovers recorded dependency, runtime, or compiler work. It can reinstall a managed compiler from its cached archive. Repairs use the installation locks and are verified. Custom compilers remain unchanged.
Invalid recovery metadata, ambiguous backups, symlinked cache paths, and hardlinked compilers need manual inspection. Archive integrity and unrecorded temporary files aren't repaired.
Exit codes: 0 for success, 1 for unresolved problems, 2 for command errors or cancellation. Informational warnings and skipped checks don't cause failure.
sampctl template make: create a template from a packagesampctl template build: build a file with a templatesampctl template run: run a file with a template
sampctl version: show the sampctl versionsampctl config: view/change global sampctl configsampctl compiler list: list compiler configurationssampctl completion: print shell completion scriptsampctl docs: print auto-generated markdown docs (advanced)