Aust1n46 / VentureChat

GNU General Public License v3.0
37 stars 47 forks source link

Allow for nested placeholders #26

Open AkatGabrielGoncalves opened 1 year ago

AkatGabrielGoncalves commented 1 year ago

This change makes the formatting for VentureChat be able to parse nested placeholders.

tested formatting: %venturechat_channel_prefix%%changeoutput_equals_input:{marriage_is_married}_matcher:yes_ifmatch:&7[&4❤&7] &r_else:%%marriage_gender_chat_prefix%%uclans_tag_formated%%vault_prefix%%essentials_nickname%%vault_suffix%&e:

the nested one: %changeoutput_equals_input:{marriage_is_married}_matcher:yes_ifmatch:&7[&4❤&7] &r_else:%

This changes every formatting that is done with placeholderAPI to use %.

Aust1n46 commented 1 year ago

I still would prefer to use bracket placeholders to avoid making a breaking change to everyone's existing config files.

AkatGabrielGoncalves commented 1 year ago

I'll take a look into it. I have an ideia that may work to keep the compatibility

NyaomiDEV commented 1 year ago

${placeholder} ??