• Resolved falconcoin

    (@falconcoin)


    where are you these stored? i wanted to add a few and i do not see the filters in the database either

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marcin

    (@marcinlawrowski)

    Hello,

    Do you mean commands like /ban UserName ? They are stored as separate files in wise-chat/src/commands directory. You have to create a class for new command, for example:
    WiseChatTestCommand.php
    and /test command will be available.

    • This reply was modified 7 years, 12 months ago by Marcin.
    Thread Starter falconcoin

    (@falconcoin)

    thank you i am there now looking at your code, not sure yet what the Dao etc is but will go thru it more..

    i want to be able to have a set of commands for the users and not just mods. what would we need to add and where to make that possible?

    Plugin Author Marcin

    (@marcinlawrowski)

    These commands are available only for logged in administrators. I’m afraid it would be a lot of coding in order to provide them for regular (anonymous) users as well.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘custom commands’ is closed to new replies.