Separate permissions for commandsSuggestion

Hello,

Currently if I enable /online for players to use it also enables /who. I would like to make it so players can see /online only ad not /who. I think it is too op to let players be able to check who is online or not.

hey i was bored and needed that to here is the coppy

SbSmsqE4XQQODB4.jpg Smayt

hey i was bored and needed that to here is the coppy

Please do not post random versions in threads, if you feel like sharing a change, use code blocks to reflect the changed lines or share a full via PM.

2KxQQnsB6eCBoa4.jpg Wulf

Please do not post random versions in threads, if you feel like sharing a change, use code blocks to reflect the changed lines or share a full via PM.

ok gotcha didnt know that 

gonna do that next time

Is there anyway to disable /who for players so they can only use /online? I think it is a little broken being able to see online players by name.

4weed2weed0

Is there anyway to disable /who for players so they can only use /online? I think it is a little broken being able to see online players by name.

You can remove the command so they can't access it.
h7AydE14aBWdZxU.jpg Wulf
You can remove the command so they can't access it.

What do I delete in the config file to accomplish this?

4weed2weed0

What do I delete in the config file to accomplish this?

You can change the command name in the lang or delete the Command attribute for that command in the plugin itself.
dAxEZYFX4zA5f0t.jpg Wulf
You can change the command name in the lang or delete the Command attribute for that command in the plugin itself.

I don't understand what I need to delete in the language folder. I don't know how to delete the command attribute for /who.



Merged post

I edited my Eng Lang as this but I can still do /who

{
"AdminCount": "{0} admin online",
"AdminList": "Admin online ({0}): {1}",
"NobodyOnline": "No players are currently online",
"NotAllowed": "You are not allowed to use the '{0}' command",
"OnlyYou": "You are the only one online!",
"PlayerCount": "{0} player(s) online"
}

After I save the config file and reload the mod. I then type /who and it changes the file back to:

{
"AdminCount": "{0} admin online",
"AdminList": "Admin online ({0}): {1}",
"NobodyOnline": "No players are currently online",
"NotAllowed": "You are not allowed to use the '{0}' command",
"OnlyYou": "You are the only one online!",
"PlayerCount": "{0} player(s) online",
"PlayerList": "Players online ({0}): {1}"
}

Am I editing the wrong thing?



Merged post

I changed the plugin and now it doesn't show /who. But if you type /who is shows this in chat. Is there any way to make it so it doesn't say playerlist? https://gyazo.com/66dcc3f04a10ef695e08220b2bace8dc