Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for nested placeholders #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AkatGabrielGoncalves
Copy link

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
Copy link
Owner

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

@Aust1n46 Aust1n46 self-requested a review August 13, 2022 22:06
@AkatGabrielGoncalves
Copy link
Author

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

@NyaomiDEV
Copy link

${placeholder} ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants