fivem-players
v5.2.5
Published
A package used to get the current online number of a FiveM server! ✨
Downloads
21
Readme
fivem-players 🚀
fivem-players
is an npm package for interacting with FiveM servers. It allows you to easily fetch player counts.
Installation 📦
To install fivem-players
, run the following command:
npm install fivem-players
Usage 💻
var { Server } = require('fivem-players');
async function getPlayersCount() {
var server = new Server('IP:PORT')
var playersCount = await server.getCount()
console.log(playersCount)
}
getPlayersCount();
License 📜
- This package is released under the MIT License.
Contributing 🤝
- Feel free to open issues or submit pull requests if you'd like to contribute to this project!
Contact 📬
- For any inquiries or support, please contact JxA.
Happy coding! 🎉