Skip to content

YTFort/MineNet

Header GitHub stars GitHub watchers GitHub forks GitHub download

MineNet

Script that allows you to easily use the Minecraft API

Follow the life of the project here, as well as communicate with the community : DISCORD

creator's contacts :

translations :

EN English RU Русский

Disclaimer :

This script is made for learning purposes and does not force you to use its functions for malicious purposes!

❗ You can use the source code in your programs, there are no copyrights, just please provide a link to me ;)

If you find an error, then create Issues!

Supported OS :

  • ✅ Windows
  • ✅ Linux
  • ✅ Mac

Features :

❗Offer your ideas for improvement in discussions and in pull requests

  • Supports Minecraft 1.7.X - 1.20.X
  • Java and Bedrock (PE) version support
  • Find out the server status
  • Query
  • Checking the server for operability through the bot
  • Rcon

🕓 Soon :

  • Optimization
  • Adding color to the outputs
  • Own API
  • Other Minecraft API functions
  • Make a library out of a script
  • Wiki

Installation :

Library :

npm install minecraft-server-util
npm install readline-sync
npm install mineflayer

Then place the minenet.js to your project

Usage :

Rcon :

var minenet = require('./minenet');
minenet.rcon('HOST', PORT, 'PASSWORD');
// minenet.rcon('localhost', 25575, '123');
[#] Rcon is connected
[>] time set day
[<] Set the time to 1000
[>] exit
[!] Rcon is disconnected

exit or Exit for disconect

[>] - input

[<] - output

Disposable Rcon :

var minenet = require('./minenet');
minenet.rcon('HOST', PORT, 'PASSWORD', 'COMMAND');

Status :

var minenet = require('./minenet');
minenet.getstatus('HOST', PORT) // JAVA
var minenet = require('./minenet');
minenet.getpestatus('HOST', PORT) // BEDROCK (PE)

Query :

var minenet = require('./minenet');
minenet.getquery('HOST', PORT) // JAVA

Join :

var minenet = require('./minenet');
minenet.jointest('HOST', PORT, 'MAIL', 'PASSWORD') // License - JAVA

Microsoft account!

var minenet = require('./minenet');
minenet.jointestpirat('HOST', PORT, 'BOTNAME') // Pirat - JAVA

Output : [#] Successfully - You can log in to the server

Thanks :

Support me :

Put a ⭐ and Fork if this script turned out to be useful to you

ETH : 0x325026E8f45D2D488e753b21F42dDF9BC15A3343

About

Script that allows you to easily use the Minecraft API

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published