Event Logger For IM (ELFIM)

ELFIM(发音为 "elf eye em")是一个轻量级的事件记录插件,可将选定的事件发布到 Slack 和 Discord。这是一种方便的方式,用于追踪谁在何时登录,或者他们在游戏过程中使用了哪些命令。(完整的事件列表请参见下文)
注意: 版本 2.3.0 增加了国际化支持(包含一个已本地化的德语属性文件)。我非常欢迎任何精通其他语言的人贡献翻译。
用法
将 ELFIM-<version>.jar 放入 plugins 文件夹并启动服务器后,使用你配置的 webhook 详情编辑 plugins/EventLoggerForIM/config.yml,并 启用|禁用 你想要记录的事件。
启用或禁用集成:
enableSlack: true|false
enableDiscord: true|false
启用或禁用特定事件:
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
记录一组自定义的 server.properties:
# 要在服务器启动时记录的 server.properties 列表。
logServerProperties:
- online-mode
- pvp
- difficulty
- level-type
配置界面的语言:
# 指定用于消息的区域设置(注意:插件配置文件夹中必须有对应的区域设置文件)
# 示例:./plugins/EventLoggerForIM/i18n/en_US.properties 或 ./plugins/EventLoggerForIM/i18n/de.properties
locale: en_US
要添加新翻译,请复制 en_US.properties 并使用 UTF-8 编码另存为新的区域特定文件名(例如 ja_JP.properties),然后相应地更新值。接着,在 config.yml 中设置 locale: ja_JP 以启用你的新翻译出现在生成的消息中。
如果你希望你的翻译被包含在此项目中,请在 GitHub 上打开一个问题并附上翻译后的文件。我会审查并根据需要将其整合。
注意:随附的 de.properties 文件是使用 AI 生成的,可能包含不准确之处。欢迎并感谢母语为德语的人士为此翻译做出贡献。
Slack 配置与示例
请参阅 Slack readme。
Discord 配置与示例
请参阅 Discord readme。
支持
如果遇到任何问题或有疑问,请在 GitHub 上 提交 issue。
Event Logger For IM (ELFIM)

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.
下载 EventLoggerForIM
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EventLoggerForIM
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EventLoggerForIM
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EventLoggerForIM
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EventLoggerForIM
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 EventLoggerForIM
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
代码清理与重构版本(无新功能)。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧