The Obsidian Wargaming Rules Plugin is a personaltool for wargame developers, hobbyists, and enthusiasts to manage, organise, and share tabletop wargaming rules directly from their Obsidian workspace. With built-in support for markdown formatting, custom icons, and export options, the plugin bridges the gap between creative design and functional documentation.
Designed with flexibility and usability in mind, this plugin enhances the workflow for creating and distributing high-quality rulesets for wargaming systems.
-
Insert Rules with Custom Icons
Quickly insert formatted rules with relevant icons, such as attack, defence, movement, or special abilities, using commands or hotkeys. -
Export Rules to PDF/Text
Effortlessly convert markdown-based rules into professionally styled PDFs or plain text files for distribution. -
Custom Icon Integration
Utilise an extensive library of Font Awesome icons to enrich your rule documents, making them visually appealing and easy to understand. -
Dynamic Icon Loading
Load additional custom icons from a user-defined folder, providing unlimited personalisation options. -
Ribbon Integration
Access key plugin commands from a convenient ribbon interface, designed for ease of use and seamless navigation. -
Plugin Settings Panel
Customise plugin behaviour, icon sets, and export preferences through an intuitive settings tab.
- Clone the repository or download it as a ZIP file.
- Extract the contents to your local machine.
- Copy the
dist/
folder to your Obsidian vault’s.obsidian/plugins/obsidian-wargaming-rules-plugin/
directory. - Enable the plugin via Settings > Community Plugins in Obsidian.
Once available in the Obsidian plugin repository:
- Open Settings > Community Plugins in Obsidian.
- Search for "Wargaming Rules Plugin".
- Click Install and then enable the plugin.
- Open the command palette (Ctrl+P or Cmd+P) and search for Insert Wargaming Rule.
- Select the type of rule to insert (e.g., Attack, Defence, Movement).
- The rule, along with its associated icon, will be added to your document.
- Open the command palette and search for Export Rules.
- Choose between Export as PDF or Export as Text.
- Specify a file name and export path (if required). The plugin will generate a file with proper formatting and icons.
- Navigate to Settings > Wargaming Rules Plugin.
- Add, edit, or remove icons using the customisation interface.
- Changes are immediately reflected across all plugin functionalities.
Here’s a sample of how a rulebook might appear when using this plugin:
# Wargame Rulebook
## Combat Rules
- **Attack** ![fa-sword](https://fontawesome.com/icons/sword)
Roll a D20 to determine your attack success.
- **Defence** ![fa-shield-alt](https://fontawesome.com/icons/shield-alt)
Add your armour value to reduce incoming damage.
## Movement Rules
- **Walking** ![fa-walking](https://fontawesome.com/icons/walking)
Units can move up to 6 tiles per turn, except when encumbered.
## Special Abilities
- **Critical Strike** ![fa-crosshairs](https://fontawesome.com/icons/crosshairs)
Rolls of 18-20 deal double damage.