I'm back - updating old mods

Post Reply
User avatar
thefamilygrog66
Member
Posts: 177
Joined: Mon Jul 09, 2012 19:08
GitHub: thefamilygrog66
In-game: thefamilygrog66 + Mort
Location: Ontario, Canada

I'm back - updating old mods

by thefamilygrog66 » Post

Hey All,

I used to be pretty involved in the game formerly known as Minetest, specifically with writing mods and hosting a few different servers (e.g. Groglandia and The Darkside), as well as playing on a number of different servers and making a few friends along the way. Glad to see some of my old mods still kicking around here and there!

Anyway, I've recently gotten back into what is now known as Luanti, and am planning on updating my old mods, most of which still contain deprecated lua code, and hosting at least one new public server eventually. Which brings me to my question:

What would be the best resource(s) for updating the code in my old mods so that they're compatible with the newest version of Luanti? Are there any automatic parsers that could help?

Any suggestion would be greatly appreciated, and I'm really looking forward to catching up with the community again!

Grog (aka Mort)

User avatar
Krock
Developer
Posts: 4736
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: I'm back - updating old mods

by Krock » Post

Welcome back!

Here's a stupid simple script of mine to replace some old notations: https://gist.github.com/SmallJoker/cb89 ... ced1c5fc31
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
thefamilygrog66
Member
Posts: 177
Joined: Mon Jul 09, 2012 19:08
GitHub: thefamilygrog66
In-game: thefamilygrog66 + Mort
Location: Ontario, Canada

Re: I'm back - updating old mods

by thefamilygrog66 » Post

Krock wrote:
Tue Feb 03, 2026 19:44
Welcome back!

Here's a stupid simple script of mine to replace some old notations: https://gist.github.com/SmallJoker/cb89 ... ced1c5fc31
Thanks Krock, it's greatly appreciated!

User avatar
Wuzzy
Member
Posts: 5104
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: I'm back - updating old mods

by Wuzzy » Post

I also strongly recommend to set chat_log_level = warning in your Luanti settings so that warnings appear in your chat as well so you're less likely to miss them.

Luanti will log warnings for all or most deprecated function calls. Luanti has also become better with the warnings in general. It helped me find mistakes in my code countless times.

As for other deprecations, you want to check out the changelog: https://docs.luanti.org/about/changelog/

(btw: the old Minetest Wiki and Minetest Developer Wiki are TOAST. They have been replaced with the inferior docs.luanti.org because MediaWiki is too heavy :-( )

User avatar
Blockhead
Moderator
Posts: 2985
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: I'm back - updating old mods

by Blockhead » Post

Wuzzy wrote:
Wed Feb 04, 2026 12:05
(btw: the old Minetest Wiki and Minetest Developer Wiki are TOAST. They have been replaced with the inferior docs.luanti.org because MediaWiki is too heavy :-( )
Don't forget MediaWiki accounts were rarer than rocking-horse poo on the main wiki, let alone the dev one, and the consensus was that duplication was too common with the dev wiki and lua_api.md
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

User avatar
thefamilygrog66
Member
Posts: 177
Joined: Mon Jul 09, 2012 19:08
GitHub: thefamilygrog66
In-game: thefamilygrog66 + Mort
Location: Ontario, Canada

Re: I'm back - updating old mods

by thefamilygrog66 » Post

Wuzzy wrote:
Wed Feb 04, 2026 12:05
I also strongly recommend to set chat_log_level = warning in your Luanti settings so that warnings appear in your chat as well so you're less likely to miss them.

Luanti will log warnings for all or most deprecated function calls. Luanti has also become better with the warnings in general. It helped me find mistakes in my code countless times.

As for other deprecations, you want to check out the changelog: https://docs.luanti.org/about/changelog/

(btw: the old Minetest Wiki and Minetest Developer Wiki are TOAST. They have been replaced with the inferior docs.luanti.org because MediaWiki is too heavy :-( )
Thanks for the tips, Wuzzy

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests