String.toComponent and Component.toString() methods?
Open
enhancement
- Dominant language
- Kotlin
- Stars
- 81
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
This is what I use for minimessage + string to components:
```kt
fun String.toComponent(): Component = MiniMessage.miniMessage().deserialize(this)
fun Component.toString(): String = MiniMessage.miniMessage().serialize(this)
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the API's Component and MiniMessage integration points; the issue provides the proposed String.toComponent and Component.toString() signatures but names no files or tests. Confirm the methods fit the existing API style, then add coverage showing MiniMessage strings and Components convert in both directions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- api
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100