Skip to content

R | Advanced Techniques, Gotchas & FAQ

Sartaj Singh edited this page May 29, 2025 · 2 revisions

Advanced Techniques, Gotchas & FAQ

Advanced Techniques

Using Multiple Behaviors on One Item

  • You can register multiple behaviors for a single item to create complex abilities (e.g., on use, on hit, on hold).

Custom Mana/Resource Systems

  • Extend ManaUtils to create alternate resources like stamina, rage, or custom bars.

Integrating with Other Plugins

  • Use FXItems API in your plugin to create cross-plugin features (e.g., trigger effects from other plugins).

FAQ

Q: Do I need to be a Java developer?
A: Yes. FXItems is a toolkit for coders—there’s no GUI or config editor.

Q: Can I use FXItems as a standalone item pack?
A: No. You must add your own content via Java.

Q: Are there sample items and code?
A: Yes, see the com.noctify.Custom package.

Q: Can I reload content live?
A: Use /fxreload, but new classes require a server reload/restart.

Q: How do I make a one-time craftable item?
A: See OneTimeCraftUtils.


Troubleshooting

  • Missing dependencies?
    Optional features (EntitySize, ModelEngine) are skipped if not present.

  • Plugin not loading?
    Check server logs for missing dependencies or Java version.

  • Addon not working?
    Ensure you register your content in onEnable() and depend on FXItems.


That’s the end of the core FXItems wiki!
For more, explore the code and utility classes, and feel free to contribute.


Clone this wiki locally