Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name = "env_samp"
version = "1.0.0"
edition = "2024"
authors = ["NullSablex"]
repository = "https://github.com/NullSablex/env_samp"
homepage = "https://github.com/NullSablex/env_samp"
repository = "https://github.com/NullSablex/env-samp"
homepage = "https://github.com/NullSablex/env-samp"
license = "AGPL-3.0-or-later"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion docs/dotenv-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ The file must be valid UTF-8. A leading BOM (`U+FEFF`) is stripped automatically

## Full example

[`examples/env`](https://github.com/NullSablex/env_samp/blob/master/examples/env) in the repository walks through every syntactic feature shown above in a single annotated file — copy it to `.env`, edit the values, and you're set.
[`examples/env`](https://github.com/NullSablex/env-samp/blob/master/examples/env) in the repository walks through every syntactic feature shown above in a single annotated file — copy it to `.env`, edit the values, and you're set.
6 changes: 3 additions & 3 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Drop the platform-specific binary into your server's `plugins/` folder and regis

## Artifacts

Each release at [github.com/NullSablex/env_samp/releases](https://github.com/NullSablex/env_samp/releases) ships:
Each release at [github.com/NullSablex/env-samp/releases](https://github.com/NullSablex/env-samp/releases) ships:

- `env_samp.so` — Linux i686 (`i686-unknown-linux-gnu`).
- `env_samp.dll` — Windows i686 (`i686-pc-windows-msvc`).
Expand Down Expand Up @@ -40,8 +40,8 @@ Drop the binary into `plugins/` and declare it under `pawn.legacy_plugins` in `c

Place a `.env` file alongside your server executable. The plugin reads `./.env` on `OnGameModeInit`. See [.env format](dotenv-format.md) for the accepted syntax.

A ready-made template lives in the repository at [`examples/env`](https://github.com/NullSablex/env_samp/blob/master/examples/env) — copy it to `.env` and replace the values.
A ready-made template lives in the repository at [`examples/env`](https://github.com/NullSablex/env-samp/blob/master/examples/env) — copy it to `.env` and replace the values.

## Example gamemode

A minimal Pawn script wiring every supported type lives at [`examples/example.pwn`](https://github.com/NullSablex/env_samp/blob/master/examples/example.pwn). It's also the script used to smoke-test the plugin during development.
A minimal Pawn script wiring every supported type lives at [`examples/example.pwn`](https://github.com/NullSablex/env-samp/blob/master/examples/example.pwn). It's also the script used to smoke-test the plugin during development.
2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ printf("[env_samp] Variables loaded: %d", EnvCount());

## Full gamemode example

A complete Pawn script exercising all four types and `EnvCount` lives at [`examples/example.pwn`](https://github.com/NullSablex/env_samp/blob/master/examples/example.pwn) in the repository, paired with [`examples/env`](https://github.com/NullSablex/env_samp/blob/master/examples/env) as a copy-and-edit `.env` template.
A complete Pawn script exercising all four types and `EnvCount` lives at [`examples/example.pwn`](https://github.com/NullSablex/env-samp/blob/master/examples/example.pwn) in the repository, paired with [`examples/env`](https://github.com/NullSablex/env-samp/blob/master/examples/env) as a copy-and-edit `.env` template.
2 changes: 1 addition & 1 deletion include/env_samp.inc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* env_samp v1.0.0 - Environment Variables Plugin for SA-MP and Open Multiplayer.
* Author: NullSablex
* Repository: https://github.com/NullSablex/env_samp
* Repository: https://github.com/NullSablex/env-samp
* License: AGPL-3.0-or-later
*/

Expand Down
2 changes: 1 addition & 1 deletion include/env_samp.inc.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* env_samp v{{VERSION}} - Environment Variables Plugin for SA-MP and Open Multiplayer.
* Author: NullSablex
* Repository: https://github.com/NullSablex/env_samp
* Repository: https://github.com/NullSablex/env-samp
* License: AGPL-3.0-or-later
*/

Expand Down
6 changes: 3 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ site_description: Environment variables (.env) plugin for SA-MP and Open Multipl
site_author: NullSablex
site_url: https://env-samp.nullsablex.com/

repo_name: NullSablex/env_samp
repo_url: https://github.com/NullSablex/env_samp
repo_name: NullSablex/env-samp
repo_url: https://github.com/NullSablex/env-samp
edit_uri: edit/master/docs/

docs_dir: docs
Expand Down Expand Up @@ -90,4 +90,4 @@ nav:
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/NullSablex/env_samp
link: https://github.com/NullSablex/env-samp
Loading