Hi! My question is how can I change the default no permission message? So I want to change this message: 'I'm sorry, but you do not have permission to perform this command. Please contact server administrators if you believe that this is in error.' To: 'You do not have permission to use that command!' I checked the bukkit.yml but there isn't any option to change that message. If there are any plugins that are able to change this please link. Thanks for help
It be possible to extract the languages file and make the changes there. Craftbukkit.jar -> assets/minecraft/lang/en_US.lang However, the text inside that file is as you mentioned already. Might be another plugin showing that message, of which you'll need to edit that plugins language file. If you use NoCheatPlus, there is an override message for that. LHammonds
I checked the langauge file but it wasn't there. May there is a plugin which can change that message?
And I said as much in lines 2 and 3 of my 1st reply The 1st line was just to show where the original message is pulled from if there are NO plugins installed.
That message is showed when players try to use bukkit commands. For example when they try to use /plugins they get that message. Maybe it's hard coded in the jar?
Remove all plugins and see if you get the message in the bukkit file I mentioned. If so, then that is pulling from the bukkit language file. Now, if you add your permission plugin back in and your try the command again, does it change the error message? If so, you now know which plugin is spitting out that particular message. If not, continue to add the other plugins 1 at a time until you find it. LHammonds
I tried without plugins and I get that message again, so it supposed to be in the langauge file as you said. But I cant find it in that file
Ok then, I shall try to replicate it. What version/build of CraftBukkit are you running and what commands are you trying? EDIT: I extracted craftbukkit.jar (from CB 1.7.2) to a sub-folder and used X-Find to search the contents of every file in this folder and found the following file that contained that message: Code: org\bukkit\command\Command.class So it does in fact seem to be hard-coded. You'll have to use other plugins that can override that behavior such as NoCheatPlus LHammonds
And do you know any plugins that are able to change this message and it's up to date? I couldn't find any...
I have not personally gone searching for any. I just know that NoCheatPlus has an option to override the default permission errors because I use that to make it look like the command does not even exist on the server if the player doesn't have the right to use it. It helps me hide certain plugins I want to remain hidden.
I'm still looking for that plugin. I found some but they are out-dated or they not support colors. If somebody knows plugin like that I'm looking for please link Thanks for help