Skip to content

GlobedGD/argon-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Argon Server

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).

Building the server

rustup override set nightly
cargo build # or cargo build --release

Config & run (central)

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"
    }
]

Config & run (node)

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages