Got it thanks!
Give us your plugin.yml
if(!e.getPlayer().hasPlayedBefore) {//do stuff}
Hey guys, I was wondering how I could download a project at GitHub and then open it in Eclipse so I can update it and then export it to a JAR. I...
I know, don't worry. I just forgot that I was checking the sender's name instead of the command.
Oooh........ Wow, I can't believe I didn't notice that.. was wondering why it worked in my previous projects. Lol. Thanks man.
CommandSender sc Nope. if(sc.getName().equalsIgnoreCase("xp")) { send player a message; } I don't get any message when doing this command....
Hey guys, my commands are registered in the plugin.yml correctly, but they aren't working. If you need the full code ask and I'll post it. This is...
;-)
Hi guys. Experiencing an issue where randomly you get kicked off a player. This is how I do it:...
I exported to the wrong path, so that was an outdated soucre! God, I'm an idiot! Thanks anyways!
Oooh.. Hold on. I edited my plugin and btw the sleep was for testing.. I got it working though. Some errors in my code. Thanks for your help anyways!
Read the thread title. :)
Fixed, remove thread please.
Because otherwise 90% of the server would be stuck, due to the fact that your locations are stored inside the playerdata.
It means that you're casting 'player' to a CraftLivingEntity.
No. Somebody could've been using somebody account, which means they have a Premium account, and they haven't paid.
@EventHandler public void onPlayerLeave(PlayerQuitEvent e) { Player p = e.getPlayer(); p.setLevel(0);...
Because he wanted to know if a player was premium, not if he paid for it.....
Ofcourse you can't check that.
Separate names with a comma.