My first post! Help with Towny perms and skript

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Villo

New Member
Oct 3, 2023
6
0
1
20
Hi! This is my first post and I have a simple idea
I use the Towny plugin as a protection and a kind of factions system in my server, but it is a mods server as well, and I have de Gravestones mod.
When you raid a base and someone of the opponents in its base dies, the gravestone holds the whole loot, and you can't get the reward of the victory, because when you raid someone's base and he dies inside his protection, you cant break blocks (a necessary protection, because the players need to be protected in most cases) How can I do to make a Skript that just allows in the Towny protection the gravestone to be destroyed? I know that it is a modded block, but I read in an old post that it is possible with aliases: https://forums.skunity.com/threads/modded-items-in-skript.4727/
How can I configure all this things?
 
If you have worldguard just create a separate region that the gravestone is in and set 'block-break' to 'allow'