|
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..
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.
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."); }
Try
Code:player.message("There are currently " + PlayerHandler.getPlayerCount() + " players playing your server here.");
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |