Jump to content
  • 0

If player has no permission (@command)


Eross

Question


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.11
  • Content Count:  349
  • Reputation:   12
  • Joined:  04/05/20
  • Last Seen:  

Hi ! How to make the command that is not permited into player to return as message 'Unknown @command' ?? Like for example im a player with level 0 group .. I typed @item or any non-listed command for group 0 , instead of showing the message typed in public , it should show as Unknown @command ?? Coz its kinda embarassing .. I hope you understand my explanation lol ... Thanks best regards

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.11
  • Content Count:  349
  • Reputation:   12
  • Joined:  04/05/20
  • Last Seen:  

Hi guys ! I want to show a message '@<command_name> is Unknown Command.' instead of showing the typed command in public ... like example I dont have a permission to use @item ,but accidentally typed it ,this should only show a promt dispbottom with a suggestion command ... here are the example photos ..

Instead of this :

image.png.89c3dfe85d13cf0c5f77e5b995fa58a5.png

It should show like this :

image.png.28d1bf20d23c2e8c52eec1ad1ab3318d.png

 

I hope someone can help me ... its embarssing to players who accidentally mistyped commands and kinda issue when player is playing with GM commands in public

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

1 hour ago, Origami said:

Hi guys ! I want to show a message '@<command_name> is Unknown Command.' instead of showing the typed command in public ... like example I dont have a permission to use @item ,but accidentally typed it ,this should only show a promt dispbottom with a suggestion command ... here are the example photos ..

Instead of this :

image.png.89c3dfe85d13cf0c5f77e5b995fa58a5.png

It should show like this :

image.png.28d1bf20d23c2e8c52eec1ad1ab3318d.png

 

I hope someone can help me ... its embarssing to players who accidentally mistyped commands and kinda issue when player is playing with GM commands in public

conf/battle/feature.conf
// Atcommand suggestions (Note 1)
// If one type incomplete atcommand, it will suggest the complete ones.
feature.atcommand_suggestions: off

It seems that it only works on game masters or admin level.

Edited by Radian
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.11
  • Content Count:  349
  • Reputation:   12
  • Joined:  04/05/20
  • Last Seen:  

On 6/18/2021 at 7:22 AM, Radian said:

conf/battle/feature.conf
// Atcommand suggestions (Note 1)
// If one type incomplete atcommand, it will suggest the complete ones.
feature.atcommand_suggestions: off

It seems that it only works on game masters or admin level.

Not just the suggestion sir .. What I was saying is .. If the player has no permission to use the said command ,it supposed to show @command is unknown command instead of showing it in public ... I mean the typed words ... If I type @item and my group level i== 0 , there should be a displaybottom and wont publish my @item in public chat

Bump anyone please?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...