1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

[Question] How could I change the [args:string] output before I send a command

Discussion in 'Development' started by Malakas, Mar 14, 2017.

  1. Malakas

    Malakas Silverfish

    Messages:
    16
    Here is a screenshot to see what I mean:
     

    Attached Files:

  2. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    at the moment there is no (easy) way. There is going to be a proper API for that in API3.0.0 I think you can expect it somewhat soon.
     
  3. Malakas

    Malakas Silverfish

    Messages:
    16
    I have a plugin (Made by FreeGamingHere) for this, but it does not exacly the thing I need
     

    Attached Files:

  4. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Muqsit likes this.
  5. Malakas

    Malakas Silverfish

    Messages:
    16
    Ok, thanks. You helped me a lot!
     
    HimbeersaftLP likes this.
  6. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    No problem :)
     
  7. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    If you registered the command, you don't need to override packet sending like CommandUsage. Instead, you can override generateCustomCommandData in the Command class implementation. This theory is not proved though.
     
    Primus, Muqsit and jasonwynn10 like this.
  8. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    Those are some OP hacks.
    Registering "login <password>" as a command isn't the solution.

    I can't believe someone capable of making such a plugin happens to be a bad code formatter and writer :3
     
    jasonwynn10 and HimbeersaftLP like this.
  9. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    #Blame@Ad5001
     
  10. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    @Ad5001 makes good plugins, that one just happens to not be formatted as well.
    I'm also pretty sure that it doesnt work with the latest api3/network branch
     
  11. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    StuckDexter and Matthew like this.
  12. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    This indeed works. I'm messing around with it right now.
     
    jasonwynn10 likes this.
  13. Ad5001

    Ad5001 Silverfish

    Messages:
    16
    GitHub:
    ad5001
    jasonwynn10 and Muqsit like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.