bhcli

A TUI for chatting on LE PHP Chats
git clone https://git.dasho.dev/bhcli.git
Log | Files | Refs | README

example-identity-config.toml (1870B)


      1 # Example identity configuration for bhcli
      2 # Add this to your profile section in the config file
      3 
      4 [profiles.your_profile_name]
      5 username = "your_username"
      6 password = "your_password"
      7 # ... other profile settings ...
      8 
      9 # Custom identity configurations
     10 # Format: command_name = ["nickname", "color", "incognito", "member", "staff"]
     11 # The last three are optional boolean flags (default: false)
     12 [profiles.your_profile_name.identities]
     13 admin = ["Administrator", "#FF0000", "false", "false", "true"]    # Red admin identity
     14 mod = ["Moderator", "#00FF00", "false", "true", "false"]          # Green moderator identity
     15 ghost = ["Ghost", "#CCCCCC", "true", "false", "false"]           # Gray ghost identity (incognito)
     16 dev = ["Developer", "#0099FF", "false", "true", "true"]           # Blue developer identity
     17 anon = ["Anonymous", "#666666", "true", "false", "false"]        # Dark gray anonymous identity
     18 
     19 # Usage examples:
     20 # /admin hello everyone    - Send as Administrator in red
     21 # /mod please behave       - Send as Moderator in green
     22 # /ghost /kick baduser     - Kick as Ghost (incognito)
     23 # /dev working on updates  - Send as Developer (member + staff privileges)
     24 # /anon secret message     - Send as Anonymous (incognito)
     25 
     26 # Built-in identity commands (john, intel, op, shadow, cyber, viper, phoenix)
     27 # can also be overridden by adding them to the identities table:
     28 john = ["JohnCustom", "#FF00FF", "false", "false", "false"]       # Override /john command
     29 
     30 # Notes:
     31 # - The first two values (nickname, color) are required
     32 # - Color should be a hex color code starting with #
     33 # - incognito: if "true", hides from guest list
     34 # - member: if "true", has member privileges 
     35 # - staff: if "true", has staff privileges
     36 # - All identity commands support kick functionality: /admin /kick username reason
     37 # - All identity commands support targeting: /m /admin, /s /mod, /pm user /dev