Quote:
There is a state file for each world/plugin combination.
The file name will look like this:
a282eaabbecd18a56aa07f84-c8efc9f9e1edd118c6f2dbf5-state.xml
This is:
(world ID)-(plugin ID)-state.xml
Each world should have a unique ID, and each plugin should have a unique ID, thus each world's plugin's state should have a unique file name.
There is a state file for each world/plugin combination.
The file name will look like this:
a282eaabbecd18a56aa07f84-c8efc9f9e1edd118c6f2dbf5-state.xml
This is:
(world ID)-(plugin ID)-state.xml
Each world should have a unique ID, and each plugin should have a unique ID, thus each world's plugin's state should have a unique file name.
I need to emulate this to store files with a plugin. Like the state file, they need to be unique to the current player and world.
Where can I get the World ID? I've been hunting around for the appropriate function...