How do i get what a player says?

Discussion in 'Plugin Development' started by ShadowWizardMC, Jul 18, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    ShadowWizardMC

    Ok so what I'm doing is that im gonna name players on my server with this plugin when they join ...
    So when my plugin ask when they join the server "What would you like to be called?:" how do i get what the player says after that? Keep in mind they can change it whenever they want with a command so its not like i can use the PlayerChatEvent to immediately get their input name.
     
  2. Offline

    AoH_Ruthless

    ShadowWizardMC
    Use the ConversationAPI.
    Or after that message is sent to them store them in a HashSet. If they are in the Set and type a message, get their message using AsyncPlayerChatEvent
     
  3. Offline

    1Rogue

    Or just make a command for setting your name and point it out to them.
     
  4. Offline

    Deleted user

    ShadowWizardMC
    Ooh.
    For this, I recommend using the Command Block GUI resource. It'll look awesome as well as have full functionality.
     
  5. Offline

    ShadowWizardMC

Thread Status:
Not open for further replies.

Share This Page