Skip to content

Commit

Permalink
include server name
Browse files Browse the repository at this point in the history
  • Loading branch information
minhh2792 committed Sep 24, 2024
1 parent 2b162f2 commit edd9190
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,15 @@ abstract class LogDAO : DataAccess() {
val price = getInt("price")
val time = getLong("time").timeToString()
val pointsnhan = getInt("pointsnhan")
val server = getString("server")
getMain().language.transactionIdDetailsOutPut.map {
it.replace("%TRANSACTION_ID%", id)
.replace("%PLAYER%", name)
.replace("%CARD_TYPE%", type)
.replace("%CARD_PRICE%", price.format())
.replace("%POINTS_RECEIVED%", pointsnhan.toString())
.replace("%POINT_UNIT%", getMain().config.pointUnit)
.replace("%SERVER%", server)
.replace("%DATE%", time)
}
}
Expand Down
1 change: 1 addition & 0 deletions dotman-plugin/src/main/resources/messages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ transaction-id-details-output:
- '・&aNgười chơi: &e%PLAYER%'
- '・&aLoại thẻ: &e%CARD_TYPE%(%CARD_PRICE% VNĐ)'
- '・&aNhận được: &e%POINTS_RECEIVED% %POINT_UNIT%'
- '・&aServer nạp: &e%SERVER%'
- '・&aNgày: &e%DATE%'

update-available: '%PREFIX% &aĐã có phiên bản mới: &e%NEW_VERSION% &a(phiên bản hiện tại &e%CURRENT_VERSION%&a).'
Expand Down

0 comments on commit edd9190

Please sign in to comment.