How jaguth/spigotpluggin.helloworld works
This is a small Spigot example plugin. On enable, the plugin registers its join-event listener and installs the /echo command executor; join events and echo commands broadcast messages through Bukkit. The README documents the player-facing command behavior. The plugin descriptor is present in the tree, but its contents were not sampled, so its specific declarations are not shown.
Main entry points: HelloWorldPluggin.java Plugin lifecycle · EchoCommandExecutor.java Echo command · plugin.yml Plugin descriptor
Components 6
Plugin runtime
- Plugin descriptor
src/main/resources/plugin.yml - Plugin lifecycle
src/main/java/com/jaguth/spigotpluggin/helloworld/HelloWorldPluggin.java - Echo command
src/main/java/com/jaguth/spigotpluggin/helloworld/EchoCommandExecutor.java
Other components
- Spigot server
- Player
- Bukkit API
Connections 9
- Spigot server → Plugin descriptor: reads
- Spigot server → Plugin lifecycle: starts
- Plugin lifecycle → Bukkit API: registers listener
- Plugin lifecycle → Echo command: sets executor
- Spigot server → Plugin lifecycle: dispatches join
- Plugin lifecycle → Bukkit API: broadcasts join
- Player → Spigot server: runs command
- Spigot server → Echo command: dispatches command
- Echo command → Bukkit API: broadcasts echo