Hmm, maybe... The real product is usually called "remover", but "eraser" might be easier to understand.
Hmm, an "Anti-Graffiti Block", prohibits use of Graffiti except by those with server priv, of course with a range of X number of blocks. (I'm thinking maybe a range of 10 blocks for a good default, but configurable so a server owner could change it)
I'll happily accept a PR for an Anti-Graffiti Block, but I probably won't make one myself.
I think the person who created this thread is getting email notifications for all of our posts. Maybe we should continue this discussion somewhere else ^^
Perhaps also do a check for if the node it's supposed to be "attached" to is air, if so also clean it up too. (This would fix another comment #4165, and provide a quicker way to remove grief graffiti (just replace the node(s)).
Done :) I implemented it in a different way, though.
Ah, maybe I should rename it "Graffiti Remover Spray Can" or something. In case you didn't know, you can use a protection mod like https://content.minetest.net/packages/TenPlus1/protector/ to prevent others from spraying your buildings.
Thanks for your feedback :-) You are right, some sounds would be nice. The only time I think it would make sense to play a sound, though, is when spraying. Regarding the anti-graffiti spray can, here is a short video demonstrating its use: https://youtu.be/-Hb5GU48ATU.
Hi, thank you for your feedback :-) I understand your description to mean that the following happened:
You created a new world and opened it.
You sprayed some graffiti.
You closed the world and opened it again.
Without you doing anything (like spraying graffiti again), it crashed.
This probably means that some graffiti entities have not been saved correctly. If you just want to get the world working again, you can do the /clearobjects command before it crashes. That will remove all graffiti (and all other entities). You might have to copy & paste the command if typing it takes too long (longer than the time you have before the world crashes).
If I do the steps I've described above on Minetest 5.6.1, Minetest Game 5.6.1, no mods except ggraffiti enabled, I don't get a crash. Does this always happen for you? What MT version are you using? With what game and, if any, with what other mods do you get this crash? Is there anything special you have to do for it to happen?
For trying out ContentDB, I created a package with the same technical name as this one, "cascade". I never submitted it for approval. To be able to create this one, I deleted it, but ContentDB still doesn't allow me to use the name again. I'm now using "cascade_2" instead. Could you please really delete my old package? It is also still counted on https://content.minetest.net/packages/?author=grorp.
Thanks for your review!
Hmm, maybe... The real product is usually called "remover", but "eraser" might be easier to understand.
I'll happily accept a PR for an Anti-Graffiti Block, but I probably won't make one myself.
I think the person who created this thread is getting email notifications for all of our posts. Maybe we should continue this discussion somewhere else ^^
I've now done something about two of your points:
Graffiti is now removed when you dig the node it is attached to. Maybe this also partially fixes
as it allows you to remove all graffiti by just re-placing the node.
Suggestions by @ApolloX.
Done :) I implemented it in a different way, though.
I've now renamed the "Anti-Graffiti Spray Can" to "Graffiti Remover Spray Can".
BTW, incorrectly saved canvases are now removed automatically and no longer crash the server. Thanks for the suggestion, @ApolloX :-)
The relevant commit
Thank you for your review :-)
Ah, maybe I should rename it "Graffiti Remover Spray Can" or something. In case you didn't know, you can use a protection mod like https://content.minetest.net/packages/TenPlus1/protector/ to prevent others from spraying your buildings.
Thanks for your feedback :-) You are right, some sounds would be nice. The only time I think it would make sense to play a sound, though, is when spraying. Regarding the anti-graffiti spray can, here is a short video demonstrating its use: https://youtu.be/-Hb5GU48ATU.
If it doesn't happen again, then ... well. May the bug sleep for a hundred years.
Hi, thank you for your feedback :-) I understand your description to mean that the following happened:
This probably means that some graffiti entities have not been saved correctly. If you just want to get the world working again, you can do the
/clearobjects
command before it crashes. That will remove all graffiti (and all other entities). You might have to copy & paste the command if typing it takes too long (longer than the time you have before the world crashes).If I do the steps I've described above on Minetest 5.6.1, Minetest Game 5.6.1, no mods except
ggraffiti
enabled, I don't get a crash. Does this always happen for you? What MT version are you using? With what game and, if any, with what other mods do you get this crash? Is there anything special you have to do for it to happen?Hi, thank you for the feedback :-) Regarding your suggestions:
Option to change how big you paint by
Yes, good idea, although right now I don't know how it could be implemented.
Protection
The graffiti should already respect protection mods. If it doesn't, you could file a bug at https://github.com/grorp/ggraffiti/issues/new :-)
Don't consume paint if in creative mode
Yes, I guess I should do that.Done.Thank you.
Is there any news on this?
For trying out ContentDB, I created a package with the same technical name as this one, "cascade". I never submitted it for approval. To be able to create this one, I deleted it, but ContentDB still doesn't allow me to use the name again. I'm now using "cascade_2" instead. Could you please really delete my old package? It is also still counted on https://content.minetest.net/packages/?author=grorp.