Hello people, I have two questions: -How can I check whether the spielder for the first time on the server? -How can I give items a player Thank you ever =)
then learn to write in proper english dude. I could give you a code snipped to check if a player joined for the first time but now I don't feel like it anymore xD
No the reason is the giant font you used as if I'm stupid because I didn't know what you meant ..... >_> but I'll be nice, here: Code: Player p = event.getPlayer(); String name = p.getName(); File file=new File("world" +"/players/" + name + ".dat"); boolean exists = file.exists(); then you can simply check wether the boolean "exists" is true or false, therefore you know if the player is new or not. you can also get the world via the player but that has issues with the nether and stuff so I just use "world" because thats how mine is called ^^