'Forward' A Player's name For Commands

Discussion in 'Archived: Plugin Requests' started by brinaq, Feb 2, 2013.

  1. Offline

    brinaq

    Hello, I would like to know if there is a plugin (or a plugin can be created) to simply set a rule to forward a fake username (or any username) to another player. For example.
    So if I use this plugin to do, say...
    /fwp set brinaq John
    that will make it so if somebody does /msg John
    it will just run a command to send that to brinaq instead.
    and if you do
    /tp John
    it will make the person instead run a command to teleport to brinaq
    That's all I simply want, if somebody could please make this plugin for me that I really need.
    Thank you!
     
  2. Offline

    chaseoes

    On command preprocess replace "John" with "brinaq".
     
  3. Offline

    brinaq

    I am not developing a plugin though, Im requesting one.
    Do you think you could do this? :)
     
  4. Offline

    brinaq

    bump
     
  5. Offline

    turqmelon

    I could do this for you, when would you need it by?
     
    brinaq likes this.
  6. Offline

    brinaq

    As soon as you are comfortably able to, please :)
    thank you so much!
    turqmelon
     
  7. Offline

    Coelho

    Instead, you should replace " John " with " brianq " to make sure the word is not part of another.
     
  8. Offline

    turqmelon

    Finished. =) I'll post a download shortly. brinaq

    EDIT: Here you go! (Source code is there, as well.)

    Commands: (All start with /forwardname or /fn)
    • /fn <Name> - Changes or sets your command alias (forwardname.self)
    • /fn <Name> [Target] - Changes or sets another's alias (forwardname.other)
    • /fn off - Disables your alias (forwardname.self)
    • /fn off [Target] - Disables another's alias (forwardname.other)
    • /fn - Ingame help/shows your current alias
    Enjoy!
     
    brinaq likes this.
  9. Offline

    brinaq

    That was quick! Thank you so much!!! I really needed this!
    I'll tell you if all goes well :)
     

Share This Page