Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Paper | 7,257 | a day ago | 1 | December 14, 2021 | 459 | other | Java | |||
High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies | ||||||||||
Geyser | 3,801 | a day ago | 346 | mit | Java | |||||
A bridge/proxy allowing you to connect to Minecraft: Java Edition servers with Minecraft: Bedrock Edition. | ||||||||||
Worldedit | 2,723 | 2 days ago | 144 | other | Java | |||||
🗺️ Minecraft map editor and mod | ||||||||||
Minestom | 1,795 | 3 days ago | 190 | apache-2.0 | Java | |||||
1.19.2 Lightweight Minecraft server | ||||||||||
Glowstone | 1,752 | a month ago | 62 | other | Java | |||||
A fast, customizable and compatible open source server for Minecraft: Java Edition | ||||||||||
Luckperms | 1,688 | 1 | 2 days ago | 5 | February 09, 2022 | 50 | mit | Java | ||
A permissions plugin for Minecraft servers. | ||||||||||
Catserver | 1,670 | 7 days ago | 39 | lgpl-3.0 | Java | |||||
高性能和高兼容性的1.12.2/1.16.5/1.18.2版本Forge+Bukkit+Spigot服务端 (A high performance and high compatibility 1.12.2/1.16.5/1.18.2 version Forge+Bukkit+Spigot server) | ||||||||||
Minecraftdeveloperguide | 1,609 | 16 days ago | 3 | |||||||
📝Minecraft developer Chinese guide,我的世界开发者中文指南 | ||||||||||
Essentials | 1,577 | 4 days ago | 159 | gpl-3.0 | Java | |||||
The modern Essentials suite for Spigot and Paper. | ||||||||||
Purpur | 1,452 | 3 days ago | 4 | mit | Kotlin | |||||
Purpur is a drop-in replacement for Paper servers designed for configurability, and new fun and exciting gameplay features. |
PluginHooker is a Bukkit plugin that aims to provide an ultimately simple and better method to hook Bukkit events and ProtocolLib PacketEvents
Discord
Add the following repository to your pom.xml:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Then add the following dependency
<dependencies>
<dependency>
<groupId>com.github.DionaMC</groupId>
<artifactId>PluginHooker</artifactId>
<version>1.1.0</version>
</dependency>
</dependencies>
Add/remove plugins that need to be hooked
public void hookPlugin() {
PluginHooker.getPluginManager().addPlugin(pluginToHook);
}
public void unHookPlugin() {
PluginHooker.getPluginManager().removePlugin(pluginToHook);
}
Enable/disable the specified plugin for the player
public void enablePluginForPlayer(Player player) {
DionaPlayer dionaPlayer = PluginHooker.getPlayerManager().getDionaPlayer(player);
if (dionaPlayer == null) {
return;
}
dionaPlayer.enablePlugin(pluginToHook);
}
public void disablePluginForPlayer(Player player) {
DionaPlayer dionaPlayer = PluginHooker.getPlayerManager().getDionaPlayer(player);
if (dionaPlayer == null) {
return;
}
dionaPlayer.disablePlugin(pluginToHook);
}
To intercept or perform a custom action when an event is executed, add an event listener
public class ExampleListener implements Listener {
@EventHandler
public void onBukkitEvent(BukkitListenerEvent event) {
// do something
}
@EventHandler
public void onProtocolLibEvent(ProtocolLibPacketEvent event) {
// do something
}
}