Skip to content

This Mod enables simple text-based logging for usage on a private server. It also provides a modern web interface.

License

Notifications You must be signed in to change notification settings

timonmdy/LogUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogUtils – Simple and Efficient Logging

Warning: This mod is not intended for use on public servers with potential exploiters.

🔹 Overview

Are you running a modded Minecraft server with friends and need an easy way to log player logins, logouts, chat messages, and commands? LogUtils has you covered!

Designed primarily for server administrators, this mod provides detailed logging while also offering an optional web interface for easier access. If enabled, the web interface runs on a separate port, allowing you and your friends to view logs effortlessly.


📌 Basic Usage

If you just need simple event logging, installation is straightforward:

  1. Copy LogUtils into your server's mods directory.
  2. Do not install it on the client side.
  3. Restart your server.

Configuration files will be generated in:

/config/logutils/

Modify the settings to fit your needs. The options are intuitive and easy to configure.

By default, logs are stored in:

/logs/static/

Log files are only created when needed. For example, commands.log will only appear after a command has been executed.

🚫 Not using the web server? Simply disable it in the config file to avoid unnecessary resource usage.


🌐 Web Server & API

If you want to enable the web interface, you'll need an additional open port.

✅ Setup:

  1. Request a free port from your server provider.
  2. Open the config file:
    /config/logutils/webserver.toml
    
  3. Set the port in the configuration.
  4. Restart the server.
  5. Access the web interface at:
    http://<IP/Domain>:<Port>
    

🔧 API Access

LogUtils also includes a simple API! You can interact with:

http://<IP/Domain>:<Port>/api/

📝 Feedback & Feature Requests

Your feedback is invaluable! If you find bugs, have feature suggestions, or need additional API endpoints, let us know. We’d love to improve LogUtils based on your input.

About

This Mod enables simple text-based logging for usage on a private server. It also provides a modern web interface.

Topics

Resources

License

Stars

Watchers

Forks

Languages