Skip to content

Global /time command overrides and resets player's /ptime setting #6359

@GenOpenDiesel

Description

@GenOpenDiesel

I USE DEFAULT CONFIG!

Type of bug

Compatibility issue

/ess dump all output

https://essentialsx.net/dump.html?bytebin=UTPDeQwaAp

Error log (if applicable)

No response

Bug description

Description:
I have encountered an issue where changing the global server time forces a time update for players who have a personal time set via /ptime. This effectively cancels their personal time setting, syncing them back to the server time immediately.

Steps to reproduce

  1. A player executes /ptime night (The player sees night correctly).
  2. An admin or the console executes /time day (or /time set day) to change the global world time.
  3. Observe the player who used /ptime.

Expected behaviour

The player's personal time (/ptime) should remain as "night" regardless of the global server time change. Personal time settings should take priority over global world updates until the player manually resets it (e.g., /ptime reset).

Actual behaviour

The player's time changes to "day" immediately after the global command is used, effectively ignoring/disabling their active /ptime state.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: unconfirmedPotential bugs that need replicating to verify.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions