• Chào bạn, hãy đăng ký hoặc đăng nhập để tham gia cùng bọn mình và sử dụng được đầy đủ chức năng của diễn đàn :).
Resource icon

Plugin Việt Nam TimedMMOItems - Item thời hạn cho MMOItems 1.0.7

No permission to download
Hỗ trợ phiên bản
  1. 1.14
  2. 1.15
  3. 1.16
  4. 1.17
  5. 1.18
  6. 1.19
  7. 1.20
Mã nguồn
https://github.com/anhcraft/TimedMMOItems
TimedItems tương thích plugin MMOItems
- Tích hợp hệ thống stat của MMOItems
- Hỗ trợ cập nhật lore tự động nếu dùng revision system


zQy7mPF.png


s2UE8x2.png


Thêm 2 stats:
- Thời gian sử dụng (Expiry Period), đơn vị là giây vd 30 ngày = 30 * 24 * 60 * 60 = 2592000
- Hạn sử dụng (Expiry Date), đơn vị là mili giây - thời điểm chính xác item sẽ hết hạn

Khi config MMOItems chỉ cần dùng stat đâu tiên (Expiry Period), plugin sẽ check item đang dùng và add stat thứ hai (Expiry Date) khi cần thiết

Quyền để bypass: timeditems.bypass

Để hiển thị trong lore, thêm vào file language/lore-format.yml
Mã:
- '#expiry-period#'
- '#expiry-date#'

Lệnh: /ti hoặc /tmi hoặc /timeditems hoặc /timedmmoitems

FAQ: Nếu không cho xoá item thì sao? Item vẫn không dùng được

Link cần thiết:
- Tài liệu hưỡng dẫn config: anhcraft.dev
- Discord: discord.gg

Việt hoá
YAML:
expiry-period-format: '&e[Thời Hạn: %value%]'
expiry-date-format: '&e[Thời Hạn: %value%]'
item-expired: '&c&l[!] Vật phẩm đã hết hạn'
item-expired-placement: action-bar
remove-expired-item: true
expired-item-removed: '&cĐã xoá %amount% món hết hạn'
unit-format:
  second: '%ds'
  minute: '%dm'
  hour: '%dh'
  day: '%dd'
  seconds: '%ds'
  minutes: '%dm'
  hours: '%dh'
  days: '%dd'
item-check-interval: 15
replace-expiry-period: true
date-format: dd/MM/yyyy
force-update-inventory: false
ZEnchantmentCore
Plugin Việt Nam  ZEnchantmentCore  2.1.1
Plugin Việt Nam  Bin  1.0
Tác giả
anhcraft
Downloads
159
Lượt xem
2,819
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from anhcraft

Share this resource

Latest updates

  1. TimedMMOItems v1.0.7

    Fix lỗi format :v
  2. TimedMMOItems v1.0.6

    - Một số update tối ưu hoá - Thêm lệnh reload
  3. TimedMMOItems v1.0.5

    - Fix lỗi (hiếm gặp) trong quá trình check item - Cập nhật lib - Phát hành thêm trên Polymart...
Similar content Most view Xem thêm
Back
Top Bottom