LagFun
LagFun
Download:
Current Version: v1.1.0 Bukkit Project Files
What does it do?
LagFun is a plugin that changes instances of the word 'lag' to 'fun' when they are posted in the chat.
How does it work and how do I use it?
It uses the following Regex: \b[Ll]+\s*[Aa]+\s*[Gg]+
whenever a chat message is sent to filter out the word 'lag' and derivatives of it.
Note: this means words like 'lagoon' are also caught in order to change words like 'lagtastic' to 'funtastic' and etc.
Config:
regex
-- allows for custom filtering using regular expressions
Where can I find the source?
https://github.com/level1kid/LagFun
How it appears in-game:
Is there a way for admins to bypass it? As in perms or something?
@level1kid
Thanks for that - seems brilliant. :-) Now they have to go through the inconvenience of spelling it, letter by letter, line by line. :P Thanks again for a brilliant plugin!
@Jesermay
\b[Ll]+[\W]*[Aa@4]+[\W]*[Gg]+ should work.
@level1kid
@level1kid
Could you create a regex that stops anyone using the word 'lag', including using commas, any punctuation or symbols inside? For example, people can say l@a@g and l,a,g. This plugin would be ideal if all ways of saying lag in a string of characters was prohibited.
@level1kid
Thanks for the info. :-) I think I'll stick with your plugin, love it! :D
@Jesermay
\b[Ll]+[\s-\.]*[Aa]+[\s-\.]*[Gg]+ will stop - and .
If you wish to filter chat, check out: http://dev.bukkit.org/bukkit-mods/pwnfilter/ regex tut: http://regexone.com/
Could you tell me the correct way to write custom regex? I want to remove the word 'budder' and 'butter' also. Could it be possible to have different words for different regex?
@level1kid
I've noticed that you can still add "-" or "." or any other kind of symbol to act as a 'space' to still say lag. Is this something that can be easily configured with the new custom regex setting, or is it not going to be possible (or effective)?
Great work, nonetheless!
@level1kid
Thank you very much for the update, I'll see how it goes on! :-)
@Jesermay
I added spaces between letters and the option for custom Regex in v1.1.0. :)
note: v1.1.0 still has to approve
@level1kid
I really like you plugin - it's been working really well on my server. Some people have had the tenacity to try to avoid the plugin though, by spelling lag like this 'l a g' or 'la g'. Is there a way around that? (I'm pretty sure there wouldn't be, without messing up a load of normal words). Sometimes, users spell lag by typing in 'l' 'a' 'g' separately too. I know that that won't be fixable. All things considered, great work - this plugin is simple and very effective. :3
@level1kid
Thank you very much for a swift response, I'll apply it to my server now and give any feedback necessary if there are problems. Thank you for making an awesome plugin!
@Jesermay
It seems the jar has been approved!!!! Just download it from the files link or the download link in the top right.
Can I have the jar file to run it on my server, please?