EssentialsX

EssentialsX

2M Downloads

Assistance w the /help command

bdmrsmokesganj opened this issue ยท 5 comments

commented

Plugin List :
plugins

I'm sorry for not following the template but I'm new to this and need a little help
so I have permissions setup w luck perms and my commands show in /help like so:
Untitled
but I am looking to remove the part at the top where it shows "Essentials: Plugin help: /help essentials" and "EssentialsSpawn: Plugin help: /help essentialsspawn"

I also cannot figure out how to hide commands from showing that I never gave perms for. When default players type "/help (space)" they see all kinds of commands that they dont have access to like so:
Not allowed commands
and I need to know how to hide those commands from default players so they only see the commands they have perms for.

commented

Just to add, you should make sure you haven't given players essentials.help.* by mistake - that permission gives players the ability to see all commands, not just ones they have access to.

It's probably also worth to mention that plugins can also relate to the issue. For example, Plugin Hide Pro.

How to allow the base command and some subargs? [Only for the commands lists]

If you are using whitelist mode and want the base command and only some subargs of the command to be executable, then you need the "~" after the base command: For example, you have the warp command with the subargs admin, test, player, city Then if you would like to allow "/warp", "/warp player", and "/warp city" to be executable, you would list it like this:

commands:
  - warp ~
  - warp player
  - warp city

Source

In other words, even if the commands are not permitted nor available, the following might expose command argument previews anyways:

groups:
  default:
    commands:
      - help
    tabcomplete:
      - help

In contrast, to hide everything:

groups:
  default:
    commands:
      - help
    tabcomplete:
      - help ~
commented

@F8ER Please don't bump years-old solved issues. EssentialsX provides this functionality by default as explained above - there's no need to use paid plugins to do the same job.

commented

For the first question, you can't remove this text unless you modify Essentials itself.
For the second question, I think you should look for a plugin that can disable the autocomplete, Essentials can't do that.

commented

You can actually write a help.txt file in the /plugins/Essentials/ directory to make it show whatever you want in the /help command. Although let me warn you that this is indeed tedious and you will have to specify all commands you want in it individually. However, of course, that gives you quite a lot of freedom about how you want the help formatted.

Completions for commands players don't have access to should typically not show up, but as ram is saying I don't think this is an issue with Essentials. If need be, you can install a plugin to block specific completions that you wish to avoid, but I'd suggest restarting your server first to see if the completions get reloaded with the correct permissions.

Hope that helps!

commented

Just to add, you should make sure you haven't given players essentials.help.* by mistake - that permission gives players the ability to see all commands, not just ones they have access to.