Solved PLAYER HAS TO SEND MESSAGE WITH ARGUMENTS

Discussion in 'BungeeCord Plugin Development' started by JustixDeveloper, Apr 22, 2017.

Thread Status:
Not open for further replies.
  1. Hey guys,
    I've got a problem: I want, that a player performs the command ("/nick " + nick) but with p.chat("/nick " + nick) it doesn't work.

    Can you help me?

    Thank you
     
  2. Use p.performCommand("nick " + nick)
     
  3. p.performCommand doesn't exist in BungeeCord
     
  4. It should usually work. Maybe the player is not yet connected to a server.
     
  5. No the player performs the command /nick, but not /nick NAME
     
  6. Are you sure that your Name-String isnĀ“t just ""?
     
  7. I will look for it.

    That was the problem: I wrote cfg instead of cfg3.

    ExoBiTe, do you want the completed Plugin for free?

    If you want, reply with your skype name
     
    #7 JustixDeveloper, Apr 22, 2017
    Last edited by a moderator: Apr 22, 2017
  8. p.chat("/your-cmd");
     
Thread Status:
Not open for further replies.