Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-5785

Universal Command - React to every command with a specific argument

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Invalid
    • Icon: Minor Minor
    • None
    • None
    • This server is running CraftBukkit version git-Spigot-800b93f-8160e29 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
    • Yes

      Hi!

      Wouldn't it be cool to have, or is there something like an universal command:

      You'd register it like ... this for example "this.setUniversalCommand(new UniversalCommandClass());"

      Could be used if you want an argument on any of your plugins commands to trigger lets say the message "Hello".

      Example

      > /command specificArg

      Hello

      > /othercommand specificArg

      Hello

      This can be done manually.. I know.. but its just nice to have things dynamically isn't it?

       

      Have a good day!

            Unassigned Unassigned
            M4GG1 Magnus Brandt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: