@WolfMage1 If you put yourself on a team with a prefix and then chat (with no plugins that modify chat) you will have the prefix.
@Buckle_up That means any plugin that uses #getDisplayName from the player will also have the suffix you set. Although most plugins just use #getName
@Buckle_up You can either add the suffix yourself in the async chat event. Or put the player on a team and set a team suffix. Both work, but...
Can't you just create a method with the things you want to happen after the event?
Then when the event happens, just call the method of things you...
@DSCxSander 90% of responses will be the following:
1. Nobody will write code for you here.
2. If you want something done for you then go ask in...
@mouz_ If the difference is greater than 180 then set difference to 360-difference and then check if it's less than 25.
@mouz_ Just remember to account for the wraparound like I said.
@mouz_ Have you never seen this before:double a = Math.abs(d);
@mouz_ Let me show you a magical absolute value method.
You also need...
@mouz_ You could get both player's directions and subtract them, then take the absolute value, then see if the number is less than say 10 you know...
@pingpong1999 But what aboutBukkit.getOnlinePlayers().size()
@kampai Do you mean count how many people are online?
@SuperAidSlayZ For lava buckets use PlayerInteractEvent, and if they interact while holding a lava bucket, then cancel the event and tell them...
@Jackson489 Do you know if your plugin is even being enabled? Is the plugin.yml properly configured. Are you registering your events? etc.
Separate names with a comma.