Sign in to follow this  

Mod Development Basics

Recommended Posts

If someone with many years of Java experience were inclined to attempt writing or maintaining some mods, how would he go about doing it?


Is there some kind of SDK or similar resources for Wurm Unlimited, or does one just decompile the jar files and try to make best guesses by looking at various existing mod source code?

Share this post

Link to post
Share on other sites

well i can at least tell you how i do it.

Yup decompiled the server.jar, use the modlauncher and yeah pretty much do what ever you want, I only do server mods though.


Plenty of mods out there already you can use to get the general idea of how it works.

Share this post

Link to post
Share on other sites

Reverse engineer. That was my best teacher.

Oh you said that. Sorry was posting out of my league.

Edited by lowborn

Share this post

Link to post
Share on other sites

This article about setting up IntelliJ for WU modding is very good:


For decompiling I'm using Procyon, this shell script will make decompiling jars easier:



for i in "$@"
    ARGS="$ARGS $i"


I've just named it "javad" and placed in /usr/local/bin

Then decompiling a jar is done in the terminal:

javad [jarfile] -o [outputdir]

Modding with Ago's modlauncher is done using javassist, which is a good idea getting to know.


Ago's example mods are all you need to learn how to write mods, make code injections etc. Everything else is about reading the decompiled code and making injections or adding hooks.


  • Like 1

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this