Stories o’ Sponge. Nothin’ to see here me hearties, no Treasure maps. Go away home ye lubbers
Warning
This documentation refers to an outdated SpongeAPI version and is no longer actively maintained. While the code examples still work for that API version, the policies, guidelines, and some links may have changed. Please refer to the latest version of the documentation for those.
Here Be The Start Of It All
Welcome to SpongeDocs, the official documentation for the open-source Sponge project.
The SpongeAPI is your all new plugin API for Minecraft. You can run it on a plain vanilla server (as SpongeVanilla) or on your fully modded MinecraftForge server (as SpongeForge). Grab your copy here.
Not sure what you’re looking for? Try our What t’ Sponge project be section, which contains a short Here Be The Start Of It All, our Questioning and Interrogation and an article about The Structure of the Sponge Project.
Server owners should read our tips and instructions in Proper Shipwrighting on how to install, run and maintain a Sponge based server.
The Sponge project has several main components. Learn more about the project structure here or visit their repositories on GitHub:
SpongeForge | SpongeVanilla | SpongeAPI | SpongeDocs | SpongeHome | Mixin | Ore
Note
Sponge development is ongoing. Beta and Experimental builds of both SpongeForge and SpongeVanilla are currently available for download.
What be Here
Proper Shipwrighting
This section is for users who have a Sponge server or are interested in creating one.
Preparing for Development
Get yourself and your machine ready to develop Sponge itself or your own plugins! Please read this section before Creating a Plugin and Givin’ to Cap’n Spongie.
Creating Plugins
Need help and information while coding your plugin for the SpongeAPI? Look no further!
- Creating a Plugin
- Build Systems
- Settin’ Up Yer Shipyard
- Setting Up Your Project
- Plugin Identifiers
- Main Plugin Class
- Plugin Lifecycle
- Dependency Injection
- Best Practices
- Optionals
- Logging and Debugging
- Commands
- Events
- The Asset API
- Configuring Plugins
- Text
- The Data API
- Blocks
- Entities
- Items
- Trade-Offers
- Effects
- Scheduler
- Services
- Databases
- Permissions
- Bans
- Book Views
- Economy
- World Generation
- Plugin Manager
- Game Profile Manager
- Offline Player Data
- Plugin Debugging
- Tab Lists
- Plugin Metadata
- Ray Tracing
- Tutorials
- Implementation-dependent Plugins
Oar
Learn how to publish, install, browse, and use our Web API for our custom built plugin hosting solution, Ore.
Givin’ to Cap’n Spongie
Look here if you want to help out in making Sponge better. Make Spongie proud!
About Sponge
This section contains basic information about the project, read this if you’re confused about Sponge, its parts, or our goals.
Acknowledgements
The SpongePowered team are grateful to YourKit for providing its full-featured Java Profiler free to open source projects. YourKit, LLC is the creator of YourKit Java Profiler and YourKit .NET Profiler, innovative and intelligent tools for profiling Java and .NET applications.