Server for the Argon authentication API. Written in Rust.
If you are simply looking to use Argon in your mod, more information on doing that can be found on the Argon repository. This repository only contains the documentation for the Server API (that you'll also need) and the Client API (that you will not need unless you want to make your own Argon client).
rustup override set nightly
cargo build # or cargo build --release
Running the executable will cause a Rocket.toml
and config.json
files to be generated in the current working directory, there you can adjust various settings.
Bot accounts that will be used for authentication should be added like so:
"accounts": [
{
"id": 29843187,
"gjp": "your gjp2"
}
]
Run the exectuable like so: argon-node.exe <server> <password>
where <server>
is the address and port of the node handler and password is the password. Both of those come from central's config.json
, and the central server you are specifying must have distributed_mode
set to true
.