We're excited to announce a major update for the FlueWithdraws plugin! This update introduces dynamic command registration and custom model data integration for withdrawable items.
New Features:
- Dynamic Commands:
- Admins can now define custom commands directly in the config file with associated permissions.
- Players can execute these commands to withdraw items if they have the necessary permissions.
- Custom Model Data:
- Added support for custom model data for withdrawable items, allowing for unique textures and appearances.
- Define custom-model in the config to assign specific model data to items.
Improvements:
- Improved configuration handling for custom commands.
- Enhanced permission checks for better security and control.
- Detailed and customizable messages for various plugin actions, including permission denied messages.
Example Configuration
Code (YAML):
exp:
name
:
"&d&lExp Bottle &f(Right Click)"
material
: EXPERIENCE_BOTTLE
type
: EXP
custom-model
: 1000
lore:
- "&dValue
:
&f{amount}"
- "&dSigner
:
&f{owner}"
customcommands:
command1:
usage
:
"expbottle {amount}"
permission
:
"fluewithdraw.expbottle"