Custom chat commands?

Discussion in 'Archived: Plugin Requests' started by Doc.Deniz, May 27, 2012.

  1. Offline

    Doc.Deniz

    Hi.

    I want to create custom chat commands, how can i do that?
    Ex: /whisper Hey, you there.
    **Playername whispers: Hey, you there.

    or..

    /ooc I'm afk for 2 minutes.
    (Out Of Character) Playername: I'm afk for 2 minutes.

    Thanks.

    Please :( I need this :(

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  2. Offline

    recon88 Retired Staff

  3. Offline

    Doc.Deniz

    I have been searching for more than 4 days. I could not find one.
     
  4. Offline

    Superkabii

  5. Offline

    Doc.Deniz

    This is not what i want. This is like a alias or command maker plugin.
    I need a chat plugin with custom commands and range support.
     
  6. Offline

    Superkabii

    ...what? Seems to be just what you've explained.
     
  7. Offline

    np98765

    You would need to download a plugin that allows you to use the features you want. Then, using Superkabii 's suggestion of CommandHelper (it's quite good), you would have to define an alias.

    For your example, though... '/whisper <player> <message>' turns into "**<player> whispers <message>"...

    You really can't reformat a plugin's output unless the dev makes a config for it, or you change the source code. Now, I'm not a developer, but what are your uses for this (just curious)?
     
  8. Offline

    Superkabii

    np98765
    For example:
    CommandHelper Script:
    Code:
    /ooc $ = broadcast(sconcat('(Out Of Character)', player(), $))
     
  9. Offline

    np98765

    I was talking about message... Actually, could you send a msg() to the specified player()?

    But I meant that he would have to have a whispering plugin to be able to whisper (unless the above is true).
     
  10. Offline

    Superkabii

    The broadcast() method sends to all, tmsg(player, message) could be used for the whisper case.
     
  11. Offline

    Doc.Deniz

  12. Offline

    np98765

  13. Offline

    Doc.Deniz

    Maybe somebody knows a plugin like this.
     
  14. Offline

    fredghostkyle1

    in bukkit.yml you can allies the command
     
  15. Offline

    Doc.Deniz

  16. Offline

    chaseoes Retired Staff

  17. Offline

    Doc.Deniz

    Yes it is, I'm using it now. But It is uncompatible with Citizens. That's why I want a new plugin.
    Citizens is very important for my RPG server.
     
  18. Offline

    JollyGiant16

    Doc.Deniz
    Tell me what commands you want I'll make you the plugin aslong as I get credit or [Developer] Rank

    [​IMG]

    WithOut my Name in the front!
    Also I'll fix
    (Out Of Character) JollyGiant13: I'm going to be afk for 2 mins

    With Custom Config to change
    (Out Of Character)
    to
    (Busy Character)
    or
    (Away from Keyboard)
    or
    (AFK PLAYER)

    Anything needed

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  19. Offline

    Doc.Deniz

    I PM'ed you.
     
  20. Offline

    Doc.Deniz

    Anybody?
     

Share This Page