#cant add admins
69 messages · Page 1 of 1 (latest)
As far as I know you can add admins via console. I don't remember the command.
yeah and i cant find it anywhere and the support team didnt tell me either
Let me Google the command
I found admin add username
Yes
yeah it doesnt do anything just add the line to the console but doesntchange anything
ive looded and tried everything in that already none of it seems to work on zap
According to my research you have to put the admins inside the configuration.toml file like this:
[admin]
users = ["username"]
is that the same file as admin.ron?
Nope
where do i find that file
config/config.toml
just put that in file explorer? lol
Uhm yeah, edit and upload it.
upload to what? im not server savvy obviously
As I understood the file has been downloaded when u wanted to open it, right?
Ah ok, i thought that you are doing it via ftp.
i was using the configs via the website
Alright, looks like my research wasn't correct. Admins.ron should be the correct file. Let me try to find its syntax.
this is what i see when i go to edit it
I found this online.
https://wiki.veloren.net/wiki/Userdata_Folder_Structure
And the command would be: adminify <user>
Please let me know if it works.
V1({[
"4741550989512566959",
]})
i got the number from the console'
2023-03-05T22:23:29.914577Z INFO veloren_server::login_provider: Validating token username_or_token="4741550989512566959"
gonna restart server to see if its invalid
yep its invalid
Well it's not because of the host. It's because of the server developers
well zap isnt making it easy
its just adding a admin it shouldnt be this confusing or hard
What a hosting provider does is setting up the server as the developers say. You will have the same issues on any other hosts.
well it seems weve run out of options
Well I'm looking for a solution
do you know hopw to find the uuid?
To get the UUID of a player in Veloren, you can use the /uuid command in-game.
says it couldnt find that command
could u link the page that said that
I'm gonna ask AI at the point XD
yeah i feel like ive tried everything
Here is what AI says:
1. Open the admins.ron file located in the veloren/data/ folder.
2. Add a user to the users list in the file, using this format:
"user": {
"name": "UserName",
"perms": ["admin"]
}
3. Save the admins.ron file.
4. Restart the Veloren server.
5. The user will now have admin permissions in the game.
should i put it in the V1{(}) or delete that and just copy paste?
Delete that
aight restarting now
"user": {
"name": "FearTheSol",
"perms": ["admin"]
}
like that right i dont need to edit anything else?
Correct
no dice even changed it in file explorer to no avail
Have you edited the right file? There are some files with "invalid" behind them.
yes it was the one without invalid, when i restart it just adds another invalid file
I would recommend to ask people from Verloren then. They have a discord server which is linked here: https://veloren.net/joinus/
Could you solve this yet?
