Skip to content

WhyClove/admincraft-meta

Repository files navigation

Admincraft's meta bot

Credits-original code belongs to Birdflop Bot (Botflop)

  • Click here to invite Botflop to your server.
  • click here to see the source code for the original bot
  • Credited in help command too

Current abilities

Analyze timings reports

Paste a timings report to review an in-depth description of potential optimizations.

Analyze timings reports and Spark profiles

Analyze a timings report or Spark profile to review an in-depth description of potential optimizations.

Timings 1

Timings 2

File upload service

The bot converts files and pastebin links into universally accessible bin links that contain multiple features such as syntax highlighting, suggestions and information censoring such as IPs.

safeguards against executable uploads

The bot scans messages containing executable files. While the user might have good intent we can't verify the safety of the compiled file being sent publicly hence this was added. This also helps deal with potential piracy such as people uploading jars of premium plugins.

Read The Fucking Manual (RTFM)

The bot currently can search through PaperMc, PurpurMC docs for their configuration by using web scraping. The bot can also do bukkit.yml and hopefully others in the future.

Guides command

An easy, way for users to find relevant guides.

Piracy/offline mode checks

The bot can detect offline mode in logs/timings and will let the people in chat know about said items being offline/containing cracked plugins.

setup guide

  1. git clone or download this repo
  2. open up a command prompt/PowerShell or use Linux's CLI and make sure you're in the area where this project is located
  3. run npm install which should install all the needed modules
  4. create a .env file and put token=Your_discord_bot's_token (if you haven't got one then generate one here)
  5. you can start the bot via npm run start
📝 hint
You can use pm2 to keep the bot running in background, constantly and auto restart on crash

this bot specifically was made to help the Admincraft server so some features might not be suited for others

Forks

You are welcome to fork this project or even use it for your use however please make sure credit is appropriately given such as the user who created the bot and that you keep in mind this bot is specifically geared towards Admincraft.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published