Wow, guys! It's been quite a long time since we've updated this plugin. And that's not for nothing. Because we have done A LOT. Maybe actually not that much for you guys to actually notice, but we have done a lot of recoding to make the performance better and quicker. So now, everything is memorized which means the server won't have to request each menu item individually when opening a menu for a player. It just gets it from memory. Also, actions are spread among multiple ticks to prevent lag.
So here's the change list:
Added aliases to commands. YAS! Now you no longer have to copy-paste the commands and rename them. You can just set the aliases.
Added a config.yml file with some options in it
Added an events.yml file to handle the events. So events now have its own file, instead of being put in the config.yml.
Added a complex system to handle all actions. Everything is now async and won't take the server that long to handle when there are a lot of requests. Basically, everything is spread out. In the config, you can set a maximum amount of actions to run per tick.
Do not set this too high, you might experience lag. 20 is a good amount.
Moved the options from the intervalactions.yml to the config. So make sure to enable it there if you had it enabled.
Added an
allow_repeat_on_random option to interval actions which allows you to let the plugin not pick the same interval action again if it's random.
Added two more conditions to the [if] action:
startsWith and
endsWith
Added cooldowns to menu items. Each item can now have its own cooldown.
Fixed a bug regarding the in-game custom menu creator.
Recoded the book handlers.
Recoded the command handlers.
Recoded the config handlers.
Recoded the custom event handlers.
Recoded the interval action handlers.
Recoded the custom items handlers.
Recoded the menu handlers.
Recoded the sign handlers.
A lot of you guys are already using My GCNT, but I'll just say it again for all newbies out there.
My GCNT is the user platform of GCNT. We are hosting all our plugins on there and release beta versions for those who have access to the plugin on SpigotMC. So you can get early access to the best features out there.
Just check it out
here.