Hi, I've looked and looked: but, I can't find a plugin to block duplicate messages and send the player a message if they do a duplicate message. So, I'm requesting this plugin. Kind regards, Random.. Tags: timtower P.S: Source code would be nice for educational purposes.
I will make this but I still want to know why I got tagged. Most developers don't like random tags, including me
I probably shouldn't have, Someone told me on skype that you made plugins for people when they asked,, my bad. Anyway, Thanks for offering to make this!
If you would read my signature then it says otherwise, please also notify your skype contacts about that.
Thanks, as I said in the original OP source code'd be good, so, just for educational purposes I looked on JD GUI and, I thought "private HashMap<UUID, String> map = new HashMap();" wouldn't work?
RandomGuy137 In my code it is private HashMap<UUID,String> map = new HashMap<UUID,String>(); And as long as the left one is right the right one will work
timtower You could also store the time, so you can write the same msg again when that time is over: HashMap<UUID, HashMap<String, long>> msgs; make long equal to System.currentTimeMillis()