- protection-duration: 300 # Protection duration in seconds
- protection-reminder-interval: 1 # Interval in seconds for reminder messages
- use-action-bar: true # Use action bar for messages
- prevent-item-pickup: true # Prevent players with active protection from picking up items
- messages:
- protection-restored: "&bLightNewbie>> &aYour protection has been restored! Remaining time: {time} seconds."
- protection-enabled: "&bLightNewbie>> &aProtection enabled for {time} seconds."
- protection-disabled: "&bLightNewbie>> &cYour protection has been disabled."
- protection-status: "&bLightNewbie>> &eYou have {time} seconds of protection left."
- protection-hit: "&bLightNewbie>> &cYou cannot hit a player who is under protection!"
- already-protected: "&bLightNewbie>> &aYou are already protected."
- not-protected: "&bLightNewbie>> &cYou are not protected."
- usage: "&bLightNewbie>> &cUsage: /lightnewbie <enable|disable|info|give|help|reload>"
- no-permission: "&bLightNewbie>> &cYou don't have permission to use this command."
- player-not-found: "&bLightNewbie>> &cPlayer not found."
- help-message: "&bLightNewbie>> &eLightNewbie Commands:\n&6/lightnewbie enable <player> &7- Enables protection.\n&6/lightnewbie disable <player> &7- Disables protection for a player.\n&6/lightnewbie info <player> &7- Shows remaining protection time of a player.\n&6/lightnewbie give <player> &7- Gives protection to a player.\n&6/lightnewbie reload &7- Reloads the plugin configuration."
- reload-complete: "&bLightNewbie>> &eConfiguration reloaded successfully."
复制代码
|