kangarko / Boss

Premium custom monsters plugin with skill system, natural spawning and lots of sickest features!
https://www.mc-market.org/resources/21619/
77 stars 28 forks source link

Add New WorldGuard Flag for stop targetting players #1205

Closed Lecer69 closed 11 months ago

Lecer69 commented 1 year ago

a new worldguard flag to prevent boss from targetting players. it's not the same as 'boss-target' flag, because the boss-target flag doesn't stop targetting player.

by the way I'm still waiting for "apply looting for mob drops"

kangarko commented 1 year ago

The boss-target stops targeting inside regions, how do you want the new flag to be different?

Lecer69 commented 1 year ago

The boss-target stops targeting inside regions, how do you want the new flag to be different?

But boss-target doesn't stop targeting players when the players move to a new region with "boss-target" flag.

kangarko commented 12 months ago

I am sorry, I don't understand you exactly. So you want to un-target players automatically when they cross a region's border? I am afraid that would cause a lot of performance issues since we'd have to check for movement, but I can add it as a toggle able option if this is what you asked for.

Lecer69 commented 12 months ago

I am sorry, I don't understand you exactly. So you want to un-target players automatically when they cross a region's border? I am afraid that would cause a lot of performance issues since we'd have to check for movement, but I can add it as a toggle able option if this is what you asked for.

Yes, but you can use a runnable instead of checking for movements.

Here's the video for more details: https://youtu.be/y_B7ZwJODTU

kangarko commented 11 months ago

Thanks, done!