Now you can configure if you want remove or not the invisibility when the player/mob cause/recive damage.
Thanks HappierGore & Vladimir Sauko for the idea
Fixed older spigot versions compatibility
The plugin have a lot of versions and features to test, Im a programmer just for fun. So if you find any error please contact me in discord RaulH22#2808
Thanks HappierGore for report
Command: /betterinvisibility /betterinvisibility <seeInvisible/seeArmor>
[on/off
][player
] permissions:
betterinvisibility.commands.*:
default: op
description: Access
all the plugin commands!
children:
battletraining.commands: true
betterinvisibility.commands.seeinvisible.*: true
betterinvisibility.commands.seearmor.*: true
battletraining.commands:
default: op
description: Access the plugin command!
betterinvisibility.commands.seeinvisible.*:
default: op
description: Will show invisible players to anyone!
children:
betterinvisibility.commands.seeinvisible: true
betterinvisibility.commands.seeinvisible.other: true
betterinvisibility.commands.seeinvisible:
default: op
description: Will show invisible players to yourself!
betterinvisibility.commands.seeinvisible.other:
default: op
description: Will show invisible players to other player!
betterinvisibility.commands.seearmor.*:
default: op
description: Will show invisible armors to anyone!
children:
betterinvisibility.commands.seearmor: true
betterinvisibility.commands.seearmor.other: true
betterinvisibility.commands.seearmor:
default: op
description: Will show invisible armors to yourself!
betterinvisibility.commands.seearmor.other:
default: op
description: Will show invisible armors to other player!
- Just optimization and bug fix
- Im testing at spigot 1.16 so if you found some bug please send to me
- Know bugs:
Blinking helmet with creatures catch fire with daylight
Nullpointerexception with permissions fixed;
### me.RaulH22.BetterInvisibility.b.TargetChecker.getTargetGroup(TargetChecker.java:64)
Thanks Gustavo_Player to report
OnDamageEvent:
removePlayerInvisibility: false
removeMobInvisibility: false
whitelist:
#If enabled only specific events will remove the invisibility
enable: false
#If whiteListMode is true only the events in the list will remove the player invisibility
#else will works like a blacklist
whiteListMode: true
list:
- void
BeforeDamage:
returnsInvisible: false
timeInTicks: 60
removePassedTime: false
If you are in a version greater than or equal to 1.13, the armor shows up and hides automatically.
For these versions the 'CheckInvisiblesTime' it only to cancel the target of mobs
Thanks xLOCKnLOADx , .
Gorilla In Da Rain and fahrees for ask the update and report bugs
- add support for 1.15
The plugin has been entirely rewritten, better and cleaner. Any error or bug report me via discord
RaulH22 # 2808