MB refers to the Minecraft server, Mineberry.
API - Application Programming Interface
Web - Website
Log - Logging and Stats
MBAPIWEBLOG is the only bot that displays stats. Utilizing the API, you can make Discord bots that lets you view leaderboards or check other users' stats. However, you can directly view the stats and leaderboard from the main page of the website. This is the only tool (atm) that offers this functionality.
- View stats directly from the website.
- Utilize the API for Discord bots and other applications.
- Safe and high-speed operations.
- View the past stats of a player.
For Windows:
- Open CMD or Terminal and execute
winget install Git.Gitto install Git or directly from Git Releases. - Once Git is installed, execute this command to install NodeJS:
winget install OpenJS.NodeJSor directly from Node.js (Possibly outdated). - After installing these, execute the following commands:
git clone https://github.com/EjurisYY/public-mbapiweblog cd public-mbapiweblog npm i - Modify
config.jsas needed. You can open it with Notepad. - Run the bot by typing
node index.js.
If you're running this in localhost, you may open https://127.0.0.1/bw in your website to access the website. From there, you can view other players' stats (if they are in the database because /stat is broken atm) and the leaderboards.
This endeavor would not have been possible without the invaluable contributions of Malkist and Adikan.
Copyright © 2023 EjurisYT
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
If you find any issues, you may contact me through discord using the links above.