Question about UUID on AsyncPlayerPreLoginEvent

Discussion in 'Plugin Development' started by JasonDL13, Oct 13, 2014.

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

    JasonDL13

    Hi.

    So I have this server that has a ban list on a MySQL database. And I need an efficent way to make it so when people join, it can get there UUID and check if there banned. I'm not worried about the MySQL part, I'm worried about getting there UUID. Since the UUID Fetcher can take ~10 seconds to run sometimes. I saw there was a method on the Javadoc called ".getUniqueID()" in the AsyncPlayerPreLoginEvent. But I can't find it, and it's best if I use something that 1.7.2 can connect to. Like that or 1.7.5.

    Thanks.
     
  2. Offline

    fireblast709

    JasonDL13 I think getUniqueId() appeared in the AsyncPlayerPreLoginEvent from 1.7.6 and further (due to the UUID change)
     
  3. Offline

    JasonDL13


    Thanks ^^
     
Thread Status:
Not open for further replies.

Share This Page