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

feat: formatted times #134

Open
wants to merge 2 commits into
base: v6
Choose a base branch
from
Open

feat: formatted times #134

wants to merge 2 commits into from

Conversation

Thatsmusic99
Copy link
Collaborator

this was living on my PC for a bit and wanted to let it loose so here it is

Adds time formatting to messages through a new placeholder, respectfully:

  • <time-formatted> instead of <time> for Error.onCooldown
  • <lifetime-formatted> instead of <lifetime> for Info.tpaRequestHere, Info.requestSent, and Info.tpaRequestReceived
  • <countdown-formatted> instead of <countdown> for Teleport.eventBeforeTP and Teleport.eventBeforeTPMovementAllowed

Prior placeholders are still kept for version parity, since the transition to the formatted timestamps is not automatic, nor do I plan on making it such.

Signed-off-by: Thatsmusic99 <[email protected]>
# Conflicts:
#	AdvancedTeleport-Bukkit/src/main/java/io/github/niestrat99/advancedteleport/config/CustomMessages.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant