How to manipulate offline player data


hey, can you help me?

How to solve this problem?
Thank you!


No idea what PlayerData is. What are you wanting to do exactly?


I want to manipulate data from offline players.
but I don’t know how to do it.
i need an example.
PS: English is not my native language; please excuse typing errors


Hes asking what data do you want to modify of a player?

Here is a example

User user;
boolean invun = user.get(Keys.INVULNERABLE).get();


Instead of get(PlayerData.class), try using getOrCreate(PlayerData.class).