ADCH++ 2.x: How to create an account on an clean install

Created by Toast
Keywords:
Last updated by:
Toast

This simple FAQ will show how to register an account on an clean installation

first edit your adchpp.xml located in the config folder and enter ports and name for the hub then start it up enter and type

+regme <your desired password>

then shut it down open up users.txt located in the config folder and edit your account level

example:

[09-10-02][21:37:19] *** Connecting to adc://localhost:411
[09-10-02][21:37:19] *** Connected
[09-10-02][21:37:19] <ADCH++> MOTD content goes here
[09-10-02][21:37:56] <Testuser> +regme test
[09-10-02][21:37:26] <ADCH++> You're now registered

example user.txt
[{"password":"test","nick":"Testuser","level":1,"cid":"ABCDEFGHIJ1KLMNOPQRSTUVXYZA23BCDEFGHIJK"}]

Change this to

[{"password":"test","nick":"Testuser","level":10,"cid":"ABCDEFGHIJ1KLMNOPQRSTUVXYZA23BCDEFGHIJK"}]

and start up the hubsoft again and now you will have access to administrator commands so you can reg new admins inside the hub with the command:

+regnick <nick> <password> <level>