Use different database per server?

i want to have xp/money in two different servers but not cross over the data. i thought i’d just sue two databases but the lookup or create server id part doesn’t allow me to just name the databases the server id and now im stuck as to how to get servers to use seperate databases

You can just have a server_id column and use that when creating or getting rows.

does that need a duplicate column in the database? from what i assume that would still save to one database

Yes, it would be in one database. There would be two rows in that database for a specific user, one for each server. You would use the Server ID column to filter down to the one you want

1 Like

OOOOH that is so smart. i didn’t get it at first. tysm for explaining!

1 Like