Skip to content
Shadowfen edited this page Jul 30, 2026 · 10 revisions

Overview

This is a library of common convenience functionality that I use with most of my addons. It is installed as a standalone library/addon. Load the library within your addon code using the global variable LibSFUtils

local SF = LibSFUtils

and then use the variables and functions defined in here with your local variable as the prefix for them. For example:

d(SF.bool2str(true))

Some of the utilities included are:

✓ String manipulation and formatting
✓ Table utilities
✓ Color utilities
✓ Logging and debugging helpers
✓ Timers and delayed callbacks
✓ Hook management
✓ Version checking
✓ Safe function execution
✓ Safe callback execution
✓ Queue management
✓ Miscellaneous convenience functions

Most components are independent and can be used without learning the rest of the library.

See Getting Started for your next steps.

Clone this wiki locally