Where to find BAR bset modoptions documentation

The bset command in BAR lobby chat lets hosts change game settings on the fly. Finding the full list of available modoptions requires knowing where to look in the source code.

Tags: beyond all reason, bset, modoptions, widgets, lua, documentation

Finding the modoptions file

All available bset modoptions live in the modoptions.lua file on the BAR GitHub repository. This file defines every game option that can be set, including loot boxes, starting resources, and custom game modes.

Widget documentation gaps

The official Recoil documentation covers some widget API functions, but significant gaps remain. The most reliable approach for finding undocumented features is reading the actual implementation in the BAR source code and tracing existing widget usages.

For instance, AddAction parsing and type parameters live in actions.lua in the luaui directory. Reading that file shows exactly what the function accepts.

CommandNotify for blocking commands

Widget CommandNotify does work and allows returning to block commands. The cmd_group_guard widget demonstrates this pattern. When CommandNotify returns true, the command gets blocked from executing normally.

Creed of champions

Knowing where to find documentation and how to read source code makes you a better player and modder. Creed of Champions welcomes folks who share knowledge openly and help each other grow.

[Crd] I love being able to communicate with my team, getting and sharing tips and constructive feedback on gameplay, and having a good spirited community.