Tekla-ColorfulSigns icon

ColorfulSigns

Allow colors in signs and set default color to white.

Last updated 2 years ago
Total downloads 46996
Total rating 13 
Categories Mods Tweaks
Dependency string Tekla-ColorfulSigns-5.4.1604
Dependants 181 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.1600 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.1600
ValheimModding-Jotunn-2.3.7 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.3.7
Tekla-JsonDotNet-13.0.1 icon
Tekla-JsonDotNet

Redistribution of Json.Net from Newtonsoft under MIT license.

Preferred version: 13.0.1

README

Logo64

ColorfulSigns

Allow colors in signs and set default color to white.

This mod allows you yo use the Unity Enriched Text functionality, which works with the following tags:

Tag Effect
<b>b</b> Bold
<i>i</i> Italic
<size=50>s</size> Size
<color=#ff0000ff>c</color> Color

Source

Try writing this lines in any sign:

<color=#ff0000><b>Hello</b> <i>World!</i></color>
<color=#ff0000>Colorful</color> <size=2.6>indeed!</size>

Color Library

This functionality allows you to use specific colors without having to remember their hexadecimal value. Inside the plugin folder there is now a file called "color_library.json". You will see something like:

{
    "red": "#a12d2d",
    "blue": "#292fcf"
}

This will turn "<color=red>" to "<color=#a12d2d>" when inputting a sign text value, effectively changing its color. You can edit the Json to have your own color palette!

When editing the Json:

  • Remember that the last element doesn't have a comma at the end
  • Don't use special characters, try to stick to alphanumerical values.

Stuff

  • Bugs? Report them here.
  • Features? Propose them here.
  • Contact? Discord: Tekla#1012 or tag me as @Tekla in Valheim Modding

Installation (manual)

If you are installing this manually, do the following

  1. Extract the archive into a folder. Do not extract into the game folder.
  2. Move the contents of plugins folder into <GameDirectory>\Bepinex\plugins.
  3. Run the game.

Changelog

5.4.1604

  • Established range for outline size values because big values causes duplicated text and confusion among users

5.4.1603

  • Outlines with configurable color and size

5.4.1602

  • Fix: path to color_library.json for linux systems
  • Jotunn implementation to allow in-game config changes
  • Added clarifications on how to use

5.4.1601

  • Optimisations

5.4.1600

  • Updated BepInEx version
  • Updated README.md
  • Removed color_library.json so it doesn't cause accidental overrides. Now it gets generated if no library is found.

5.4.1500

  • Updated BepInEx version

5.4.1100

  • Updated BepInEx version

5.4.902

  • Changed mod Icon

5.4.901

  • Dumping dependencies into plugin folder because having separate folders break the mod for some users

5.4.900

  • Updated BepInEx version

5.4.801

  • New Config setting to set default color
  • New Config setting to enable or disable Color Library
  • New Config setting to stablish max font size
  • Color Library functionality

5.4.800

  • Stuff works