Sponge dokumentation
Advarsel
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.
Introduktion
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 Om Sponge projektet section, which contains a short Introduktion, our Ofte stillede spørgsmål and an article about The Structure of the Sponge Project.
Server owners should read our tips and instructions in Opsætning af en 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
Bemærk
Sponge development is ongoing. Beta and Experimental builds of both SpongeForge and SpongeVanilla are currently available for download.
Indhold
Opsætning af en server
Denne sektion er for bruger der har en Sponge server eller er interesseret a at lave en.
Klargøring til udvikling
Get yourself and your machine ready to develop Sponge itself or your own plugins! Please read this section before Oprettelse af plugins and Bidrag til Sponge.
Oprettelse af plugins
Need help and information while coding your plugin for the SpongeAPI? Look no further!
- Oprettelse af plugins
- Build Systems
- Setting Up Your Workspace
- Setting Up Your Project
- Plugin Identifiers
- Main Plugin Class
- Plug-in Livscyklus
- Dependency Injection
- Practices
- Optionals
- Logging and Debugging
- Kommandoere
- 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
Malm
Learn how to publish, install, browse, and use our Web API for our custom built plugin hosting solution, Ore.
Bidrag til Sponge
Look here if you want to help out in making Sponge better. Make Spongie proud!
- Bidrag til Sponge
- Si us plau, no envieu sol·licitud d’extracció de petits canvis menors de 20 línies. En lloc d’això, entri a #spongedev al IRC (irc.esper.net) <TODO> _ i el canviarem juntament amb els altres canvis menors.
- How to Git(Hub)
- Developing Sponge
- SpongeDocs Writing
- Porting Sponge to Other Platforms
- Versioning System and Repository Branch Layout
Om 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.