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

Increase tolerance for Yaml files or increase tolerance for Yaml types #425

Open
BingYanchi opened this issue Apr 14, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@BingYanchi
Copy link

In Spigot, the default supported Yaml format is not the common Yaml format.

Them does not meet any of the four requirements for Yaml format.

Many programs use non-standard yaml formats, which makes it impossible to use Accent to localize them.

Example:

gui-area-title: "%queueDisplayName%"
#%serverName% - Raw server name
#%serverDisplayName% - Display name of the server
#%serverMotd% - MOTD of the server
#%serverPlayerNum% - Now players number of the server
#%serverMaxPlayerNum% - Max players number of the server
gui-area-match-server-name: "&a%serverDisplayName%"
gui-area-match-server-description: |-
  &8%queueDisplayName%

  &7Current player: &a%serverPlayerNum%&7 / &a%serverMaxPlayerNum%
  &7Current status: &a%serverMotd%

  &eClick to play
@simonprev
Copy link
Member

Do you know what kind of "flavor" this YAML happens to be? The YAML support right now is pretty rudimentary (always wrapped in double quotes, no references, etc) and the libyaml is not working on arm64 architecture so I’m open on changing the library

@simonprev simonprev added the enhancement New feature or request label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants