PDA

View Full Version : Change to getOwner



Blackfoot
February 3rd, 2026, 13:46
I used to be able to do something like

node.getOwner()
and it would return a string as with the name of the owner of the node, but that doesn't seem to work anymore.
How is this being handled now?

Trenloe
February 3rd, 2026, 14:35
Referring to the developer documentation: https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/996644722/databasenode#getOwner there's a couple of things:

1) This is only valid on the host.
2) It's recommended to use DB.getOwner now.