CmdI18n

interface CmdI18n

Shared i18n for CmdLiteralScope and CmdChainScope; helpers take this as receiver.

Inheritors

Properties

Link copied to clipboard
abstract val path: String

Functions

Link copied to clipboard
open fun t(key: String, vararg args: Any?): MutableComponent

Resolves key under the root command's namespace: only the first segment of path is used, so key must carry the subcommand path itself (e.g. "clear.noFriends" for .friend clear ->liquidbounce.command.friend.clear.noFriends).