josemmo / yamipa

Yet Another Minecraft Image Placing Addon
https://www.spigotmc.org/resources/88709/
MIT License
73 stars 19 forks source link

v1.2.12 - Players can destroy images #109

Closed vYuri closed 11 months ago

vYuri commented 12 months ago

For some reason players can remove the images that are placed. I haven't found a way to fix that tho. WorldGuard regions are not working for yamipa

josemmo commented 11 months ago

Hello @vYuri,

What do you mean by "players can remove the images that are placed"? That's the expected behavior unless you configure Yamipa differently.

vYuri commented 11 months ago

Hello!

I am using:

There are no console errors or entity message errors on console.

If so, how is that I can change the configuration for players to not break the images/gifs? I haven't found a way in the configuration file. Thanks!

josemmo commented 11 months ago

The simplest solution is to not let players use the "remove" command. You can use permissions for that matter. If you read the documentation, you'll see there's even a special permission (yamipa.command.remove.own) to let players remove only the images they've placed.

If you use WorldGuard or similar, check out the Protecting areas section of the documention.

If you're handing out image items instead of letting players use commands, and don't want them to remove images once placed, you can remove the "REMO" flag when generating the image items as explained in the documentation.