Can someone make me a plugin that plays a ping sound when a player is mentioned? I don't have any money lol
Sorry, I'm a douche but:Can be done easily on AsyncPlayerChatEvent
Bukkit.getOnlinePlayers().forEach(player -> {
if (event.getMessage().contains(player.getName()) {
player.sendMessage("You have been mentioned by " + event.getPlayer().getName());
}});
(This was typed through the phone)
getServer().getOnlinePlayers().stream().filter(player -> event.getMessage().contains(player.getName())).forEach(player -> player.sendMessage("You have been mentioned by " + event.getPlayer().getName() + "!");
that is the worst excuse I have ever heard pertaining writing code.I said I was on damn phone ffs not gonna waste time writing all that on phone -.-
Holy shit this reminds me of my ex girlfriend we constantly argued over stupid things, but she was in the wrong aha, also thanks for the code my friend but I am a dumbass and can't make pluginsI gave you constructive criticism, besides, writing a filter would be easier in a phone than using an if statement. Stop trying to show someone how to utilize lambdas if you yourself do not understand them.
Haha, do you still need the plugin? I could get this done in a minuteHoly shit this reminds me of my ex girlfriend we constantly argued over stupid things, but she was in the wrong aha, also thanks for the code my friend but I am a dumbass and can't make plugins
But not sure why you would like to help me, there is no pay, sorry someone already made the actual plugin now, can you make me a plugin called /apply that spits out some text?Haha, do you still need the plugin? I could get this done in a minute.
Sure, pm me and I'll get it done for you.But not sure why you would like to help me, there is no pay, sorry someone already made the actual plugin now, can you make me a plugin called /apply that spits out some text?
