1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

remove the display of an command to a specific player

Discussion in 'Plugin Help' started by VirVolta, Oct 15, 2018.

  1. VirVolta

    VirVolta Silverfish

    Messages:
    16
    GitHub:
    VirvoltaSurMC
    [​IMG] Hello I would like to know how to remove the display of an command to a specific player



    Example this person does not have the Vip grade but he has the Fly command display but what I would like is that this display appears to the Vip person and not to the Player person without using the preprocess event or permissions
     
  2. wolfdale

    wolfdale Zombie Pigman

    Messages:
    535
    GitHub:
    diamond-gold
    You have to modify the AvailableCommandsPacket sent to that player
     
    HimbeersaftLP likes this.
  3. Kkora

    Kkora Baby Zombie

    Messages:
    189
    GitHub:
    shisui203
    delete the description in plugin.yml
    that is the fastest way!
     
  4. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    that will create a command that has no description
    it still shows in the command hints
    so that's not even effective
    also OPS now have 0 clue what that command does
     
    EdwardHamHam likes this.
  5. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.