4.2.0 • Published 4 years ago
diamondfire v4.2.0
DiamondFire
Discord
Unofficial, Made by Lodeva Studios
DiamondFire is an API for the minecraft server "DiamondFire".
Installation
Install using npm. yeet
npm i diamondfire
Usage
const df = require('diamondfire');
df.isOnline(online => {
if(online == true) {
df.playerCount(count =>{
df.maxPlayers(max => {
console.log(count + "/" + max);
});
});
}
});
// Outputs for example:
// 38/200
Actions
df.playerCount
Gets amount of players on DiamondFire.
df.maxPlayers
Gets the maximum amount of players on DiamondFire.
df.isOnline
Recieves a boolean whether the server is online or not.
df.motd
DiamondFire's MOTD (no colors).
df.type
The type of server DiamondFire is (probably BungeeCord).
df.version
DiamondFire's version (not very accurate).
df.icon
DiamondFire's server icon in Base64.
Discord
4.2.0
4 years ago
1.33.7
4 years ago
1.1.8
4 years ago
1.1.1337
4 years ago
1.3.37
4 years ago
1.1.7
4 years ago
1.1.6
4 years ago
1.1.5
4 years ago
1.1.4
5 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
5 years ago
1.1.0
4 years ago
1.0.9
5 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago