Multi server identifier

Hi mate, great plug-in


I have been thinking of a "possible solution" for multi server. Do you think you can add ID to the roll assignment eg. A data file that contains something like IPaddress:portnumber of the server, that assigned the roll as an identifier. And that way the plug-in will only Handel users/players that have been assigned by the plug-in with that identifier.

 

 

Maybe a option in the config of the plug-in

multipel Server: enable

server ip: xxx

server port: xxx

if this is needed, I don't know if oxide hooks can provide ip and port of a server :)

 

do you think this would be possible?

Tracking which roles were give to each user would be pretty intensive in the long run. You'd end up with a pretty bloated data file. It's entirely possible to do multi-server with the plugin as long as you make sure that any sync that goes from server -> discord doesn't assign a role that is being assigned by another server. That is that the only restriction the current design would have and it makes sense to have separate roles being assigned from server -> Disord IMO.

i agree as adding the same donor role or verified many times is pointless i feel there needs to be a thing as it spamms adds and removes

maybe check when they logon on spawn

or a database? liaten i caN pay for this too