All the big servers like LifeBoat, BrokenLens, Cookie-Build have a count of players playing the particular game above the NPC. I can't find this plugin anywhere! I imagine this plugin would be simply to make, If someone would be nice enough to do so link the plugin in a reply and maybe I can give something in return Requirements: - To get the amount of online players on a server - Able to apply the data to a floating text such as: 'Online: {online}' The command to set an online server players floating text should be something like this.. /onlineplayers {IP;PORT} Then It will spawn floatingtext with the message 'Online {online}' ANY DEVELOPERS UP TO THE CHALLENGE XD (I think it'll be a popular plugin since there is no downloadable version of it
Send a query to a database every few seconds (Create a table in the database with a list of all online players with the name/id of the server) and fetch the data from another server and display them. (Don't have time to code it, so I just show the concepts)
I also need this and i've making a request.... But ok, some plugins? :0 really need floating text with player on of another server....
You mean you don't know how to send database queries or what? Um, I have some time now, maybe I'll code the plugin now.
Why are developers still writing plugins with queries on the main thread? Are there not enough resources around now for you to understand how to implement asynchronous reading/writing? Would be better of defining the server name/identifier in a config or using an IP/port combo imo.
I just don't care about those resources. The code above is not for public release. See my Jail plugin on my Github, queries are put on the main thread, and I'm not releasing it on any official PocketMine repositories. Up to the users, they can choose to use it or not.
Ah I'm busy again lol Or I turn it open source on Github so people can contribute in the current code?