Skip to content
Snippets Groups Projects
README.md 2.03 KiB
Newer Older
  • Learn to ignore specific revisions
  • Rhodderz's avatar
    Rhodderz committed
    🧙 DnD Character Generator Plugin
    
    Rhodderz's avatar
    Rhodderz committed
    [![Plugin Version](https://img.shields.io/badge/version-1.0.0-blue.svg)](#)  
    [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)  
    [![Build Status](https://img.shields.io/badge/build-passing-brightgreen)](#)
    
    Rhodderz's avatar
    Rhodderz committed
    This is a LoKi plugin that generates a complete **Dungeons & Dragons** character using classic 5e rules and randomization.
    
    Rhodderz's avatar
    Rhodderz committed
    ## 🧪 Slash Command: `/dndcharacter`
    
    Rhodderz's avatar
    Rhodderz committed
    ### ❓ Description
    Generates a full D&D 5e character with randomized:
    - **Race**
    - **Class**
    - **Stats** (rolled using 4d6, drop the lowest)
    - **Proficiencies & Expertise**
    
    Rhodderz's avatar
    Rhodderz committed
    ---
    
    Rhodderz's avatar
    Rhodderz committed
    ## 🔧 Command Usage
    
    Rhodderz's avatar
    Rhodderz committed
    ```bash
    /dndcharacter name:<character_name>
    ````
    
    Rhodderz's avatar
    Rhodderz committed
    > 🔸 The `name` option is **required**
    
    Rhodderz's avatar
    Rhodderz committed
    ---
    
    Rhodderz's avatar
    Rhodderz committed
    ### ✅ Example
    
    Rhodderz's avatar
    Rhodderz committed
    ```bash
    /dndcharacter name:Garrick
    
    Rhodderz's avatar
    Rhodderz committed
    Returns an embedded message with:
    
    > 🧙 **D\&D Character Generator**
    >
    > **Name**: Garrick
    > **Race**: Tiefling
    > **Class**: Sorcerer
    >
    > **Stats**
    > • Strength: 12
    > • Dexterity: 14 *(Proficient)*
    > • Constitution: 13 *(Expertise)*
    > • Intelligence: 10
    > • Wisdom: 8
    > • Charisma: 17
    >
    > *Generated randomly using the 4d6 drop lowest method*
    
    Rhodderz's avatar
    Rhodderz committed
    ## 🖼️ Character Avatar (Optional)
    
    Rhodderz's avatar
    Rhodderz committed
    You can optionally integrate a fantasy portrait API or service to generate avatars.
    
    Rhodderz's avatar
    Rhodderz committed
    > 🧙 [Character Preview Example](https://example.com/character-avatar.png)
    > (Integration optional via external API such as DiceBear, Artbreeder, or generated avatars)
    
    Rhodderz's avatar
    Rhodderz committed
    ---
    
    Rhodderz's avatar
    Rhodderz committed
    ## 📦 Plugin Metadata
    
    Rhodderz's avatar
    Rhodderz committed
    * **Name**: DnD Character Generator
    * **Command**: `dndcharacter`
    * **Emoji**: 🧙‍♂️
    * **Description**: Generates a Dungeons & Dragons character
    
    Rhodderz's avatar
    Rhodderz committed
    ## 🚀 Installation
    
    Rhodderz's avatar
    Rhodderz committed
    1. Compile the plugin:
    
    Rhodderz's avatar
    Rhodderz committed
       ```bash
       ./gradlew shadowJar
       ```
    2. Move the JAR to your LoKi Bot plugins folder:
    
    Rhodderz's avatar
    Rhodderz committed
       ```
       /loki/plugins/
       ```
    3. Restart or reload LoKi to activate it.
    
    Rhodderz's avatar
    Rhodderz committed
    ---
    
    ## 🏷️ Versioning
    
    Current version: **1.0.0**
    To tag a release in GitLab or GitHub:
    
    Rhodri Metcalfe-Davies's avatar
    Rhodri Metcalfe-Davies committed
    
    ```bash
    
    Rhodderz's avatar
    Rhodderz committed
    git tag v1.0.0
    git push origin v1.0.0
    
    Rhodderz's avatar
    Rhodderz committed
    ---
    
    Rhodderz's avatar
    Rhodderz committed
    ## 📜 License
    
    Rhodderz's avatar
    Rhodderz committed
    This plugin is licensed under the **MIT License**.