1.1.6 • Published 5 years ago

fivem-module v1.1.6

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

What is this?

A simple FiveM module to suit your needs!

Usage And Installation

npm i fivem-module

const FiveM = require("fivem-module")
//initalizes the Server class (make sure you put your server ip where it says 'Server IP')
const server = new FiveM('Server IP')

//Get Players (in numbers)
server.getPlayers()
.then(data => console.log(data))

//Get The Uptime Of The Server
server.getUptime()
.then(data => console.log(data))

//Get The Resources This Server Uses In An Array
server.getResources()
.then(data => console.log(data))

//Get The Tags Of This Server
server.getTags()
.then(data => console.log(data))

//Get The Server This Server Is Running On
server.getServer()
.then(data => console.log(data))

Credits

Credits to ThatAnonymousG for making this module axios based!

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago