SoulFire LogoSoulFire

Developer Resources

Jump directly to the current Javadocs, source trees, artifact coordinates, built-in plugin references, and other official SoulFire development entry points.

This page is the reference map for SoulFire plugin authors. If you already know what you are looking for, start here.

Current package entry points in the Javadocs

These package summaries are the most useful places to start:

Artifact coordinates

Use these coordinates for most plugin projects:

groupId:    com.soulfiremc
artifactId: mod
artifactId: shared
repository: https://repo.codemc.org/repository/maven-public/

The public metadata currently reports:

  • latest release for mod: 2.7.0
  • latest snapshot for mod: 2.7.1-SNAPSHOT

Check the metadata again before pinning a version, because the template repository can lag behind current releases.

Source tree map

LocationWhat you learn there
mod/src/main/java/com/soulfiremc/server/apiplugin base classes, events, metadata helpers
mod/src/main/java/com/soulfiremc/server/botBotConnection, ControlState, ControllingTask
mod/src/main/java/com/soulfiremc/server/settingsproperty model and settings infrastructure
mod/src/main/java/com/soulfiremc/server/grpchow client actions become runtime behavior
proto/src/main/proto/soulfireserver, instance, bot, command, and scripting contracts
mod/src/main/java/com/soulfiremc/server/pluginsbuilt-in plugin implementations

Built-in plugins to study first

If you only read a few internal plugins, read these:

PluginWhy it is useful
AntiAFKsmall, clean example of event hooks plus settings page registration
AutoArmorstaged inventory control
AutoEataction sequencing and fallback behavior
CaptchaSolverricher settings, multiple property types, and more complex behavior
KillAurametadata, control ownership, and manual task markers
DialogHandlerbridging Minecraft dialog state into the API layer

Template caveat

The official example template is the best starting point for project layout and first plugin scaffolding. It is not always the final word on low-level current internals.

Cross-check these three sources before shipping:

  1. the current template repository
  2. the current SoulFire Javadocs
  3. the current built-in plugin and mixin sources

If an old template example and the current Javadocs disagree, trust the current Javadocs and current SoulFire source tree.

Extra references

How is this page?

Last updated on

On this page