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

Type Hints!

Discussion in 'Facepalm' started by NFGamerMC, Jun 23, 2017.

  1. NFGamerMC

    NFGamerMC Spider Jockey

    Messages:
    30
    Hello,
    I saw some users with type-hints like @AppleDevelops while typing commands. Could someone please teach me how to do that with my command.
     
  2. NFGamerMC

    NFGamerMC Spider Jockey

    Messages:
    30
  3. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
  4. NFGamerMC

    NFGamerMC Spider Jockey

    Messages:
    30
    @Sandertv Could you show me a example of that in a plugin with a command.
     
  5. Intyre

    Intyre Administrator Staff Member PMMP Team

    Messages:
    81
    GitHub:
    Intyre
    Don't be lazy and at least give it a try! Why not in development? Why isn't this in facepalm?
     
  6. NFGamerMC

    NFGamerMC Spider Jockey

    Messages:
    30
    I just don’t understand
    My question is how does what sander put link to commands?
     
  7. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    If you'd read you could see an example in my BlockSniper plugin on the 1.4.0 branch. The code given in my tutorial is almost copy paste code already though, I don't see how you need more examples.
     
  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.