Filled Text Replace

Discussion in 'Archived: Plugin Requests' started by Red_Jay, Jul 17, 2014.

  1. Offline

    Red_Jay

    Plugin category: Chat Related

    Suggested name: TextReplacer

    What I want: A plugin that allows you to add words/phrases that can be replaced with other words when said in chat. So for example, if someone said in chat "I'm going to DDoS you" to "I'm going to hug you" That's just an example... There is a plugin that does this but it is for 1.6.4 and I tried it on a 1.7.2 server and it did not work.
    http://dev.bukkit.org/bukkit-plugins/textreplace/

    Ideas for commands:
    /tr reload (reloads config.yml)
    /tr add (1) (2) ---- OPTIONAL but would basically add to the config file when a player said whatever (1) was it would be changed to (2) So for example... /tr add DDoS hug

    Ideas for permissions: None really... Maybe ops just have permission to possible commands above?

    When I'd like it by: As soon as possible

    Also, I would like there to BE a config file that allows you to add words/phrases that would be replaced... Possible example

    # Text Replacer
    # Add words below to be replaced
    - DDoS : hug
    - ddos : hug
    - dDos : hug

    etc, that's just a possible example. Thanks.
     
  2. Offline

    Gamecube762

    Look up some anti-swear plugins, I know some has different ways you can choose to handle it: censor, warn, replace, remove, don't show message, ext.
     
  3. Offline

    Red_Jay

    Gamecube762 I tried that but I couldn't find any that allowed me to replace words, do you know of any off the top of your hand?
     
  4. Offline

    izarooni

  5. Offline

    Red_Jay

    izarooni I don't think it does, but I'll take a look. Thanks for the link.
     
  6. Offline

    izarooni

    Red_Jay
    <Edit by Moderator: Redacted mediafire url>
    Hope this is ok
     
    Last edited by a moderator: Nov 2, 2016
  7. Offline

    Red_Jay

    izarooni Will try it now, thanks.

    izarooni Absolutely perfect! Thank you so much! It has everything I asked for and works flawlessly from what I have tested.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  8. Offline

    Red_Jay

    izarooni 1 issue, it does not support special characters such as
    $
    (
    /

    etc
     
  9. Offline

    izarooni

    Red_Jay
    surround text with: '

    example:
    swear: '@$$'
     
  10. Offline

    Red_Jay

    izarooni Ah, I will try that, thank you
     

Share This Page