Aengo That event is deprecated. You have to use PlayerLoginEvent. Like I said in the original post.
_Belknap_ You're welcome. If this question has been answered please mark this topic as SOLVED! -If you ever need my help again, just PM ME or...
Gecco1234 Maybe try using, startsWith or endsWith instead?
Gecco1234 I'm pretty sure, the CloseInventory should work, does it trow any errors?
Gecco1234 What do you mean, virtual inventory?
Simple, just add
Aengo Yeah, but he never gives a reason for the ban, only for the kick
Gecco1234 What do you mean, it has colors?
Hi there, The game doesn't store the reason. I'd suggest making a HashMap<String, String> with "KEY=PLAYERNAME & VALUE=REASON". And then use the...
Mark it as solved and change name to "Please Delete"
Depends on what you want.
It works for me. Here are some things that might be wrong in your code: 1) Did you place a @EventHandler annotation 2) Does the class implement...
stamline You're welcome! -If you ever need my help again, just PM ME or create a new Topic
Why do you make them invisible and then immediently visible? EDIT: You also don't need to check if the players are visible/unvisible before...
Okay, I tried some things, and this worked for me: @EventHandler public void onPlayerInteract(PlayerInteractEvent event) { //Check if the player...
Hi there, Assuming that your config looks a bit like this: I'd suggest using something like this: public HashMap<String, HashMap<String,...
Hi, try this: public void onCreatureSpawn(CreatureSpawnEvent event) { //Check if entity is tnt if (event.getEntityType() == EntityType.PRIMED_TNT)...
Hi there, Heres a void you can call whenever you like (eg, Join event, Command) public static void unhideOPs() { //Runs thru all the...
Johny9020 You're very welcome! -If you ever need my help again, just PM ME or create a new topic!
Hi there, Two things that might help you finding a solution: 1) Don't use general names like 'need help' or 'can someone help me' but instead...
Separate names with a comma.