setPlayerInfo Vault, All Worlds

Discussion in 'Plugin Development' started by zssz2, Jun 19, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    zssz2

    Is there a way to setPlayerInfo for the specified player for every world?

    Right now, if you do for instance setPlayerInfoString(player, "display", "Some text")
    Vault will end up setting the info for that player, but it will only be for the world that the player is in at the time of the method being called, I want to to be for all worlds.
     
  2. Offline

    Sleaker

    Per the docs, you need to explicitly specify a null world if you want to set info in a global scope. All operation are performed in the current world for player objects.
     
  3. Offline

    zssz2

    Thank you very much. I see that now. Appreciate your insight (and Vault)!
     
Thread Status:
Not open for further replies.

Share This Page