1.1.0 | SubAlias, MiniMessage and more #3

Merged
JaTiTV merged 9 commits from 1.1 into main 2022-07-14 19:57:24 +00:00
Owner

This 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.5 of T2CodeLib!
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.

**This 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.5 of [T2CodeLib](https://www.spigotmc.org/resources/t2codelib.96388/)! 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.<aliasname>' 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.
JaTiTV added 9 commits 2022-07-14 19:57:03 +00:00
JaTiTV merged commit a7518530c7 into main 2022-07-14 19:57:24 +00:00
JaTiTV deleted branch 1.1 2022-07-14 19:57:24 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: JaTiTV/T2Code-Alias#3
No description provided.