Requires Java 1.8 or higher. It's built using Groovy. This makes it cross platform as long as you have java.
Releases for muddler can be found HERE
Wiki where the documentation will hopefully improve can be found HERE
Report any issues or feature requests HERE
Hello fine people. I've been quietly working on a project since about March, though the birth of my most recent child at the beginning of May did put a pause on it. I have written a build tool to (hopefully) make collaborating and source versioning Mudlet package projects a little bit easier. The tool is still kind of rough, it doesn't take any command line arguments, it just takes a project structure and assembles it into a mudlet package, both .xml and he zipped .mpackage.
The specifics are gone into in a bit more detail at the wiki, but I completely favor convention over configuration. The basic structure is a src directory with "triggers", "aliases", "timers", "scripts", and "resources" folders in them. Within these folders you describe the mudlet objects, with a .json file to describe the objects and .lua files matched to the name of the Mudlet object automatically read in for the script portion. The resources folder is where you place any additional files you want includes in the zipped mpackage. The filetree for recreating my animated timers package looks like this:
Code: Select all
C:\ANITIMERS
│ mfile
│
└───src
├───aliases
│ └───AnimatedTimers
│ aliases.json
│ anitimer_demo.lua
│
├───resources
│ test1.jpg
│ test5.jpg
│
├───scripts
│ └───AnimatedTimers
│ code.lua
│ scripts.json
│
└───timers
└───AnimatedTimers
animate.lua
timers.json
Right now it has the limitation of not working if you don't nest your items in a subdirectory, above I used AnimatedTimers. Having items directly in , for instance, /src/scripts causes an error and I haven't bothered to track it down yet. Also, you cannot add script to folders, nor can you have multiple items with the same name in the same folder, they'll get merged. At some point down the line perhaps I or someone else will work that bit out. I also have not yet done keybindings or buttons, as I use those least often and these were the Big 4 I felt like I had to have done to present it to the world.
I hope this helps some folks out. If you have issues with muddler, please file them on the github page.