CommandsToParse isn't working right
I have set it to an empty list, yet it still works with commands like /msg and /reply from EssentialsX.
# A list of private message commands on your server
# The plugin will attempt to parse placeholder inside these commands.
# This list is in REGEX, so you can do some more advanced matches.
CommandsToParse: []
The other issue is, when doing "/msg playername [inv]" it doesn't just share your inventory with the other player, but it also replaces your side of the message with the other player's inventory.
You need to also add all the command aliases such as /emsg etc.
no, I want to disable this feature, because it is exploitable, but I cannot disable it
Oh I misunderstood your question. When the message commands are not added to the CommandToParse IC Placeholders don't work properly.
This /msg thing also works with the default ones:
CommandsToParse:
- "(?i)/emsg .*"
- "(?i)/msg .*"
- "(?i)/pm .*"
- "(?i)/tell .*"
- "(?i)/r .*"
The issue isn't that the placeholders work or don't, the issue is that for example on a Factions server, player 1 can type "/msg player2 [inv]", and it will display player 2's inventory for player 1, and that is a huge advantage - I don't think it is supposed to work like this either. (as in the image I've sent above)