Made per request. Pretty simple, it just makes village raiders glow.
Notice: If you used version 1.1 or older, delete your config and let it regenerate so it has the new messaging options and stuff. Well, obviously if you changed messages then just rename it so you can copy the info from the old to the new.
You can either have glowing raiders enabled for the whole server, or only enabled when a particular player is within range of the raid location. The system defaults to both disabled. To enable globally, you'd use /raidglow toggle global. For per player, the player who wants the functionality would do /raidglow toggle personal to switch it on or off for them.
Now it doesn't matter if you have 10 players enter a village and 9 of the 10 have personal off, if even one has personal on when the raid starts all players will see the glow because the glow is set per attacking entity not literally per player. I could probably change that with packets, but I have absolutely zero motivation to research that lol.
For personal raid detection, it bases it on a 50 block cuboid range from the center of the raid location. You can override that range by specifying range values in the config. Example:
Code (Text):
config:
ranges:
x: 120
y: 255
z: 500
That means from the center of the raid's location, any raiders within 120 blocks X radius, 255 blocks Y radius or 500 blocks Z radius will glow.
Commands
/RAIDGLOW status
raidglow.status
raidglow.status.[plugin | global | personal]
Shows status of the triggers. Requires raidglow.status permission to use the command at all, then each subpermission determines which trigger they can view status on.
/RAIDGLOW toggle [plugin | global | personal]
raidglow.toggle
raidglow.toggle.[plugin | global | personal]
Lets you toggle the functionality on three different triggers. Well, plugin isn't a "trigger" really; it just turns the overall functionality off or on regardless of individual trigger settings. If personal is enabled, raiders will glow if you are within a village during a raid. If global is enabled, raiders will glow regardless of the presence of a personal enabled player.
Placeholders
%raidglow_active%
Returns true or false based on if overall plugin functionality is turned on or off
%raidglow_global%
Returns true or false based on if global raid glowing is on or off
%raidglow_personal%
Returns true or false based on if raid glowing is on or off for the player