Перейти к содержимому
Mineforgian

EventLoggerForIM

A light-weight event logger that posts events to Slack and Discord.

Загрузки
158
Подписчики
0
Обновлён
3 июля 2026 г.
Лицензия
MIT

Опубликован 10 августа 2024 г.

Event Logger For IM (ELFIM)

logo

ELFIM (pronounced "elf eye em") is a light-weight event logging plugin that posts selected events to Slack and Discord. It's a convienient way to keep track of who logged on when, or what commands they used while playing. (see below for complete list of events)

NOTE: Version 2.3.0 adds Internationalization support (with an included localized German properties file). I'd love for anyone fluent in other languages to contribute translations.

Usage

After starting the server with ELFIM-<version>.jar in the plugins folder, edit plugins/EventLoggerForIM/config.yml with the details of your configured webhook and enable|disable the events you want to log.

Enable or disable the integrations

enableSlack: true|false
enableDiscord: true|false

Enable or disable specific events:

events:
  logBroadcasts: true|false
  logChat: true|false
  logPlayerAdvancement: true|false
  logPlayerCommands: true|false
  logPlayerDeath: true|false
  logPlayerJoinLeave: true|false
  logPlayerRespawn: true|false
  logPlayerTeleport: true|false
  logServerCommand: true|false
  logServerStartStop: true|false
  logStartupPlugins: true|false
  logUnsuccessfulLogin: true|false

Log a custom set of server.properties

# List of server.properties to log on server startup.
logServerProperties:
  - online-mode
  - pvp
  - difficulty
  - level-type

Configure the language for the interface:

# Specify the locale to use for messages (NOTE: must have a corresponding locale file in the plugin config folder)
# example: ./plugins/EventLoggerForIM/i18n/en_US.properties or ./plugins/EventLoggerForIM/i18n/de.properties
locale: en_US

To add a new translation, duplicate en_US.properties and save it with a new locale-specific filename using UTF-8 encoding (e.g., ja_JP.properties), and update the values accordingly. Then, set locale: ja_JP in config.yml to enable your new translations to appear in generated messages.

If you would like your translation to be included in this project, please open an issue on GitHub and attach the translated file. I will review and integrate it as appropriate.

NOTE: The included de.properties file was generated using AI and may contain inaccuracies. Contributions from native German speakers to improve this translation are welcome and appreciated.

Slack Configuration and Examples

See the Slack readme.

Discord Configuration and Examples

See the Discord readme.

Support

If you encounter any issues or have any questions, please open an issue on GitHub.

Ченджлог

2.3.4Релиз26.1, 26.1.1, 26.1.2 · 3 июля 2026 г.

Code cleanup and refactoring release (no new functionality).

2.3.0Релиз1.19, 1.20, 1.21 · 28 августа 2025 г.

This version adds internationalization support!

Configure the language for the interface:

# Specify the locale to use for messages (NOTE: must have a corresponding locale file in the plugin config folder)
# example: ./plugins/EventLoggerForIM/i18n/en_US.properties or ./plugins/EventLoggerForIM/i18n/de.properties
locale: en_US

To add a new translation, duplicate en_US.properties and save it with a new locale-specific filename using UTF-8 encoding (e.g., ja_JP.properties), and update the values accordingly. Then, set locale: ja_JP in config.yml to enable your new translations to appear in generated messages.

If you would like your translation to be included in this project, please open an issue on GitHub and attach the translated file. I will review and integrate it as appropriate.

NOTE: The included de.properties file was generated using AI and may contain inaccuracies. Contributions from native German speakers to improve this translation are welcome and appreciated.

2.2.12Релиз1.19, 1.20, 1.21 · 2 августа 2025 г.

This release updates all the libraries to support 1.21.8 as well as improves handling of Advancements (with current values or display the requested key if unknown) and improves logging of installed plugins. ELFIM will now indicate if the installed plugin is disabled in the server plugin message.

2.2.10Релиз1.16.3, 1.16.4, 1.16.5 · 28 апреля 2025 г.

Added link to updated version in server startup/shutdown messages.

Now when there's a new update published to Github you will see

ELFIM VERSION: 2.2.10 (update available)

in the server startup message.

2.2.9Релиз1.16.4, 1.16.5, 1.21.5 · 22 апреля 2025 г.

This release updates dependencies and enhances logging functionality by including the server’s local and external IP addresses at startup while also refining teleport logging to exclude redundant messages when coordinates remain unchanged.

  • Updated pom.xml dependencies and base Paper dependency to 1.21.5-R0.1-SNAPSHOT.
  • Added local and external IP logging to server startup messages.
  • Refined teleport logging in player handlers by including a teleport 'cause' and skipping logs for unchanged coordinates.

This release should support 1.21.5 when it's officially available. I don't think there's anything new or different that would impact functionality, but if it does I'll update it and release a new version.

2.2.2Релиз1.19, 1.20, 1.21 · 10 августа 2024 г.

Initial release on Modrinth.

Add support for 1.21

Комментарии

Загружаем…