Zrips / CMI

117 stars 99 forks source link

Playtime still going up when vanished #8618

Open Recliness opened 6 months ago

Recliness commented 6 months ago

Description of Issue

As you can see in the image below, my playtime is still going up, even though CMI is detecting that I am vanished.

image

Version Information

[13:33:59 INFO]: --------------------------------------------------
[13:33:59 INFO]: CMI: 9.7.0.4 Velocity CMIB  MySQL
[13:33:59 INFO]: CMILib: 1.4.6.1 
[13:33:59 INFO]: Server: Purpur(2169) 1.20.4-R0.1-SNAPSHOT-
[13:33:59 INFO]: CMI economy: Enabled Vault: 1.7.3-CMI CMI Chat: Enabled 
[13:33:59 INFO]: Modules -> 52 enabled 7 disabled: spawnerProximity, tablist, ranks, moneyCheque, holograms, spawners, spawnerCharge
[13:33:59 INFO]: --------------------------------------------------

Errors

No response

Relevant Config Sections

config.yml lines 1719-1743

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
    fakeJoinLeave: false
    mobSpawning: false
    stopPlaytime: true
    sleepIgnore: true
    joinVanished: false
    deathMessages: false
    hookPlayers: false

Relevant Plugins

PremiumVanish 2.9.9

Agreements

Zrips commented 6 months ago

Double check that your player actually has enabled stopPlaytime, you can do that with /cmi vanishedit gui or dirrectly with /vanishedit Zrips stopplaytime true while config file defaults are just defaults and will not have effect if you already modified your vanish settings ingame at some point.

Recliness commented 6 months ago

Double check that your player actually has enabled stopPlaytime, you can do that with /cmi vanishedit gui or dirrectly with /vanishedit Zrips stopplaytime true while config file defaults are just defaults and will not have effect if you already modified your vanish settings ingame at some point.

Yep! It's turned on to stop playtime. For more context (because apparently I didn't mention this in the original) I'm using PremiumVanish.

image image

Weirdly enough, even though it says that I am vanished in /info, it doesn't think I'm vanished in the gui.

Recliness commented 6 months ago

Heyo @Zrips, did that latest update fix this issue?

Zrips commented 5 months ago

PremiumVanish would be separate vanish handling on its own, so CMI will not really do much here. All of those vanish features are based on player going into vanish mode by using CMI vanish as it needs appropriate triggers when player enters and leaves this mode

Recliness commented 5 months ago

PremiumVanish would be separate vanish handling on its own, so CMI will not really do much here. All of those vanish features are based on player going into vanish mode by using CMI vanish as it needs appropriate triggers when player enters and leaves this mode

So what you're saying is that I literally have to disable players' abilities to do /playtime... just because I use a third party vanish plugin?