Modding Library

Download (124 KB)

How do I install this?

Description

Logo Modding Library (modlib) 🔗

Multipurpose Modding Library

At a glance 🔗

No dependencies. Licensed under the MIT License. Written by Lars Mueller aka LMD or appguru(eu). Requires Lua 5.1 / LuaJIT.

Acknowledgement 🔗

Principles 🔗

  • Game-agnostic: Modlib aims to provide nothing game-specific;
  • Minimal invasiveness: Modlib should not disrupt other mods; even at the expense of syntactic sugar, changes to the global environment - apart from the addition of the modlib scope - are forbidden
  • Architecture: Modlib is organized hierarchically
  • Performance: Modlib tries to not compromise performance for convenience; modlib loads lazily

Reviews

Review

Do you recommend this mod?

  • Useful

    This library offers a huge variety of things that can be used very easily, vastly simplifying modder's lives and doing so in an efficient manner. I love this library and would 100% recommend to anyone and everyone of any skillset.

    0 comments
  • Needed for modding

    As a dumb programmer, I really need this library

    0 comments

Releases

rolling-104

Download

2025-08-29 13:03 UTC

rolling-104 🔗

  • Fix crash in Bluon serialization of tables with holes
  • Remove reference to non-existent debug.lua (thanks to luk3yx!)

rolling-103

Download

2025-01-25 15:48 UTC

rolling-103 🔗

  • Add experimental texture modifier DSL
  • Refactor texmod:calc_dims to use a dispatch table
  • Add support for [png to texmod:calc_dims
  • Remove unused variable in texmod:calc_dims
  • Refactor texmod:read to pass reader around
  • Fix texmod:write emitting unnecessary parens
  • Move local var to appropriate scope
  • texmod.read: Make transforms case-insensitive
  • Fix handling of multiple texmod transforms
  • texmod: Stricter file name validation
  • Fix texmod.colorize crash if ratio is nil
  • texmod.read: Fix [transform followed by a lowercase letter
  • Make colorspec.from_string case-insensitive
  • texmod: Fix broken [sheet assertions
  • texmod: Fix :mask(...) and .mask name collision
  • Fix [multiply missing from texmod:calc_dims
  • Add support for new texture modifiers
  • Improve Bluon documentation
  • Refactor minetest.schematic
  • Add proper schematic documentation
  • texmod.read: Unescaped ^ in (...) laxness
  • Remove unnecessary arguments
  • Add file.with_open to ensure :close() is called
  • Add highly experimental texture generation
  • PNG reader: Use bit library if available
  • Add matrix application to vectors
  • Refactor unnecessary closure
  • Fix b3d:get_animated_bone_properties
  • Bump version

rolling-102

Download

2023-04-02 13:11 UTC

rolling-102 🔗

No release notes

rolling-101

Download

2023-04-01 09:32 UTC

rolling-101 🔗

No release notes

rolling-100

Download

2023-03-04 14:08 UTC

rolling-100 🔗

No release notes

All releases

Information

Provides

modlib

Dependencies

Required
No required dependencies
Optional
dbg strictest

Information

Type
Mod
Technical Name
modlib
Languages
English
License
MIT
Maintenance State
Actively Developed
Added
2019-08-12 18:45 UTC
Maintainers
LMD

Used By