OneConfig V1
  • Welcome
  • Documentation license
  • Introduction
    • Getting started
  • Configuration
    • Creating your config
      • Option dependencies & hiding options
      • Listening for option changes
    • Available options
      • Boolean options
        • Switch option
        • Checkbox option
      • Number options
        • Slider option
        • Number option
      • Selector options
        • Dropdown option
        • Radio button option
      • Text option
      • Color option
      • Keybind option
      • Buttons
      • Accordions
      • Decorations
    • Creating your own options
  • Commands
    • Annotation-based commands
    • Tree-based commands
  • Events
    • Using the events system
      • Callback events
      • Subscriber events
  • Utilities Module
    • Hypixel utilities
    • IO utilities
    • Networking utilities
    • JSON utilities
    • Multithreading
    • Platform-specific utilities
  • Migration
    • Temporary V0 -> V1 migration guide
    • Migrating your configs from Vigilance
Powered by GitBook
On this page
Export as PDF
  1. Configuration
  2. Available options

Decorations

Info

@Info(
    title = "My Info Block",
    description = "This is my info block", // Recommended, default = ""
    icon = "/my_info.svg", // Optional, default = "". Please refer to Notifications.Type to see default types
    category = "Decorations", // Recommended, default = "General"
    subcategory = "General" // Recommended, default = "General"
)
private void info1() {} // Can be anything, methods are just easiest to write.
@Info(
    title = "My Info Block",
    description = "This is my info block", // Recommended, default = ""
    icon = "/my_info.svg", // Optional, default = "". Please refer to Notifications.Type to see default types
    category = "Decorations", // Recommended, default = "General"
    subcategory = "General" // Recommended, default = "General"
)
fun info1() {}
PreviousAccordionsNextCreating your own options

Last updated 4 months ago