Filled AutoCommand / ChatCommands

Discussion in 'Plugin Requests' started by SimplyBrandon1, Jul 28, 2016.

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


    Plugin category: Chat / Commands

    Minecraft version: 1.8-1.9

    Suggested name: AutoCommand or ChatCommands

    What I want: I would like a plugin that listens to chat. When it detects a key phrase that is set in the config, the console issues a custom command which is also set in the config. An example, simple config would be:

    'ET go home'
    Commands to issue:
    - /home {Player}
    Required permission:
    Ideas for commands:
    ac reload (/autocommand reload)
    /cc reload (ChatCommands reload)

    Ideas for permissions: Custom permissions set for each phrase.

    When I'd like it by: ASAP

    ~ Thanks.
    Last edited: Jul 28, 2016
  2. Offline


  3. Offline


    You are not going to get a developer with this line. It shows you are impatient and plugin developers do this in their spare time. Please be more reasonable
  4. Offline


    That is the default. I just didn't change it. I didn't mean it in an unreasonable way. Also, thanks @htmlman1
  5. Offline


  6. Offline

    I Al Istannen

    May want to remove the debug output? ;)
    Here are some examples. If you use eclipse, I would press Ctrl+Shift+F in IntelliJ and search for "System.out".
    In eclipse press Ctrl+H and use the arrows in the top right to navigate to the "File Search" tab. Search there for the same. Sorry if you already knew the shortcuts, you never know ;)

    But looks nice otherwise and I like the Mary Poppins reference ;)

    Do you actually need the quotes in the config for the phrase? Just curious. :)

    Have a nice day!
  7. Offline


    Ah, nice catch! Forgot to remove them this time as I was in a bit of a rush when I made the plugin, haha. (Glad to see at least one person appreciated the Mary Poppins reference, haha!)

    Also, the quotes serve as insurance. They're just there to make sure that the YAML parser treats the string as a key of its own, with no special characters interfering.
    I Al Istannen likes this.
  8. Offline


    @htmlman1 thanks so much! I will check it out in a second. :)
  9. Offline


Thread Status:
Not open for further replies.

Share This Page