runelite-client: add ConfigItem.warnOnDisable and warnOnEnable to configure when confirmationWarning is shown

This commit is contained in:
Max Weber
2018-01-06 04:22:50 -07:00
committed by Adam
parent 3f5bf99c70
commit f86b478f74
3 changed files with 10 additions and 3 deletions

View File

@@ -47,7 +47,8 @@ public interface RuneLiteConfig extends Config
description = "Enable loading of external plugins",
confirmationWarining = "WARNING: Using untrusted third party plugins is a SECURITY RISK\n"
+ " and can result in loss of YOUR ACCOUNT, and compromise the security\n"
+ "of your computer. Are you sure you want to do this?"
+ "of your computer. Are you sure you want to do this?",
warnOnEnable = true
)
default boolean enablePlugins()
{