mirror of
https://github.com/runelite/example-plugin.git
synced 2025-12-24 06:48:04 -05:00
Initial commit
This commit is contained in:
20
src/main/java/com/example/ExampleConfig.java
Normal file
20
src/main/java/com/example/ExampleConfig.java
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
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";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user