Discussion in 'WorldGuard' started by ckillers013, Nov 1, 2018.
Is there a way to customise message from 'blocked-cmds' flags like the flag 'deny-message' ?
Not at the moment. You'd have to modify the source and compile it yourself.
Thanks, I hope it will be implemented soon.
If it were to be implemented, I imagine it'd probably use the deny-message.
I think there's stuff to do with a different message, like showing why some commands are blocked, not like a global message.
If we use deny-message for both denied actions and denied commands, we need to adapt it (This is a restricted area, you have no permission here, ...).
Basicaly, my idea is to set some regions for PVE stuff, deny-message say we're on some enemies territory, and some "cmds-message" say that there's no way to go back.
I know this is just a little feature, not critical stuff, but if one day... RP server will thanks you I think.
Deny-message can be adapted somewhat to different actions.
/rg f region deny-message "You can't %what% here"
If they added blocked-cmds to this, they could replace %what% with "run that command".
It sounds like you want far more specific messaging. That might be a better fit for a separate plugin using the WorldGuard API.
Exactly what I'm looking for.
Actually that default message act like it show to players what is blocking some actions.
What I want to do is showing why those actions are blocked.
Separate names with a comma.