Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Finally, there's a HEROsModDatabase.json
Open it up and you should see some code that tells you the Account Names and their Passwords that HERO'smod looks for.
-1 is an Admin Account, 0 is Default, and any other numbers are different groups you may have made. You can change all the information in here if you need, like passwords (in case you mispelled it when you registered lol) and Admin in case you forgot which one was the Admin or your situation happened where it was deleted somehow.
I hope this helps. Had a similar issue myself lol
EDIT: I should had that .json files can be opened with Notepad, or you can get Notepad++ which is a free program you can install that does all the same stuff as Notepad but makes it look nicer for you.
If none of that worked, then consider uninstalling HERO'smod, delete any files that have HERO'smod in the name in the tmodloader Folder, and then try again. It will be like a fresh install, where the first account you make is automatically admin again.
Good luck!
The script for accounts, permissions, and passwords is very simple. Simply changing permissions by changing 1's and 0's or changing passwords should never have an adverse effect unless you accidentally remove a " : " or any apostrophes ' or commas , in which case, just be careful, or make copies if you're not sure what you're doing. Even then, it won't break the mod, it will just make the accounts invisible to the mod.
/home/XXXXX/.local/share/Terraria/tModLoader/HEROsModDatabase.json
This can vary based on both account and flavor, this was reproduced in zen1-1 5.19.8 ((Arch Linux))
Note: It took me a couple times of editing and relaunching the server for it to properly save. Keep in mind linux likes to work with what's already in ram and not referenced in files, unlike windows.