mirror of
https://github.com/runelite/example-plugin.git
synced 2025-12-23 22:38:00 -05:00
20 lines
419 B
Java
20 lines
419 B
Java
package com.example;
|
|
|
|
import net.runelite.client.config.Config;
|
|
import net.runelite.client.config.ConfigGroup;
|
|
import net.runelite.client.config.ConfigItem;
|
|
|
|
@ConfigGroup("example")
|
|
public interface ExampleConfig extends Config
|
|
{
|
|
@ConfigItem(
|
|
keyName = "greeting",
|
|
name = "Welcome Greeting",
|
|
description = "The message to show to the user when they login"
|
|
)
|
|
default String greeting()
|
|
{
|
|
return "Hello";
|
|
}
|
|
}
|