Gunpowder
Gunpowder aims to provide an all-in-one API for your server modding needs. While designed for servers, it does work in singleplayer too, as do all of our official modules.
Modules
Gunpowder offers the following (official) modules:
Support
If you find a bug or want to suggest a feature, go to the Issues tab If the bug is related to one of our modules, go to that specific module here If you want to ask for help and/or clarify a bug, or even contribute to the project, you can find us on the AOF discord in #gunpowder
License
This mod is available under the MIT license.
Contributing
More information will be provided soon. Contributions should follow the guidelines in CONTRIBUTING.md.
Extending
If you want to use Gunpowder, add the following to your build.gradle:
dependencies {
modApi "io.github.gunpowder:gunpowder-api:${gunpowder_version}+${minecraft_version}"
}
repositories {
maven {
name = "Gunpowder"
url = "https://maven.martmists.com/releases"
}
}
Create a class extending GunpowderModule (e.g. com.example.ExampleModule), and then fabric.mod.json, add:
{
"entrypoints": {
"gunpowder:modules": [
"com.example.ExampleModule"
]
}
}
not to be nit-picky but if your mod has a requirement is prolly a good idea to state that in the description, other then that though i love it and hope to see some more mods from yall in the future. keep up the amazing work :D
is any way to load this mods in forge?
Hey , is there a way i can setup diamonds as currency instead of gunpowder?
I'm sure you can do some stuff with command blocks or something, but gunpowder isn't what you're looking for.
i have a forge server thats why i asked lol
This will never be made for Forge, unless someone can PR in a one-line change to support building for Forge in gradle (which I doubt)
will there be a forge version?
No. Maybe you could reimplement the Fabric API on Forge and undo all the tweaks Forge makes, then sure, but at that point you might as well just use Fabric.
[deleted]
Hallo. I tried installing Gunpowder, Gunpowder Currency, and Gunpowder Market, but the server just crashes when I try to start it. I have Fabric-API installed but that still doesn't do anything. Any ideas?
[27.01 15:21:49] [Server] [main/INFO]: Loading for game Minecraft 1.16.4
[27.01 15:21:50] [Server] [main/FATAL]: A critical error occurred
[27.01 15:21:50] [Server] net.fabricmc.loader.discovery.ModResolutionExceptionCould not find required mod: gunpowder-base requires {fabric-language-kotlin @ [>=1.3.50]}
[27.01 15:21:50] [Server] at net.fabricmc.loader.discovery.ModResolver.findCompatibleSet(ModResolver.java:180) ~[custom.jar:?]
[27.01 15:21:50] [Server] at net.fabricmc.loader.discovery.ModResolver.resolve(ModResolver.java:787) ~[custom.jar:?]
[27.01 15:21:50] [Server] at net.fabricmc.loader.FabricLoader.setup(FabricLoader.java:211) ~[custom.jar:?]
[27.01 15:21:50] [Server] at net.fabricmc.loader.FabricLoader.load(FabricLoader.java:201) [custom.jar:?]
[27.01 15:21:50] [Server] at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:126) [custom.jar:?]
[27.01 15:21:50] [Server] at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:27) [custom.jar:?]
[27.01 15:21:50] [Server] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_271]
[27.01 15:21:50] [Server] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_271]
[27.01 15:21:50] [Server] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_271] [27.01 15:21:50] [Server] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_271]
[27.01 15:21:50] [Server] at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:62) [custom.jar:?]
[27.01 15:21:50] [Server] at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:106) [custom.jar:?]
[27.01 15:21:50] [Server] at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:50) [custom.jar:?]
[27.01 15:21:50] [Server] Caused bynet.fabricmc.loader.util.sat4j.specs.ContradictionException: Creating Empty clause ?
[27.01 15:21:50] [Server] at net.fabricmc.loader.util.sat4j.minisat.constraints.cnf.Clauses.propagationCheck(Clauses.java:117) ~[custom.jar:?]
[27.01 15:21:50] [Server] at net.fabricmc.loader.util.sat4j.minisat.constraints.cnf.Clauses.sanityCheck(Clauses.java:97) ~[custom.jar:?]
[27.01 15:21:50] [Server] at net.fabricmc.loader.util.sat4j.minisat.constraints.MixedDataStructureDanielWL.createClause(MixedDataStructureDanielWL.java:81) ~[custom.jar:?]
[27.01 15:21:50] [Server] at net.fabricmc.loader.util.sat4j.minisat.core.Solver.addClause(Solver.java:401) ~[custom.jar:?]
[27.01 15:21:50] [Server] at net.fabricmc.loader.discovery.ModResolver.findCompatibleSet(ModResolver.java:177) ~[custom.jar:?]
[27.01 15:21:50] [Server] ... more [27.01 15:21:50] [Multicraft] Server shut down (starting) [27.01 15:21:50] [Multicraft] Restarting crashed server in 2.0 seconds [27.01 15:21:50] [Multicraft] Looks like a crash, check the server console. Return value: 1
You're missing Fabric Language Kotlin
Does the client have to download the mods too?
Nope, its fully server-side :)
In reply to Martmists:
Pog
Would you kindly document the dependencies on Kotlin and PlayerAbilityLib somewhere? Only discovering them at run-time is quite frustrating when assembling a modpack.
Huh, I could've sworn it was in the relations tab... I'll try to add them to the current release
In reply to Martmists:
Just so you know, they still aren't listed there.
<p>hello guys , when i put gunpowder utilities , my server unable to lunch , without gunpower utilities , server running fine . i check logs , gunpower base plugin unable to load and crash . Currently im using version 1.16.2<br /><br />below is log report : <br />https://github.com/Gunpowder-MC/Gunpowder/issues/88</p>
Are there plans for 1.16.4?
I've had my eye on this for a while but we just jumped from .1 to .4 :(