Skip to content

Conversation

@ArtemBalakin
Copy link

Новый плагин на работу со временем входа игры


player.sendMessage("§aТекущее серверное время: §e" + TimeUtils.formatTime(currentTime));
player.sendMessage("§aВаше время входа: §e" + TimeUtils.formatTime(joinTime));
player.sendMessage("§aВы на сервере уже §e" + minutes + " мин " + seconds + " сек");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Может, через MessageBuilder?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тогда можно сразу так, в рамках задания класс не особо полезный вышел, но на перспективу мб удобнее получить пачку методов с форматированием и тд

@EnderDissa
Copy link
Member

принято

@EnderDissa EnderDissa closed this Mar 7, 2025
@EnderDissa EnderDissa linked an issue Mar 7, 2025 that may be closed by this pull request
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.

Задача для SumrakBro

3 participants