orderServers
.orderServers() is used to order the servers object into an order of most players to least.
.orderServers(servers)
Order the servers object from most online players to least.
The servers object is the object of online servers that can be requested at https://pondwadermc.gitbook.io/cubed-api/documentation/api/servers
Parameter
Type
Required
Description
servers
object/array
true
The servers to be ordered
Example:
Last updated
Was this helpful?