Skip to content

edenia/minecraft-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Logo

Minecraft Logger

A Minecraft Server Plugin that logs events to a database 🎮
Explore the docs / Report Bug / Request Feature

About The Project

...

Getting Started

Prerequisites

You will need a PaperMC server up and runing

Installation

The steps to install this plugin are same to install anyone, the only difference it's at the config file, so let's start

  1. Contact us to get your API KEY
  2. Download the SuperLog.jar file
  3. Once you have the plugin downloaded locally, locate the plugins folder from the root directory of your Paper server.
  4. Drag and drop the plugin file SuperLog.jar into the plugins folder.
  5. Restart your server. The plugin should load.
  6. Replace the content of plugins/SuperLog/config.yml with this
# +————————————————————————————————————————————————————+ #
# |——————————     SUPERLOG CONFIGURATION     ——————————| #
# |——————————————————      v1.2      ——————————————————| #
# +————————————————————————————————————————————————————+ #
# |                   Documentation:                   | #
# |            http://superlog.andross.fr/             | #
# +————————————————————————————————————————————————————+ #

## Time between saving logs (async)
## 0 will save logs instantly (use more resource)
## If you have many players, you should save the cache a bit more often, so you'll need a smaller save-delay.
## If you don't have many players, you can save logs less often, so you can use a greater save-delay.
save-delay: 5

## This is how the date will be displayed into logs file
date-format: 'HH:mm:ss'

# ## This where the logs will be saved
logs-path: '/data'

## This is how the log file will be named
logs-format: '{DAY}-{MONTH}-{YEAR}_{TYPE}.log'

## This is how the log live will be received ingame
logs-live-format: '&7&o[{TIME}][{EVENT}] {LOG}'

## If the plugin should displays in console when logs are saved
logs-in-console: true

## If the plugin should displays in game when logs are saved
logs-in-game: false

## Utilities
## GZip old logs after X days
gzip-logs-after: 2

## Delete old logs after X days
delete-logs:
  after: 7
  even-gzipped: true

## Check for update (async)
check-update: true

## Alert in game when a command is used
commands-alert:
  list:
    - '/gamemode'
    - '/god'
  message: '&7&l{PLAYER}&7 used: &e{COMMAND}'

## Configurable messages
messages:
  prefix: '&3&l[&e&lLOG&3&l] '
  noperm: '&cYou do not have permission.'
  logs-saved: '&7Saved {LOGS} files.'

## Integration with External API
api:
  endpoint: https://example.com/v1/graphql
  token: 'REPLACE_WITH_YOUR_API_KEY'

## List of events to log
## The event names ARE case sensitive
## Full list of events https://superlog.andross.fr/#doc
events:
  EntityDeathEvent:
    enabled: true
    message: '-(\"world\": \"{LOCWORLD}\", \"event\": \"ENTITY_DEATH_EVENT\", \"target\": \"{TYPE}\", \"username\": \"{LASTDEATHBY}\", \"payload\": (\"location\": \"{LOCX};{LOCY};{LOCZ}\"))-'
  BlockPlaceEvent:
    enabled: true
    message: '-(\"world\": \"{LOCWORLD}\", \"event\": \"BLOCK_PLACE_EVENT\", \"target\": \"{ITEMINHAND.NAME}\", \"username\": \"{PLAYER}\", \"payload\": (\"location\": \"{LOCX};{LOCY};{LOCZ}\"))-'
  1. Remember replace only the text REPLACE_WITH_YOUR_API_KEY with your actual API KEY

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Eric - @ericattreis

Project Link: minecraft.eosusa.io

Acknowledgments

This plugin it's a fork from Logger for more iformation about it take a look to

About

A Minecraft Server Plugin that logs events to a database 🎮

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •