Filled Complete Disable Of /ME

Discussion in 'Archived: Plugin Requests' started by toxictroop, Oct 20, 2013.

  1. Offline

    toxictroop

    I am need of a complete disable of the /me command as there is something wrong with this command on my server, even disabled in essentials it still works.
     
  2. Offline

    Pizza371

    I think you can disable it via Bukkit.yml, but otherwise you could cancel it on chat (or commandpreprocess)
    Code:
    public void onChat(AsyncPlayerChatEvent e) {
    if(e.getMessage().startsWith("/me") e.setCancelled(true);
    }
    edit toxictroop
     
  3. Offline

    JellybeanPrince

    remove the permission: bukkit.command.me
     
    timtower likes this.
  4. Offline

    toxictroop

    I dont have the permission enabled.
     
  5. Online

    timtower Administrator Administrator Moderator

    Enabled by default
     
  6. Offline

    toxictroop

    Its not in the bukkit.yml, and I cant code a plugin.

    So where do I remove it?
     
  7. Online

    timtower Administrator Administrator Moderator

    Depends on your permissions plugin, you need to negate the permission node
     
  8. Offline

    toxictroop

    Its permissionsEx
     
  9. Online

    timtower Administrator Administrator Moderator

    Then add the line:
    Code:
    -bukkit.command.me
    So in the config it will look like:
    Code:
    //Some nodes here
    - -bukkit.command.me
    //Some other nodes here
    
     
  10. Offline

    toxictroop

    into permissionEx or bukkit.yml and where?

    Nevermind sorted thanks a bunch for all your help in this thread!
     
    timtower likes this.
  11. Online

    timtower Administrator Administrator Moderator

  12. Offline

    toxictroop



    Wont work on linux. But works on my windows home machine.. just as I thought it was fixed and uploaded it to the dedicated linux.. :(
     
  13. Online

    timtower Administrator Administrator Moderator

    Error log?
     
  14. Offline

    Jade

    Marked as solved, as OP has said to disregard.
     
  15. Offline

    toxictroop



    There is no error log, after scanning through the logs. I tested it on my windows and it blocks the command, but when typing into linux both on the same rank as the permission was added, /me is still operational on the linux.
     
  16. Online

    timtower Administrator Administrator Moderator

    Java isn't that picky as far as I can tell ( to anybody that is gonna prove me otherwise: as far as I can tell )
    And are you sure that you have the same files?
     
  17. Offline

    toxictroop

    Exactly the same files.
     
  18. Online

    timtower Administrator Administrator Moderator

    Weird, could you provide a pastebin with the startup log?
     
  19. Offline

    toxictroop

    Sent a pm.
     
  20. Online

    timtower Administrator Administrator Moderator

    Could you post your permissions files?
     
  21. Offline

    toxictroop

    ok.. sent pm


     
  22. Online

    timtower Administrator Administrator Moderator

    toxictroop You know that your * operator is overriding the negate permissions?
    And please use the same conversation when you PM me again
     
  23. Offline

    toxictroop

    But the lower ranks should still be able to just disable /me
     
  24. Online

    timtower Administrator Administrator Moderator

    Does essentials have a /me? If so: Negate that one too
     
  25. Offline

    toxictroop

    and how..? I have disabled the command in the config file and it does nothing.
     
  26. Online

    timtower Administrator Administrator Moderator

    Search for the permission of the essentials /me command, just negate that like the other permission node
     
  27. Offline

    toxictroop

    oh ok.

    so - -essentials.me
     
    timtower likes this.
  28. Online

    timtower Administrator Administrator Moderator

    That is what I think then
     
  29. Offline

    toxictroop

    Nope still no luck.

    As I said the same permissions disable the /me off windows server, but not the linux.. weird..

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 4, 2016
  30. Online

    timtower Administrator Administrator Moderator

    I suggest that you take that to the developer of PEX and or the bukkit team
     

Share This Page