[Plugin Request] LowerCase

Discussion in 'Archived: Plugin Requests' started by billytheDOLPHIN, Oct 5, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    billytheDOLPHIN

    Name: LowerCase

    Description: I want a plugin that changes all upper case chat to lower case chat. Say player "A" sent message "Hi How Are You" it would change it to "hi how are you". No matter what just make it get rid of all upper case characters.

    Permissions: lowercase.allow (any player with this node will not be affected by the lowercase plugin and will be allowed to chat as thet wish.)
     
  2. Online

    timtower Administrator Administrator Moderator

  3. Offline

    billytheDOLPHIN

    timtower
    That would be great tim. I am looking for a different chat plugin other then essentials chat and yours would do the trick. How long till you can add the new function?
     
  4. Online

    timtower Administrator Administrator Moderator

  5. Offline

    Freelix2000

    timtower
    Sounds more like 5 minutes... This is really the only important code in it:
    Code:
    @EventHandler
    public void chat(AsyncPlayerChatEvent e){
    if(!e.getPlayer().hasPermission("lowercase.allow"){
    e.setMessage(e.getMessage().toLowerCase());
    }
    }
    The rest from there is just the plugin setup.
     
  6. Online

    timtower Administrator Administrator Moderator

    Freelix2000 And who says that the hour is coding only? Who says that I am behind my laptop right now?
     
  7. Offline

    TheCount

    Let me know if this works.
     

    Attached Files:

  8. Offline

    Freelix2000

    timtower
    It is evident because you are online and just posted something, and while I haven't been watching the entire time of course, you were online when I posted that 5 minutes after you said it would take an hour. That means that unless you got off for 4 minutes, you were on for at least 5 minutes. =P
     
  9. Offline

    billytheDOLPHIN

  10. Online

    timtower Administrator Administrator Moderator

  11. Offline

    Freelix2000

    timtower
    Right... Forgot about phones. I have a dumbphone. =P Anyways, my estimation wasn't just for how long it would take you anyways, but just how long it would take in general.
     
  12. Online

    timtower Administrator Administrator Moderator

    Freelix2000 The coding is piece of cake, have everything setup anyways. But I had other stuff to do before I could start coding. ( that is why I said an hour )
     
  13. Offline

    TheCount

  14. Online

    timtower Administrator Administrator Moderator

  15. Offline

    billytheDOLPHIN

  16. Online

    timtower Administrator Administrator Moderator

    chatlikeme.overridelowercase
    That is the bypass permission, probably useful as well :p
     
  17. Offline

    billytheDOLPHIN

    timtower
    Never mind tim. I can't get your plugin to work at all. Can you please just send me the lower-case part or do i need to get someone else to do it?
     
  18. Online

    timtower Administrator Administrator Moderator

    billytheDOLPHIN How can you not get it to work? What part of it?
    And stripping it down to just the lowercase is waste of time, certainly when TheCount also posted something that follows your request by the letter.
     
  19. Offline

    billytheDOLPHIN

    timtower
    How it resets all the time. I edit it while offline like it says in the config, i start the server, and it resets :/
     
  20. Online

    timtower Administrator Administrator Moderator

    billytheDOLPHIN And what part do you edit then? It isn't really a plugin that will override everything.
     
  21. Offline

    billytheDOLPHIN

    I gave up. I don't like the configuration really either. If you don't want to make the plugin, i'll just find someone else.
     
  22. Online

    timtower Administrator Administrator Moderator

    Somebody else already did:
    ( second time I say that already )
    And I have that configuration with a reason: to configure the plugin to your likings.
     
  23. Offline

    MCaeolus


    I have developed this, if you would like it.

    Permission for bypass is: "nouppercase.bypass"

    I only show this because it's something I already had on me :p

    Link: https://www.dropbox.com/s/z3jhbz9ftqszu0d/NoUppercase.jar?dl=0
     
  24. Offline

    billytheDOLPHIN

    timtower
    Sorry tim I didn't even see this other link. Have a nice day.
     
  25. Offline

    TheCount

    Or you can try mine.
     
Thread Status:
Not open for further replies.

Share This Page