Particles won't work for players with particles disabled. I, for one, find digging particles to be *incredibly* annoying, so I disabled them in my client. Particles for something like this wouldn't be annoying at all, but as far as I know, there's no way to selectively disable particles, and even if there was, some other player might disable all particles. Something visible to any player regardless of their settings would be better.texmex wrote:I’m sorry. That’s Minecraft. But for MT I’m thinking that the particle drawing method used in the breadcrumbs mod would suffice. The lines don’t have to be permanent either, a few seconds would suffice. Particles can now glow through the dark too.
Anything protected via such a method wouldn't be detected when a player digs, as there is no external protected block database. Instead, the mod checks for a local block-protection node, so there needs to be an actual block-protection none in the area for it to be protected. Unless ... the "/protect" command places the nodes for the admin using it, but it won't be able to automatically detect which locations for the nodes (out of 4096 possibilities per block) would be the most desirable.Pyrollo wrote:Nice aproach !
It could be good to have also an area mod like /protect command to claim vast amount of map blocks at once (giving the two corners map blocks).
This would be great for admins and probably need a privilege to be able to use.
Also, all blocks to be claimed would need to be loaded at the time the command was run. Any block not loaded at the time wouldn't receive a claim node, so it would remain unclaimed. With such a command being unreliable in this way, an admin might think they'd protected a spot when they really hadn't. That seems ... unsafe.
That'd work great, but last I knew, Minetest won't draw the texture on the inside unless you used a mesh-based entity, and I have no idea how to construct a mesh. Know of any good tutorials?zing269 wrote:You can get a similar line effect by using an entity as a texture. I used a stripped down version from TenPlus1's protector redo in my mod to force load mapblocks, viewtopic.php?f=9&t=19840. I do get some visual glitches, like the boundaries disappearing from certain angles.