Ok I have a code that has a timer on it after an event. Problem is if someone does another event then the event tag in another plugin seems to change for event.player. Can I just make the event name unique?? That is as follows:
public void onObjectInteraction(PlayerObjectInteractionEvent tcevent)
Instead of
public void onObjectInteraction(PlayerObjectInteractionEvent vent)
Or is it better to assign a different variable to the player in
playerreal = Player player = tcevent.getPlayer();
versus
Player player = event.getPlayer();
or do is it best to capture the UID during the timer so it is not interfered with by another player? Looking for best safe form.. not necessarily making a big DB read/write to insure the timer executes with the correct player name