-
released this
2022-07-08 17:11:17 +00:00 | 61 commits to Development since this releaseThis is a test version in which some elementary important changes have been made, I recommend to make a backup of the T2C alias folder.
This version may still contain debug messages!In this version some elementary important changes have been made, so I strongly recommend to read through the whole changes!
This version requires version 12.4 of T2CodeLib! (This is not yet on Spigot, you can find it here: https://git.t2code.net/JaTiTV/T2CodeLib/releases/tag/12.4)Changes:
- The 'Message.TextBuilder' option has been removed completely. To make messages hover or clickable, please use the T2CodeHover format or MiniMessage.
- The alias is no longer the filename! The alias is now set in the alias file in the list 'Alias.AliasList', this also gives the possibility for one and the same function For example '/citybuild' and '/cb' not to have to create multiple files. You can now simply store multiple alias commands in one file.
Note for update: If you are using an older version of T2C alias, then all alias files will automatically create this list, which contains the file name. If you have multiple files for the same function, then multiple files will still exist! - Added a possibility to add subcommands to an alias. These are extra files, which are similar to the known alias files. In this file you add the subcommand (you can add more than one) and to which alias it should belong. So you can create for example such commands: '/testalias citybuild', '/testalias citybuild spawn', '/testalias freebuild' and so on.
- The language files have been converted to MiniMesage format. To get them, just delete the current language files, or download them here. Messages in T2CodeHover format or with Minecraft5 color codes will still work.
- The permissions for alias commands are no longer by default 't2code.alias.use.' but adjustable in each alias file under 'Alias.Permission.Permission'.
- You can now set a custom No Permission message for each alias / subalias.
- The TabCompleteEvent for the SubAlias commands can be deactivated in the config.yml under 'SubAlias.TabComplete'.
For the Alias and SubAlias files explanations are included, you can find them in the respective folders.
A wiki will follow the next days.
I wish you a lot of fun with the changes, should you notice errors, then please report them to me.Downloads