ME1312 / SubServers-2

SubServers – The Minecraft Server Management Platform
Apache License 2.0
91 stars 23 forks source link

Block Indentation Indicator instead of `\n` #38

Closed xXSchrandXx closed 5 years ago

xXSchrandXx commented 5 years ago

What Should Be Added

Changing to \n to a Block Scalar | or >

Example:

  'Bungee.Server.Hover': '$int$ player(s)\n&oClick to connect to the server'

to:

  'Bungee.Server.Hover': |-
   $int$ player(s)
   &oClick to connect to the server

Why It Should be Added

Could help making the lang.yml clearer.

What's The Alternative

Using \n

Source: YAML.org

ME1312 commented 5 years ago

I suppose this makes sense. Although this formatting is valid within SubServers (and some of my other apps) because of how non-raw strings are parsed, it strays far from the yaml standard.

However formatting like that might make the config more intimidating, since as of now it's a clean one entry per line.