Thread: How can i fix ::player commands

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11  
    Extreme Donator

    woof woof bish's Avatar
    Join Date
    May 2011
    Age
    26
    Posts
    2,444
    Thanks given
    2,212
    Thanks received
    1,019
    Rep Power
    5000
    Quote Originally Posted by gangsterzmbie View Post
    when i use the command it pop up but only shows my acc.
    Dude cmon... Can you be more specific about what the current problem is?
    First you said it's showing five players even though there is only 1 player online. > Now you're saying it's showing only one player? So what is the problem?

    PS: Use tags when you insert a code..
    Reply With Quote  
     

  2. #12  
    Registered Member
    Join Date
    Aug 2015
    Posts
    24
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Quote Originally Posted by Joris View Post
    So what does
    Code:
    PlayerHandler.getPlayerCount()
    do?
    i dont know lol.
    i am sorry i am just new with coding.

    Quote Originally Posted by Melania View Post
    Dude cmon... Can you be more specific about what the current problem is?
    First you said it's showing five players even though there is only 1 player online. > Now you're saying it's showing only one player? So what is the problem?

    PS: Use tags when you insert a code..
    sec i will show you a pic.

    Attached image

    Quote Originally Posted by Melania View Post
    Dude cmon... Can you be more specific about what the current problem is?
    First you said it's showing five players even though there is only 1 player online. > Now you're saying it's showing only one player? So what is the problem?

    PS: Use tags when you insert a code..
    Attached image

    https://ibb.co/jppKk8
    Reply With Quote  
     

  3. #13  
    Donator


    Join Date
    Jan 2014
    Posts
    1,652
    Thanks given
    428
    Thanks received
    501
    Rep Power
    221
    You should take some java courses before coming here with these questions. They are very simple to fix and require very low effort if you know just the basics.
    Reply With Quote  
     

  4. #14  
    Registered Member
    Join Date
    Aug 2015
    Posts
    24
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Quote Originally Posted by Joris View Post
    You should take some java courses before coming here with these questions. They are very simple to fix and require very low effort if you know just the basics.
    are there good turtorials for java?
    Reply With Quote  
     

  5. #15  
    Donator


    Join Date
    Jan 2014
    Posts
    1,652
    Thanks given
    428
    Thanks received
    501
    Rep Power
    221
    Quote Originally Posted by gangsterzmbie View Post
    are there good turtorials for java?
    Dude c'mon, its like the most used language what do u think...
    Reply With Quote  
     

  6. #16  
    Registered Member
    Join Date
    Aug 2015
    Posts
    24
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Quote Originally Posted by Joris View Post
    Dude c'mon, its like the most used language what do u think...
    i am here for help not to hear from someone what i need to do first lol.

    i just wanna know how to fix players that wont show 5 players but only 1 when there si only 1 player online.
    Reply With Quote  
     

  7. #17  
    Donator


    Join Date
    Jan 2014
    Posts
    1,652
    Thanks given
    428
    Thanks received
    501
    Rep Power
    221
    Quote Originally Posted by gangsterzmbie View Post
    i am here for help not to hear from someone what i need to do first lol.

    i just wanna know how to fix players that wont show 5 players but only 1 when there si only 1 player online.
    Well you also want to know how to add stuff like inferno (or infernal, whatever that is), I'm saying this for your own good because people will most likely stop helping you if you post 20 help threads with very basic stuff.
    Reply With Quote  
     

  8. #18  
    Registered Member
    Join Date
    Aug 2015
    Posts
    24
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Quote Originally Posted by Joris View Post
    Well you also want to know how to add stuff like inferno (or infernal, whatever that is), I'm saying this for your own good because people will most likely stop helping you if you post 20 help threads with very basic stuff.
    okay i will try to find a good turtorial.
    Reply With Quote  
     

  9. #19  
    Extreme Donator

    woof woof bish's Avatar
    Join Date
    May 2011
    Age
    26
    Posts
    2,444
    Thanks given
    2,212
    Thanks received
    1,019
    Rep Power
    5000
    Quote Originally Posted by gangsterzmbie View Post
    i am here for help not to hear from someone what i need to do first lol.

    i just wanna know how to fix players that wont show 5 players but only 1 when there si only 1 player online.
    lol dude if you're not willing to do what other people are telling you then you will never get a fix.

    enjoy your command:

    Code:
    			if (playerCommand.equalsIgnoreCase("players")) {
    				c.sendMessage("There is curently one prick online and that amount will never change anyways.");
    			}
    Reply With Quote  
     

  10. Thankful users:


  11. #20  
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    Try

    Code:
    player.message("There are currently " + PlayerHandler.getPlayerCount() + " players playing your server here.");
    Reply With Quote  
     

Page 2 of 3 FirstFirst 123 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 5
    Last Post: 05-27-2009, 10:27 AM
  2. how can i fix this
    By darky in forum Help
    Replies: 1
    Last Post: 05-05-2009, 02:54 AM
  3. Replies: 3
    Last Post: 04-23-2009, 04:17 AM
  4. how can i fix this? giving rep++
    By Darkie in forum Help
    Replies: 0
    Last Post: 02-24-2009, 05:48 PM
  5. How can I fix this...?
    By Josh™ in forum Help
    Replies: 6
    Last Post: 01-31-2009, 01:17 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •