[DiscordArchive] With how much the NPCBots changes, would there be any issues converting an existing server to Tricke
[DiscordArchive] With how much the NPCBots changes, would there be any issues converting an existing server to Tricke
Archived author: Frost® • Posted: 2023-06-20T18:39:08.110000+00:00
Original source
In mysql
Archived author: Revision • Posted: 2023-06-20T18:39:39.761000+00:00
Original source
It's easier to just input the commands.
Archived author: Katris • Posted: 2023-06-20T18:39:45.252000+00:00
Original source
I considered that Frost, thanks. I did a little digging in the scripting which handles account creation and quickly noped on out of there
Archived author: Katris • Posted: 2023-06-20T18:40:31.556000+00:00
Original source
Looks a bit complicated
Archived author: Revision • Posted: 2023-06-20T18:41:45.631000+00:00
Original source
Well, passwords are not stored in the database - nor can you get the password from whats actually in the database. Of course inserting rows straight into the database is going to be a bother. If I wanted to automate it, for whatever reason I have to create the account frequently (whyyyyy?), I'd just create a module that'll do it on startup.
Archived author: Katris • Posted: 2023-06-20T18:46:56.384000+00:00
Original source
It would be a one-off event - I basically want the admin account to be created automatically during setup, so that when you boot the server for the first time, you can login straight away.
Archived author: Revision • Posted: 2023-06-20T18:48:42.149000+00:00
Original source
I don't see why you would need automation for a one-time thing
Archived author: Katris • Posted: 2023-06-20T18:48:51.578000+00:00
Original source
i think the most sensible approach would be calling `account create` programatically
Archived author: Katris • Posted: 2023-06-20T18:50:26.958000+00:00
Original source
for the same reason the install scripts exist in the first place. convenience
Archived author: Revision • Posted: 2023-06-20T18:50:37.973000+00:00
Original source
The install scripts are not a one-time thing