ReplaceRegex

ReplaceRegex

Disallow players to say words that you can configure in the config file. Punish them with Lightning, Damaging, Banning or kicking. More punishments will come later depending on what you suggest.

You can also use this plugin to have a message to ban players. Just add the player's name to the banlist.txt file and then edit 'Punishment.Ban.Reason' to the message you want to display they try to join as banned. This need to have 'Punishment.Ban.Enabled' to false if you want to use the plugin as a ban plugin. (Not recommended as there are better and more simple ban plugins.)


Permissions

PermissionsDescriptionDefault
replaceregex.bypass.*Bypass all punishments. (Including word replacement.)false
replaceregex.bypass.replaceBypass word replacementfalse
replaceregex.bypass.reportBypass being reportedfalse
replaceregex.bypass.lightningBypass damage punishmentfalse
replaceregex.bypass.banBypass ban punishmentfalse
replaceregex.bypass.kickBypass kick punishmentfalse

Configuration

Words:
- fuck:duck
- dick:mick
Punishment:
  Lightning: false
  Damage: 
    Enabled: true
    Amount: 2
  Ban:
    Enabled: false
    Reason: You have been banned for saying a bad word.
  Kick:
    Enabled: false
    Reason: You have been kicked for saying a bad word.
  Report to reportlist: true
  • Words - Put 'badWord:replaceWord' in the Words list and it will be blocked and replaced with the replaceWord.
  • Punishment.Lightning - Put it to true to strike a lightning at the player's location. (Not recommended if you haven't denied fire-spread in your protected area).
  • Punishment.Damage - Set 'Enabled' to true if you want players to get hurt. Put the amount of hearts you want it to damage the player. (0-10, not 0 - 20)
  • Punishment.Ban - Set 'Enabled' to true if you want to ban the player that said a bad word. Change 'Reason' to the text you want it to display when they get banned.
  • Punishment.Kick - Set 'Enabled' to true if you want to kick the player that said a bad word' Change 'Reason' to the text you want it to display when they get kicked.
  • Punishment.Report to reportlist - Set to true if you want to report the player to the 'reportList.txt' file

    There are two other files in the ReplaceRegex folder.
    Banlist A list of players that got banned by saying a bad word. (The plugin does NOT use the normal /ban command.)

    Reportlist A list of players that got reported by saying a bad word. The player's name will be in here if they said a bad word and the 'Report to reportlist' is set to true.

Commands

CommandsDescriptionPermission
/regexMain plugin commandNone
/regex reloadAllow access to reloading the configreplaceregex.reload
/regex addAdd a new blocked wordreplaceregex.add
/regex helpCommand helpNone

Donations

Donators: None yet.


If you wish to donate, click the button below.
Paypal Button

You must login to post a comment. Don't have an account? Register to get one!

  • 4 comments
  • Avatar of addemod addemod Aug 31, 2013 at 00:41 UTC - 0 likes

    @icheesy: Go

    Will do.

    BFAK:adde,37121,24b0ca691d95eba04b001290b5fe624dd85a0d2581fa4b713643f045899866f8

  • Avatar of icheesy icheesy Aug 26, 2013 at 00:42 UTC - 0 likes

    add non- case sensitive for the words

    Looking for fun?
    Item spawning server:

  • Avatar of addemod addemod Aug 19, 2013 at 07:39 UTC - 0 likes

    @Malseph: Go

    Haha, yeah I totally agree! xD

  • Avatar of Malseph Malseph Aug 16, 2013 at 23:27 UTC - 0 likes

    Thanks now i can finally ban people for saying swag and using hashtags. I dont know why you would ban for other language though... swag is the only offensive word i can think of.

  • 4 comments

Facts

Date created
Aug 11, 2013
Categories
Last update
Aug 13, 2013
Development stage
Release
Language
  • enUS
License
All Rights Reserved
Curse link
ReplaceRegex
Downloads
894
Recent files

Authors