Recent content by Josh

  1. J

    Question Getting list of players on a server not connected through the proxy

    You can use the ServerInfo object to get a list of players connected to a specific server, even if that server is not connected to the proxy. ServerInfo serverInfo = ProxyServer.getInstance().getServerInfo("server_name"); // replace "server_name" with the name of the server you want to query if...
  2. J

    Question AsyncChatEvent Replace Content

    It looks like you're trying to replace a piece of text in the chat message with the player's level, using the replaceText method from the Component class. However, it's not clear from your code snippet what exactly is not working. One issue with your code is that you're using the AsyncChatEvent...
  3. J

    How do i spawn a npc ?

    Have you seen a plugin called Citizens? This might help, you'll be able to look at the source code and see how its done also here! https://github.com/CitizensDev/Citizens2 Hope this helps :)
  4. J

    Chat-GPT makes an Minigame with papermc

    Very interesting. I've managed to get it to do some exciting things! :)