Question - Unable Mycmd output #353


  • New
Open
  • Larniel created this issue Nov 25, 2022

    Idk if it's the right place to ask this question, but I didn't find mycommand forum. Is it possible to unable mycommand output when I increase/decrease a variable? With "/mycmd-variables add <variable> <value>" It returns the new value, but I don't want to see this.

  • Larniel added a tag New Nov 25, 2022
  • Larniel edited description Nov 25, 2022
  • Caley19_ posted a comment Nov 26, 2022

    You should use Script instead:

    runcmd:

    - '$Script$%Variable%your_variable=value' (works with string or number value)

    - '$Script$%Variable%your_variable+value' (the rest only with number as value)

    - '$Script$%Variable%your_variable-value'

    - '$Script$%Variable%your_variable*value'

    - '$Script$%Variable%your_variable/value'

     

    All Script commands/actions work inside the plugin and wont show anything in chat or in console.

    You can find all the details on using Scripts in wiki page: https://dev.bukkit.org/projects/mycommand/pages/configuration-and-examples-scripts


To post a comment, please login or register a new account.