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.
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 About the Sponge Project section, which contains a short Introduction, our Ofte stilte spørsmål and an article about The Structure of the Sponge Project.
Server owners should read our tips and instructions in Creating a Server 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
Sponge development is ongoing. Beta and Experimental builds of both SpongeForge and SpongeVanilla are currently available for download.
Creating a Server
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 Contributing to Sponge.
Need help and information while coding your plugin for the SpongeAPI? Look no further!
- Creating a Plugin
- Build Systems
- Setting Up Your Workspace
- Setting Up Your Project
- Plugin Identifiers
- Main Plugin Class
- Plugin Lifecycle
- Dependency Injection
- Best Practices
- Logging and Debugging
- The Asset API
- Configuring Plugins
- The Data API
- Book Views
- World Generation
- Plugin Manager
- Game Profile Manager
- Offline Player Data
- Plugin Debugging
- Tab Lists
- Plugin Metadata
- Ray Tracing
- Implementation-dependent Plugins
Learn how to publish, install, browse, and use our Web API for our custom built plugin hosting solution, Ore.
Contributing to Sponge
Look here if you want to help out in making Sponge better. Make Spongie proud!
This section contains basic information about the project, read this if you’re confused about Sponge, its parts, or our goals.
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.