Unofficial site, not affiliated with modrinth.com.What is this?
Плагины/GPExpansion
GPExpansion

GPExpansion

The ultimate add-on for GriefPrevention 3D Subdivisions

158
4
Все версииGPExpansion v1.0.6

GPExpansion v1.0.6

Release1 нед. назад

Список изменений

GPExpansion v1.0.6

Highlights

  • Real VaultUnlocked v2 support: /buyclaimblocks and the rest of the economy flow now correctly use the modern UUID + BigDecimal API.
  • The /buyclaimblocks confirmation chest is now fully translatable via a new guis/buyclaimblocks-confirm.yml.
  • New layout for the confirmation menu: Cancel · Info · Confirm (red, gold ingot, green).
  • Clearer error message when an economy provider plugin is missing vs. when Vault itself is missing.
  • Stopped the duplicate-permission warnings on startup when running alongside GriefPrevention.
  • PermissionManager now tolerates malformed player-commands entries in config.yml.
  • Source repackaged from dev.towki.gpexpansion to codes.castled.gpexpansion.

Translatable Confirmation GUI

A new file is shipped to plugins/GPExpansion/guis/buyclaimblocks-confirm.yml on first run. It controls every visible string and item inside the confirmation chest:

title: "&6Buy {amount} blocks for {totalCost}"
filler:
  material: GRAY_STAINED_GLASS_PANE
slots:
  cancel: 0
  info: 2
  confirm: 4
items:
  info:
    material: GOLD_INGOT
    name: "&6&l{amount} Claim Blocks"
    lore:
      - ""
      - "&7Cost per block: &e{cost}"
      - "&7Total cost: &a{totalCost}"
  confirm:
    material: LIME_WOOL
    name: "&a&lCONFIRM"
    lore:
      - ""
      - "&7Click to purchase"
      - "&e{amount} &7claim blocks"
  cancel:
    material: RED_WOOL
    name: "&c&lCANCEL"
    lore:
      - ""
      - "&7Click to cancel"

Placeholders ({amount}, {cost}, {totalCost}) are pre-formatted by your active economy. The defaults match the previous English text, so existing servers see no visible change until they translate the file.

Chat-side messages (cost mismatch, purchase confirmation, etc.) continue to be sourced from GriefPrevention's messages.yml via the v1.0.5 bridge.

Repackage: codes.castled.gpexpansion

The Java sources moved from dev.towki.gpexpansion to codes.castled.gpexpansion. This is purely a namespace/branding change — there is no behavioral difference and no migration step is required.

Compatibility

  • Paper API 1.26.1 (Java 21).
  • Folia-supported.
  • GriefPrevention3D v17.3.10+ (uses the same Messages enum bridge introduced in v1.0.5).
  • Vault, VaultUnlocked v1, VaultUnlocked v2.x, or any provider that registers net.milkbowl.vault.economy.Economy or net.milkbowl.vault2.economy.Economy.

Files Added / Changed

  • Added src/main/resources/guis/buyclaimblocks-confirm.yml.
  • Refactored BuyClaimBlocksConfirmationGUI to render fully from the new YAML with English fallbacks.
  • Refactored GPExpansionPlugin economy methods (getBalance, hasMoney, withdrawMoney, depositMoney, formatMoney) for v2 BigDecimal/UUID + new interpretEconomyResponse helper + new isVaultPluginInstalled helper.
  • Refactored BuyClaimBlocksCommand to differentiate "no Vault" vs "no provider".
  • Refactored PermissionManager.updatePlayerCommandPermissions() for malformed-entry tolerance.
  • Cleaned paper-plugin.yml (removed duplicate griefprevention.claims / griefprevention.transferclaim declarations).
  • Renamed all source packages from dev.towki.gpexpansioncodes.castled.gpexpansion.

Файлы

GPExpansion.jar(1.33 MiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.0.6

Загрузчики

Bukkit
Folia
Paper
Purpur
Spigot

Версии игры

1.20–26.1.2

Загрузок

7

Дата публикации

1 нед. назад

Загрузил

ID версии

Главная