tModLoader

tModLoader

HERO's Mod
Losing my Admin Account in my server
i made an second admin accound on my multiplayer server and cuz i dint knew the passwoed to the alt admin i made the alt un admin and then the admin accound got delletet so i dont have admin on my server anymore can anybody help me there?
Showing 1-5 of 5 comments
Shaxx's Waifu Jul 3, 2022 @ 9:50pm 
Documents folder, My Games folder, Terraria folder, tModLoader folder, make sure it has the t at the beginning, that's the latest version, 1.3 used a "modloader" folder

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!
Last edited by Shaxx's Waifu; Jul 3, 2022 @ 10:05pm
B.I.G German Guy Jul 4, 2022 @ 12:18pm 
thanks
VVNDRLNDR Jul 22, 2022 @ 1:48pm 
thank you saint. will my hero's mod be okay when i cleared the accounts I do no want?
Shaxx's Waifu Sep 3, 2022 @ 6:04am 
I know it's been a few months, but yes your HEROsmod will be ok if you clear out all the accounts you don't want, @thanatos.

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.
Avarissce Sep 22, 2022 @ 1:22am 
FOR LINUX USERS:

/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.
Last edited by Avarissce; Sep 22, 2022 @ 1:23am
Showing 1-5 of 5 comments
Per page: 1530 50