EventDebugger 图标

EventDebugger

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1-SNAPSHOT
本资源为搬运资源,原资源地址: https://modrinth.com/mod/eventdebugger
资源信息

Minecraft 版本: 1.8 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9 1.9.1 1.9.2 1.9.3 1.9.4 1.10 1.10.1 1.10.2 1.11 1.11.1 1.11.2 1.12 1.12.1 1.12.2 1.13 1.13.1 1.13.2 1.14 1.14.1 1.14.2 1.14.3 1.14.4 1.15 1.15.1 1.15.2 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2

平台: bukkit paper purpur spigot

标签: game-mechanics utility

资源介绍

If you have a plugin that is misbehaving and altering events on your server, this plugin can help you figure out which plugin is causing the issue. Simply edit the configuration file to target the events and methods you want to track, and the plugin will log information about which events were cancelled and by which plugin.

To use the plugin, you'll need to find the event class you want to track. You can do this by going to https://hub.spigotmc.org/javadocs/spigot/ and navigating to the location of the event. For example, the PlayerInteractEvent will be located in the org.bukkit.event.player package.

Once you've found the event class, copy the fully qualified class name (e.g. org.bukkit.event.player.PlayerInteractEvent) and add it to the plugin's configuration file, along with the methods you want to track (e.g. isCancelled). An example configuration for tracking the PlayerInteractEvent and the isCancelled method would look like this:

exact:
  InteractEvent:
    class: "org.bukkit.event.player.PlayerInteractEvent"
    methods:
     - "isCancelled"

Note that the InteractEvent key can be named anything, but it's used to identify the event in the plugin's internal tracking.

In addition to tracking specific events and methods, the plugin also includes an option to track all cancellable events. To enable this feature, set the listen-to-all-cancellable option in the other section of the configuration file to true.

Once you've configured the plugin, save the configuration file and restart or reload the server to start tracking events. The plugin will log information about cancelled events, including the name of the plugin that cancelled the event.

It's important to note that this plugin is intended for debugging purposes only. If you don't need to track events and their cancellations, you don't need to download or use this plugin.

If you have any questions or need assistance, you can contact me at jsctuck@gmail.com.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Transgender Pride Flag Hearts (5-Color Vertical Alt)

价格:0 墨喵币
下载量:0

查看详情
Experience Ore

价格:0 墨喵币
下载量:0

查看详情
Space Race

价格:0 墨喵币
下载量:0

查看详情
3D MedPack Totem

价格:0 墨喵币
下载量:0

查看详情