GC-spigot / AdvancedEnchantments

Superior Custom Enchantments Creator for Minecraft And Spigot platform
153 stars 59 forks source link

Cooldown non-functional #3161

Closed Alphatoxic closed 1 year ago

Alphatoxic commented 1 year ago

Describe the bug

Its super Straight forward. The cooldowns for enchantments are not functioning. I downloaded the plugin today so unless at the time I have downloaded it, there was an update, everything should be recent. All I did was list a cooldown:

levels: 1: cooldown: 30 effects:

And it was non functioning. I dont have a lot of time to explain here since I am busy however I have barely changed anything in config.yml and everything else is exactly the same. I will attach config.yml here.

How to reproduce

Here is the config (pasted cause I cant be bothered to do it the proper way) and an enchantment that isnt working:

AdvancedEnchantments

Made by GC

Version: 9.0.0b59

Release date: 16/01/2023

** Commands and permissions

/enchanter - Open Enchanter; no permission

/tinkerer - Open Tinkerer; no permission

/gkits - Open GKits; no permission

/ae - Main plugin command; ae.help

/ae about - Information about current build; no permission

/ae list - List all custom enchantments; ae.list

/ae admin - Open a menu with all possible enchantments (100% success rate); ae.admin

/ae giveitem - Give various plugin items; ae.giveitem

/ae give - Give custom enchanted book; ae.give

/ae info - Information about custom enchantment; ae.info

/ae reload - Reload all configurations; ae.reload

/ae enchant - Enchant item; ae.enchant

/ae givebook - Give book with specific rates; ae.givebook

/ae givercbook - Give right-clickable book; ae.givercbook

/ae giverandombook - Gives random book from group; ae.giverandombook

/ae pasteenchants - Pastes formatted enchantments list; ae.admin

/alchemist - Open alchemist; no permission

/ae givegkit - Give player gkit items; ae.givegkit

/aegive - Give player gkit items; ae.give

Example: /aegive GC diamond_helmet 1 name:&&7cItem_name protection:5 glowing:1 lore:&&7cLoreline#1|&&7cSecond_Line

/asets - Advanced Sets commands; asets.admin

Some configurable settings are explained, others should be self-explanatory.

Join support discord for help or with questions: https://advancedplugins.net/discord

Change default messages language. You can modify all messages in AdvancedEnchantments locale folder.

See all default languages & other info here: https://ae.advancedplugins.net/general-information/languages

language: en-us commands: advancedenchantments: permissionMessageEnabled: true enchanter: enabled: true command: /enchanter aliases:

Enchantment:

spiritshackle: display: "&5Spirit Shackle" description: "Arrows give your target slowness 5 for 0.5 seconds and illuminate them for 6 seconds (30s Cooldown)" applies-to: "Bows" type: "BOW_MOB" group: "PSYCHIC" applies:

Screenshots / Videos

No response

"/ae plinfo" link

https://paste.md-5.net/ufukanotab

Server Log

No response

Alphatoxic commented 1 year ago

ae.bypass.cooldown = false.... ;-;