Thread Tools Display Modes
Prev Previous Post   Next Post Next
02/25/18, 08:16 AM   #1
BoarGules
 
BoarGules's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2017
Posts: 34
Can an addon find out which server it is running on?

I have a user who switches between the EU and the NA servers and remarks that saved variables are being carried over from the one server to the other, which isn't really surprising, since they live in live\SavedVariables, which is used irrespective of which server the client is running against. There is a separate folder for the PTS, and there used to be a separate folder for the EU server (liveeu), but that went away over 2 years ago.

This is inconvenient because the addon saves things that relate to guild membership.

Is there a way for an addon to find out which server it is running on so that the code can know to invalidate the stored data?
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » Can an addon find out which server it is running on?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off