Filled CustomTabCompletion

Discussion in 'Plugin Requests' started by FireFlies, May 8, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    FireFlies

    Minecraft version: 1.8.8

    Plugin name: CTC

    What I want: It's quite simple, when a player types in chat "/[TAB]" it would give him a nice list of all the commands he's able to do. I would need to put these commands in the config, and it needs to be per group, so someone with the permission ctc.moderator would have a different list of commands than someone with the permission ctc.player

    Config example:

    Groups:
    player:
    -
    spawn: '&7/spawn'
    - team create: '&b/team create'
    - ct: '&a/ct'
    permission: 'ctc.player'

    moderator:
    - banip: '&c/banip [name]'
    - mute: '&c/mute [name]'
    - kick: '&c/kick [name]'
    permission: 'ctc.moderator'

    Red = group name
    Purple = the actual command
    Green = what will be displayed

    In this example config, if the person with the ctc.player permission does /[TAB], this is what will be show to him: https://i.gyazo.com/797313aa2ba7f4123b37e25dff1407df.png

    And for the person with ctc.moderator: https://gyazo.com/bc338d46318da332a7128722675ed1b1

    You can cycle through the commands by tapping tab to go to the next one, like you would normally.

    The format is basically [COMMAND]&f, [COMMAND]&f, etc

    No commands

    Thanks so much in advance!

    Kind regards,

    FireFlies


     
  2. Offline

    PhantomUnicorns

    @Anyone who wants to do it or is thinking of it, I'm going to do it :p. I'm unable to complete it rn but tomorrow (Or the next one after that for sure) I'll be completing it
     
    FireFlies likes this.
Thread Status:
Not open for further replies.

Share This Page