Ok I have a routine that is not an event. It is looking up something in a database. I have the playername as a string only but only the playername not pulled from get.Player and I want to look up and write the UID to the database. However everything I seem to find is looking for a event to capture the player interacting this is background filling of the database.
Any idea? I keep getting cant find UID or incompatible type
Player player = (playername) getName(); - I dont think this is correct but you get the idea that I need.
long UID = (player.getUID());
playername is the string I have from another class event.