▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА

ecotp

Economy, TPA, and Home plugins

Оцените первым
21
1

ecotp 1.2

Release28.08.2026

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

EcoTP — Changelog


New

  • Added a 512×512 project icon (gold coin + teleport-portal swirl) for the Modrinth listing.
  • Added /ecotp reload (ecotp.admin permission) to reload config.yml and messages.yml without a restart.

Fixes

  • Fixed language: ja in config.yml not actually switching messages.yml to Japanese — first for newly generated files, then for servers that already had a messages.yml from before this feature existed.
  • Lowered the default distance-blocks-per-yen from 100 to 10, since with the old default the distance-based fee never grew past the flat minimum on any normal-sized server.
  • Moved /tpa's payment confirmation from send-time to accept-time: /tpa now sends immediately, and the confirmation ("Really teleport to X?") appears only once the target accepts.

Cross-plugin economy reliability (Vault)

Other installed plugins (GambleGate, VillagerMarket, Roulette, Gun, and more) sometimes couldn't find EcoTP's economy through Vault. Resolved in stages:

  1. Added loadbefore entries for the specific failing plugins, then expanded that list to every other plugin on the server.
  2. Tried load: STARTUP to enable EcoTP before essentially everything — worked, but needed extra defensive code since Vault/PlaceholderAPI are normally enabled later.
  3. Found and fixed a deeper bug from a real server log: EcoTP's own jar was failing to load at all with NoClassDefFoundError: net/milkbowl/vault/economy/Economy, because the main plugin class referenced Vault's Economy type directly. Fixed by isolating all Economy-typed code into a separate EconomyHolder class instantiated only inside onEnable().
  4. Replaced load: STARTUP with depend: [Vault] (was a soft dependency) — the simpler, standard way to guarantee Vault enables first. Vault is now required (EcoTP won't load without it), documented in the README, config.yml, and both Modrinth descriptions.
  5. Confirmed on a real server restart: EcoTP loaded and enabled cleanly, and every plugin needing an economy (Roulette, Lands, Jobs, QuickShop-Hikari, MyPet, EvenMoreFish, Train_Carts) successfully picked up EcoTP through Vault.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

EcoTP — 変更履歴


新機能

  • Modrinth掲載用に512×512のプロジェクトアイコンを作成(金貨+テレポートポータルの渦のデザイン)。
  • /ecotp reload(ecotp.admin権限)を追加。再起動なしでconfig.ymlとmessages.ymlを再読み込みできるように。

不具合修正

  • config.ymlのlanguage: jaにしてもmessages.ymlが日本語に切り替わらない不具合を修正。まず新規生成時の問題を直し、その後この機能実装前からmessages.ymlが存在していたサーバーでも切り替わるように再修正。
  • distance-blocks-per-yenのデフォルト値を100から10に変更。旧デフォルトだと普通の規模のサーバーでは距離料金が最低料金からほとんど上がらなかったため。
  • /tpaの支払い確認を「送信時」から「相手が承諾した後」に変更。/tpaは即座に送信され、相手が承諾した後に「本当にテレポートしますか?」という確認が出る。

他プラグインとのVault経済連携の信頼性向上

GambleGate・VillagerMarket・Roulette・Gunなど、他のプラグインがEcoTPの経済をVault経由で見つけられないことがあり、段階的に解決しました。

  1. 失敗が確認できたプラグインをloadbeforeに列挙 → その後、サーバー上の他の全プラグインに拡大。
  2. load: STARTUPを試し、EcoTPをほぼ全プラグインより先に有効化。動作はしたが、Vault・PlaceholderAPIは通常もっと後に有効化されるため、防御的なコードが余分に必要だった。
  3. 実サーバーのログから、もっと根本的なバグを発見・修正。EcoTP自身のjarがNoClassDefFoundError: net/milkbowl/vault/economy/Economyでロードにすら失敗していた。原因はmainクラスがVaultのEconomy型を直接参照していたこと。Economy型に関わる処理をEconomyHolderという別クラスに切り出し解決。
  4. load: STARTUPをやめ、depend: [Vault](それまではソフト依存)に変更。Vaultは必須になった(導入していないとEcoTPはロードされない)ため、README・config.yml・Modrinthの説明文も更新。
  5. 実際にサーバーを再起動して確認: EcoTPは正常にロード・有効化され、経済を必要とする他プラグイン(Roulette、Lands、Jobs、QuickShop-Hikari、MyPet、EvenMoreFish、Train_Cartsなど)全員がVault経由でEcoTPの経済を正しく認識した。

Файлы

ecotp-plugin 1.2.jar(4.30 MiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.2

Загрузчики

Paper
Purpur
Spigot

Версии игры

26.2

Загрузок

4

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

28.08.2026

Загрузил

ID версии

Главная