Список изменений
Deal Or No Deal 1.6.0
New Features (Economy & Updates)
-
Economy Integration: The plugin now has a new economy section in config.yml.
-
Vault Support: Added support for Vault (provider: "VAULT"). When auto_give_final_reward is enabled, the plugin will automatically deposit money rewards into the player's account.
-
Command Support: Added a fallback for non-Vault servers. You can set provider: "COMMAND" to run a console command (e.g., eco give %player% %amount%) to issue money rewards.
UI & Quality of Life Changes
-
Safer Reward Deletion: The "Q" drop-to-delete feature from v1.5.0 has been improved.
-
New Confirmation GUI: Instead of requiring the user to type in chat, dropping a reward in the editor now opens a dedicated confirmation GUI with "Confirm" (Green Wool) and "Cancel" (Red Wool) buttons to prevent accidental deletions.
-
Removed Chat Confirmation: The old system requiring players to type a confirmation in chat to delete a reward has been completely removed.
Gameplay Changes (Reward Logic)
-
Reworked Reward Logic: The giveOfferReward function has been rewritten to accommodate the new economy features.
-
Smarter Toggle: The game.auto_give_final_reward toggle now works in tandem with the economy provider.
-
If ON: Item rewards are given directly (as before), and Money rewards are now processed using the selected economy.provider (Vault, Command, or None).
-
If OFF: The plugin retains the v1.5.0 behavior, notifying admins to give the reward manually for both items and money.
-

