Zrips / CMI

116 stars 98 forks source link

Vanish not blocking xp orbs from targeting #3540

Closed Momshroom closed 4 years ago

Momshroom commented 4 years ago

Description of issue: Vanished players are attracting xp orbs. Vanish will also not stop a mob that is already targeting you from doing so. And if it's shooting fire charges, etc, armor is damaged. my vanishedit settings: https://prnt.sc/t4jy1f


CONFIG SECTION (DELETE IF NOT RELEVANT):

#######################################
## REPLACE WITH RELEVANT CONFIG SECTION  ##
#######################################

Vanish:

Defines default states of vanish edit options for players

This will not have any effect if player already edited his vanish mode with vanishedit command

Defaults: damageToEntity: false playerDamage: false itemPickup: false mobAggro: false interaction: false noisyChest: false informOnLeave: false informOnJoin: false nightVision: true bossbar: true afkcommands: false PrivateMessages: false relogDisable: false noMessages: false

Cmi Version (using/cmi version):

15:00:16 INFO: CMI plugin version: 8.6.27.3 MySQL 15:00:16 INFO: Server: Paper(365) 1.15.2-R0.1-SNAPSHOT 15:00:16 INFO: CMI economy: False Vault: 1.7.2-b107 CMI Chat: False 15:00:16 INFO: Modules -> 43 enabled 8 disabled: spawnerProximity, flightCharge, disabledEnchants, mirror, ranks, moneyCheque, spawners, spawnerCharge

Server Type (Spigot/Paperspigot/etc): Paper

Server Version (using /ver): [15:00:42 INFO]: This server is running Paper version git-Paper-365 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT) [15:00:42 INFO]: Checking version, please wait... [15:00:43 INFO]: Previous version: git-Paper-348 (MC: 1.15.2) [15:00:43 INFO]: You are 1 version(s) behind

CloudeLecaw commented 4 years ago

have you edited your vanishmode?

Vanish: Defines default states of vanish edit options for players This will not have any effect if player already edited his vanish mode with vanishedit command

if you edit your vanishmode only once then u dont have the default anymore and need to use the vanisheditor for you. These default are only taken if vanisheditor never was used before

vanishedit (playerName) Edit vanish mode for player

There could be two possible reasons for this effect. Xp orbs are an entity and no item, so may it does not count for itemPickup, or the picup of XPOrbs is not counted as an interaction.

have u tested this out?

Momshroom commented 4 years ago

I'm not picking up items, just xp orbs.

I showed a picture of my vanished screen above. I have only private messages, the bossbar, and night vision toggled on: everything else is off.

Zrips commented 4 years ago

Due to how exp orbs are made, i cant really block their movement towards their target. This is known issue and its an issue with minecraft itself. Unless some one knows how we could create work around for this, we will have to leave with it.