Skip to content

A plugin that allows you to format the stats UI in AID.

Notifications You must be signed in to change notification settings

OnePunchVAM/aid-stats-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AID Stats Formatter Plugin

License: CC BY 4.0

A plugin that allows you to format the stats UI in AID. Through the configuration object found in shared.js you can change how the stats are ordered, aligned and/or whether the label should be displayed.

const statsFormatterConfig = {
  order: ["Author's Note", "Scene", "Think", "Focus", "World Info"], // an array of strings corresponding with the label of the stats
  alignVertical: true,
  truncateLabels: true
}

Stats Formatter in Action

Usage

This is meant to be used in conjunction with other scripts that actually "do" something with the state.displayStats functionality built within AID.

If you are creating your own script that modifies the state.displayStats array, consider using this plugin to help you display it nicely.

To use, you simply run the execute function after you have made changes to state.displayStats:

statsFormatterPlugin.execute(statsFormatterConfig)

About

A plugin that allows you to format the stats UI in AID.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published