Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with the /seen and vanish #8852

Closed
3 tasks done
NoltoxGit opened this issue Jun 20, 2024 · 1 comment
Closed
3 tasks done

Bug with the /seen and vanish #8852

NoltoxGit opened this issue Jun 20, 2024 · 1 comment
Labels
bug report Reports of bugs/inconsistencies

Comments

@NoltoxGit
Copy link

Description of Issue

Hi there,
I've just noticed an annoying bug with the command /cmi seen (Player).

Explanation:

When a staff goes into vanish, the time displayed in /seen is wrong.

Example:

A staff member has been online for 1h 11min.
It goes into vanish and is then marked as having been offline for 1h 13min.

Solution:

Make it so that when a staff goes into vanish, it looks as if it is disconnecting, i.e. display "offline since 1sec".

Translated with DeepL.com (free version)

Version Information

CMI: 9.7.4.0 Velocity CMIB MySQL
CMILib: 1.5.0.1
Server: Purpur(2176) 1.20.4-R0.1-SNAPSHOT-
CMI economy: Activée Vault: 1.7.3-CMI CMI Chat: Désactivée
Modules -> 33 enabled 33 disabled: spawnerProximity, cuffed, mirror, tablist, armorEffects, moneyCheque, elytraBoost, elytraLaunch, bossBarCompass, chatBubble, votifier, headDrop, spawnerCharge, vanish, homeInteractions, hpBossBar, anvilRenameColor, jail, spawners, nightSpeedup, dynamicSigns, playerChatTag, durabilityLoss, deathMessages, teleportWith, disabledEnchants, worldLimitsElytra, worldLimits, ranks, sitAnimation, silentChest, warmup, totemBehavior

Errors

No errors.

Relevant Config Sections

I haven't tested this bug with CMI's "Vanish" module, as I use PremiumVanish to manage vanish on my server.

Relevant Plugins

PremiumVanish 2.9.10

Agreements

  • My server is supported by CMI.
  • My version of CMI at the time of this report is up to date.
  • I have searched the github and asked around before making this report.
@NoltoxGit NoltoxGit added the bug report Reports of bugs/inconsistencies label Jun 20, 2024
@Zrips
Copy link
Owner

Zrips commented Jun 21, 2024

Issue is that we don't really have reference point from when player went into vanish mode if you are using 3rd party vanish plugin, so our best bet is to just use players last login time. While using CMI vanish we are properly indicating offline time to be from the moment player enters vanish mode. As inconvenient it is, not much we can do about it at this point as it would need direct support for all vanish plugins out there, which is really not a good solution to have.

@Zrips Zrips closed this as completed Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Reports of bugs/inconsistencies
Projects
None yet
Development

No branches or pull requests

2 participants