MineAds Monitor 插件
MineAds 提供此插件,旨在帮助 Minecraft 服务器管理员将他们的服务器与我们的分析平台集成。它会自动追踪诸如玩家加入、离开、聊天和命令等服务器活动,并将这些数据发送给我们进行分析。
我们如何使用它
作为一个服务器分析平台,我们从注册网络的服务器中收集数据。我们利用这些信息为服务器管理员提供详细的分析报告,帮助他们了解玩家行为、优化服务器配置并提升社区体验。此外,这些数据也有助于我们完善平台的功能洞察。
设置说明
- 下载与你的服务器类型相匹配的插件 JAR 文件(Bukkit/Spigot/Paper、BungeeCord 或 Velocity)。
- 将该 JAR 文件放入服务器的
plugins文件夹中。 - 重启服务器以生成配置文件。
- 打开位于
plugins/MineAdsMonitor文件夹中的config.yml文件。 - 从 MineAds 仪表板添加你的唯一插件密钥(以 "pluginkey_" 开头)。
- 设置一个服务器 ID(例如 "survival-main")以便识别该服务器。
- 保存文件并再次重启服务器。
配置选项
该插件使用简单的 YAML 格式进行设置。以下是每个选项的作用:
- pluginKey:来自 MineAds 的特殊密钥,用于将你的服务器与其系统关联。你可以从其网站获取此密钥。
- serverId:为你的服务器命名,例如 "creative-hub" 或 "pvp-arena",仅使用字母、数字和连字符。
- enabledEvents:选择要追踪的玩家活动类型。默认情况下,它会追踪所有内容:购买、聊天、命令、加入和离开。
- disableChatContent:如果不想发送玩家在聊天中输入的实际内容(仅记录他们进行了聊天),请开启此项。
- defaultMaxCommandArgs:记录命令组成部分的数量。例如,默认情况下 "/warp home" 只会保存 1 个部分(即仅 "warp")。
- commandArgLimits:为特定命令设置不同的限制,例如允许对 "/warp" 命令保留更多详细信息。
- debug:开启此项可在服务器控制台中看到额外的消息,以便进行故障排除。
命令
该插件包含供服务器管理员使用的命令(你需要拥有 "mineadsmonitor.admin" 权限):
- /mineadsmonitor help:显示所有可用命令。
- /mineadsmonitor version:告知你当前运行的插件版本。
- /mineadsmonitor reload:无需重启服务器即可重新加载配置文件。
- /mineadsmonitor initial/expiry/renewal/chargeback/refund [详情]:手动记录与购买相关的事件(例如某人购买或失去排名时)。
性能与防卡顿设计
为了保持服务器的流畅运行,该插件被设计得非常轻量级:
- 它在后台收集数据,不会拖慢游戏进程。
- 它不会立即发送数据,而是将事件分组,每 10 秒批量发送一次。
- 所有网络请求均在单独的线程上执行,因此绝不会干扰服务器的主要操作。
- 数据在发送前会进行压缩,以减少带宽占用。
- 如果出现连接问题,它会自动重试并采用智能延迟策略,以避免给服务器造成过大压力。
MineAds Monitor Plugin
We at MineAds provide this plugin to help Minecraft server owners integrate their servers with our analytics platform. It automatically tracks server activity like player joins, leaves, chat, and commands, then sends this data to us for analysis.
What We Use It For
As a server analytics platform, we collect data from servers that sign up their networks with us. We use this information to provide detailed analytics to server owners, helping them understand player behavior, optimize their servers, and improve their community's experience. This data also helps us enhance our platform's insights.
Setup Instructions
- Download the plugin JAR file that matches your server type (Bukkit/Spigot/Paper, BungeeCord, or Velocity).
- Place the JAR in your server's plugins folder.
- Restart your server to generate the config file.
- Open the
config.ymlfile in your plugins/MineAdsMonitor folder. - Add your unique plugin key from the MineAds dashboard (it starts with "pluginkey_").
- Set a server ID like "survival-main" to identify this server.
- Save the file and restart the server again.
Configuration Options
The plugin uses a simple YAML format for its settings. Here's what each option does:
- pluginKey: Your special key from MineAds that links your server to their system. You get this from their website.
- serverId: A name for your server, like "creative-hub" or "pvp-arena", using only letters, numbers, and dashes.
- enabledEvents: Choose which types of player activities to track. By default, it tracks everything: purchases, chat, commands, joins, and leaves.
- disableChatContent: Turn this on if you don't want the actual words players type in chat to be sent (only that they chatted).
- defaultMaxCommandArgs: How many parts of a command to record. For example, "/warp home" would save 1 part (just "warp") by default.
- commandArgLimits: Set different limits for specific commands, like allowing more details for "/warp" commands.
- debug: Turn this on to see extra messages in the server console for troubleshooting.
Commands
The plugin includes commands for server admins (you need the "mineadsmonitor.admin" permission):
- /mineadsmonitor help: Shows all available commands.
- /mineadsmonitor version: Tells you what version of the plugin you're running.
- /mineadsmonitor reload: Reloads the config file without restarting the server.
- /mineadsmonitor initial/expiry/renewal/chargeback/refund [details]: Manually record purchase-related events (like when someone buys or loses a rank).
Performance and Lag Prevention
To keep your server running smoothly, the plugin is designed to be very lightweight:
- It collects data in the background without slowing down gameplay.
- Instead of sending data immediately, it groups events together and sends them in batches every 10 seconds.
- All network requests happen on separate threads, so they never interrupt your server's main operations.
- Data is compressed before sending to use less bandwidth.
- If there are connection problems, it automatically retries with smart delays to avoid overwhelming your server.
下载 MineAds Monitor
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MineAds Monitor
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MineAds Monitor
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MineAds Monitor
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MineAds Monitor
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MineAds Monitor
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MineAds Monitor
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MineAds Monitor
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MineAds Monitor
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MineAds Monitor
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
? 特性
399c622feat: 实现心跳检测
? 修复
ddb0edefix(deps): 更新依赖 com.gradleup.shadow:shadow-gradle-plugin 至 v9.2.2 (#26)f57a3f2fix(deps): 更新依赖 net.md-5:bungeecord-api 至 v1.21-r0.4 (#29)033976cfix(deps): 更新依赖 com.diffplug.spotless:spotless-plugin-gradle 至 v8 (#25)3c3006cfix(deps): 更新依赖 io.freefair.gradle:lombok-plugin 至 v9 (#28)346d258fix(deps): 更新所有非主版本依赖至 v4.25.0 (#34)f54400cfix(deps): 更新所有非主版本依赖至 v2.0.0-beta.12 (#35)65af380fix(deps): 更新所有非主版本依赖至 v2.0.0-beta.13 (#37)0870ee1fix(deps): 更新所有非主版本依赖 (#39)91233b5fix(deps): 更新依赖 de.exlll:configlib-yaml 至 v4.6.2 (#41)cdf88cafix(deps): 更新依赖 com.google.protobuf:protobuf-java 至 v4.33.0 (#42)511f635fix(deps): 更新依赖 de.exlll:configlib-yaml 至 v4.6.3 (#43)78b0e4bfix(deps): 更新所有非主版本依赖 (#44)b3c368cfix(deps): 更新依赖 net.kyori:indra-git 至 v4 (#40)54297cffix(deps): 更新依赖 io.freefair.gradle:lombok-plugin 至 v9.1.0346b9b2fix(deps): 更新所有非主版本依赖51d06c3fix(deps): 更新依赖 com.google.protobuf:protobuf-java 至 v4.33.1ae4838afix(deps): 更新依赖 de.exlll:configlib-yaml 至 v4.6.48a82bedfix(deps): 更新依赖 com.diffplug.spotless:spotless-plugin-gradle 至 v8.1.00ee815cfix(deps): 更新依赖 com.github.spotbugs.snom:spotbugs-gradle-plugin 至 v6.4.6bc398eefix: 重做事件跟踪配置18b3838fix: 禁用生成类的代码检查75261c5fix(deps): 更新依赖 com.github.spotbugs.snom:spotbugs-gradle-plugin 至 v6.4.79f6dfebfix: 添加头部信息
? 构建
3313508chore(release): 版本号提升至 1.0.3-SNAPSHOT50cf69fci: 优化 Discord 消息211e04cci: 在监控消息中显示 MineAds 标志b58eb15ci: 在 GitHub 更新日志中显示正确的下载链接f87e30bchore(deps): 将依赖项 org.junit.jupiter:junit-jupiter 更新至 v5.14.0 (#30)399878fchore(deps): 将依赖项 io.freefair.gradle:lombok-plugin 更新至 v9 (#27)f282438chore(deps): 将依赖项 com.diffplug.spotless:spotless-plugin-gradle 更新至 v8 (#24)6de9823chore(deps): 将 gradle/actions 操作更新至 v5 (#32)669309fchore(deps): 将依赖项 org.junit.jupiter:junit-jupiter 更新至 v6 (#31)e98bd39chore(deps): 将所有非主要依赖项更新至 v3.0.1 (#33)6ef405fchore(deps): 将所有非主要依赖项更新至 v3.0.2 (#36)31fc854chore(deps): 将 stefanzweifel/git-auto-commit-action 操作更新至 v7 (#38)21a6892chore(deps): 将依赖项 com.google.errorprone:error_prone_core 更新至 v2.43.0 (#45)ac900fachore(deps): 将 actions/upload-artifact 操作更新至 v5 (#46)f662958chore(deps): 将 gradle 更新至 v9.2.0ada46f1chore(deps): 将 mikepenz/release-changelog-builder-action 操作更新至 v6 (#47)2b1d103chore(deps): 将依赖项 org.junit.jupiter:junit-jupiter 更新至 v6.0.12dd4fbfchore: 提高 SpotBugs 的敏感度5113689chore(deps): 将依赖项 com.google.errorprone:error_prone_core 更新至 v2.44.03aeed7echore(deps): 将 gradle 更新至 v9.2.11a77d9echore(deps): 将 actions/checkout 操作更新至 v6 (#48)51ac23achore(deps): 将依赖项 com.google.errorprone:error_prone_core 更新至 v2.45.0672510fchore(release): 版本号提升至 1.0.3
? 其他
8ea5f71在 renovate.json 配置中添加 automergeType
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个强大的 API,用于为你的 Minecraft 服务器创建自定义进度。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧