Command Conflict modifyworld.chat.private essentials.msg

Discussion in 'Bukkit Help' started by Petes, May 24, 2015.

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

    Petes

    Hello, I'm trying to configure my first server and I want my players to be able to do the /tell command from modifyworld.chat.private but in order to enable it I also have to enable essentials.msg because there is a conflict, the problem is that I don't want my players to use the /msg command. Is there any way to enable /tell without having to also enable /msg while using essentials and modifyworld at the same time?
     
  2. Offline

    JWhy

    Commands and permissions aren't the same thing. Don't give your players the permission for Essentials' /msg command. You should also disable it in Essentials' config.yml
     
  3. Offline

    Petes

    That's the problem, If I disable the permission for the essentials msg command, /tell will stop working.
    Here's some debug info and the permissions.

    Permissions
    - modifyworld.chat
    - modifyworld.chat.private
    - -essentials.msg
    - -essentials.mail
    - -essentials.socialspy

    Debug info:
    [20:45:50 INFO]: M33 issued server command: /tell
    [20:45:50 INFO]: [PermissionsEx] User M33 checked for permission 'modifyworld.chat.private', regex-matched a value of true from cache.
    [20:45:50 INFO]: [PermissionsEx] User M33 checked for permission 'essentials.mail', regex-matched a value of false from cache.
    [20:45:50 INFO]: [PermissionsEx] User M33 checked for permission 'essentials.msg', regex-matched a value of false from cache.
    [20:45:50 INFO]: ºcM33 º4was denied access to command.

    *As you see access to the command is denied evethough modifyworld.chat.private is enabled.

    I commented out the commands like this in Essentials config.yml

    socialspy-commands:
    # - msg
    # - tell

    player-commands:
    # - msg
     
  4. Offline

    Petes

    I managed a workaround adding this to the commands.yml file

    msg:
    - []

    That will disable the msg command while still having essentials.msg enabled. Beware there are many other commands added by essentials and I don't know how to tell which ones exactly, so you may end up with surprises from users that know them.

    Some other commands you may want to disable: msg: w: r: mail: m: t: whisper: emsg: er: reply: ereply: etell: ewhisper: pm:

    Something you can do as an extra layer of security is to disable TAB autocomplete for example in spigot.yml do "tab-complete: -1", so other players cant figure out weak points or your plugin list by doing "/TAB", but that leaves you too without the TAB autocomplete function since it's not a per user setting.
     
Thread Status:
Not open for further replies.

Share This Page