mkremins / fanciful

Fancy Bukkit message formatting
MIT License
95 stars 82 forks source link

Add insertion API and a few other things #56

Closed glen3b closed 9 years ago

glen3b commented 9 years ago

This PR would resolve issue #40 by adding the requested API (and the necessary methods for serialization/deserialization). By testing within Minecraft, I concluded that only plaintext can be used with the insertion API and not other JSON messages.

In addition, support for the with JSON tag is added. This tag can only be used in conjunction with a translate text tag. It will supply substitutions, potentially formatted, for the variables within the language-specific strings.

mkremins commented 9 years ago

Looks good, merged.