I got a stack trace pointing to your mod, and then it showed an undefined variable in the mod debuggery. I think it might be a conflict. But just to be fair — I’m also playing on an outdated Minetest version.
The bug appears when I run the debuggery command /clear_mobs.
You're right, that command might work fine in the latest versions — but on my setup it still fails. I'm using an older version of Minetest, so that might be part of the issue.
I’ve also had trouble removing Dragons from the Draigh-uisge mod. Sometimes it seems like each Dragon has two entities linked together, or maybe they’re registered in an unusual way. That might be causing issues when trying to clear them.
Well, with the latest versions of Draigh-uisge and Debuggery, I'm not getting any errors. Debuggery's /clear_mobs command doesn't seem to be able to kill the dragons from that mod, but that has absolutely nothing to do with Better Commands.
And if you do want to kill the dragons with Better Commands, this works perfectly for me (although there might be other dragon types, I didn't check):
/kill @e[type=waterdragon:scottish_dragon]
If you want to remove it (just delete the entity without killing it the normal way), replace /kill with /remove.
I will not support old Luanti versions, so unless someone else contributes a fix, you'll just have to live with it (or update). There's a chance that if you send the stack trace I might find an actual issue, but I can't promise anything.
Got it — thanks a lot for the clarification!
That explains everything. And yes, your /kill example works fine for me too.
I’ll consider updating eventually, but for now I’ll just work around it. Thanks again for taking the time to check and explain!
Great mod! Thanks. Very useful if you are a developer. Many issues, but it is still useful!
What kind of issues? Because I can probably fix them fairly easily.
I got a stack trace pointing to your mod, and then it showed an undefined variable in the mod debuggery. I think it might be a conflict. But just to be fair — I’m also playing on an outdated Minetest version. The bug appears when I run the debuggery command /clear_mobs.
That command seems to work perfectly for me, at least in the latest version of Luanti and Minetest Game.
You said there were "many issues." Are there any others you know of?
You're right, that command might work fine in the latest versions — but on my setup it still fails. I'm using an older version of Minetest, so that might be part of the issue. I’ve also had trouble removing Dragons from the Draigh-uisge mod. Sometimes it seems like each Dragon has two entities linked together, or maybe they’re registered in an unusual way. That might be causing issues when trying to clear them.
Well, with the latest versions of Draigh-uisge and Debuggery, I'm not getting any errors. Debuggery's
/clear_mobs
command doesn't seem to be able to kill the dragons from that mod, but that has absolutely nothing to do with Better Commands.And if you do want to kill the dragons with Better Commands, this works perfectly for me (although there might be other dragon types, I didn't check):
/kill @e[type=waterdragon:scottish_dragon]
If you want to remove it (just delete the entity without killing it the normal way), replace
/kill
with/remove
.I will not support old Luanti versions, so unless someone else contributes a fix, you'll just have to live with it (or update). There's a chance that if you send the stack trace I might find an actual issue, but I can't promise anything.
Got it — thanks a lot for the clarification! That explains everything. And yes, your /kill example works fine for me too. I’ll consider updating eventually, but for now I’ll just work around it. Thanks again for taking the time to check and explain!