Eaglercraft Plugins <OFFICIAL>

: This is the core plugin required for any modern Eaglercraft setup. It adds support for EaglercraftX 1.8, 1.12.2, and 1.5.2 clients to your SpigotMC or BungeeCord server.

To understand the plugins, you have to understand the architecture. Eaglercraft clients (running in a browser) cannot speak the native TCP protocol used by Minecraft Java servers. They speak WebSockets.

| Feature | Bukkit Plugin | Eaglercraft Server Plugin | Eaglercraft Client "Plugin" | |---------|---------------|----------------------------|-------------------------------| | Dynamic loading | Yes (on start/reload) | Yes (via require) | No | | Access to game logic | Full (NMS) | Limited (relay events only) | None (static patching) | | Security sandbox | JVM security manager | Node.js vm2 | Browser native | | Persistence across updates | High | Medium (relay API changes) | None (requires repatch) | eaglercraft plugins

Browser Client <--WebSocket--> Relay (Node.js) <--TCP--> Backend Minecraft Server (optional)

return true;

// eaglercraft-plugin-example.js class EaglerPlugin onChatMessage(player, message) if (message.startsWith("!ping")) player.send("/tellraw @p \"text\":\"Pong!\""); return false; // cancel original message

: Allows for large-scale building and terrain manipulation using commands, which is a staple for creative and administrative tasks. : This is the core plugin required for

module.exports = EaglerPlugin;