mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-04-17 17:36:22 +02:00
Track UUID for future use.
This commit is contained in:
parent
016b39726c
commit
6798615507
4
.gitignore
vendored
4
.gitignore
vendored
@ -46,4 +46,6 @@
|
||||
.idea/
|
||||
*.iml
|
||||
target/
|
||||
dependency-reduced-pom.xml
|
||||
dependency-reduced-pom.xml
|
||||
/Essentials/config.yml
|
||||
/Essentials/userdata/testplayer1.yml
|
||||
|
@ -230,6 +230,7 @@ public class EssentialsPlayerListener implements Listener
|
||||
return;
|
||||
}
|
||||
|
||||
user.trackUUID();
|
||||
user.setLastLogin(currentTime);
|
||||
user.setDisplayNick();
|
||||
updateCompass(user);
|
||||
|
@ -870,6 +870,12 @@ public abstract class UserData extends PlayerExtension implements IConf
|
||||
config.save();
|
||||
}
|
||||
|
||||
public void trackUUID()
|
||||
{
|
||||
config.setProperty("uuid", base.getUniqueId());
|
||||
config.save();
|
||||
}
|
||||
|
||||
public void setConfigProperty(String node, Object object)
|
||||
{
|
||||
final String prefix = "info.";
|
||||
|
Loading…
Reference in New Issue
Block a user