diff --git a/plugin-playground/src/main/kotlin/GroundItems/plugin.properties b/plugin-playground/src/main/kotlin/GroundItems/plugin.properties index b53c344..e14f44c 100644 --- a/plugin-playground/src/main/kotlin/GroundItems/plugin.properties +++ b/plugin-playground/src/main/kotlin/GroundItems/plugin.properties @@ -5,4 +5,4 @@ Commands:\ ::(tag,ignore)item ID\ ::(reset)groundconfig\ Special thanks to Chisato for the original skeleton. -VERSION=1.0 \ No newline at end of file +VERSION=1.2 \ No newline at end of file diff --git a/plugin-playground/src/main/kotlin/HolidayLoginMusic/plugin.kt b/plugin-playground/src/main/kotlin/HolidayLoginMusic/plugin.kt index 896046a..c89937a 100644 --- a/plugin-playground/src/main/kotlin/HolidayLoginMusic/plugin.kt +++ b/plugin-playground/src/main/kotlin/HolidayLoginMusic/plugin.kt @@ -11,11 +11,6 @@ import java.time.LocalDate import java.time.Month -@PluginMeta( - author = "Zerken", - description = "Plays specific music during holidays and skill release anniversaries at the login screen.", - version = 1.0 -) open class plugin : Plugin() { val halloweenStartDate = LocalDate.of(LocalDate.now().year, Month.OCTOBER, 17) val halloweenEndDate = LocalDate.of(LocalDate.now().year, Month.NOVEMBER, 7) diff --git a/plugin-playground/src/main/kotlin/HolidayLoginMusic/plugin.properties b/plugin-playground/src/main/kotlin/HolidayLoginMusic/plugin.properties new file mode 100644 index 0000000..d412a40 --- /dev/null +++ b/plugin-playground/src/main/kotlin/HolidayLoginMusic/plugin.properties @@ -0,0 +1,3 @@ +AUTHOR='Zerken' +DESCRIPTION='Plays specific music during holidays and skill release anniversaries at the login screen.' +VERSION=1.0 \ No newline at end of file diff --git a/plugin-playground/src/main/kotlin/KondoKit/plugin.kt b/plugin-playground/src/main/kotlin/KondoKit/plugin.kt index 7bf298b..f6775b2 100644 --- a/plugin-playground/src/main/kotlin/KondoKit/plugin.kt +++ b/plugin-playground/src/main/kotlin/KondoKit/plugin.kt @@ -39,12 +39,6 @@ import java.awt.event.MouseAdapter import java.awt.event.MouseEvent import javax.swing.* -@PluginMeta( - author = "downthecrop", - description = "A plugin that adds a right-side panel with custom widgets and navigation.", - version = 1.0 -) - class plugin : Plugin() { companion object { val WIDGET_SIZE = Dimension(270, 55) diff --git a/plugin-playground/src/main/kotlin/KondoKit/plugin.properties b/plugin-playground/src/main/kotlin/KondoKit/plugin.properties new file mode 100644 index 0000000..edd523a --- /dev/null +++ b/plugin-playground/src/main/kotlin/KondoKit/plugin.properties @@ -0,0 +1,3 @@ +AUTHOR='downthecrop' +DESCRIPTION='A plugin that adds a right-side panel with custom widgets and navigation.' +VERSION=1.0 \ No newline at end of file diff --git a/plugin-playground/src/main/kotlin/TakeScreenshot/plugin.kt b/plugin-playground/src/main/kotlin/TakeScreenshot/plugin.kt index 174200a..bfb2480 100644 --- a/plugin-playground/src/main/kotlin/TakeScreenshot/plugin.kt +++ b/plugin-playground/src/main/kotlin/TakeScreenshot/plugin.kt @@ -6,11 +6,6 @@ import plugin.api.API import java.awt.event.KeyAdapter import java.awt.event.KeyEvent -@PluginMeta ( - author = "ipkpjersi", - description = "Allows you to use CRTL + PRINTSCREEN to take a screenshot.", - version = 1.0 -) class plugin : Plugin() { override fun Init() { API.AddKeyboardListener(object : KeyAdapter() { diff --git a/plugin-playground/src/main/kotlin/TakeScreenshot/plugin.properties b/plugin-playground/src/main/kotlin/TakeScreenshot/plugin.properties new file mode 100644 index 0000000..51234cb --- /dev/null +++ b/plugin-playground/src/main/kotlin/TakeScreenshot/plugin.properties @@ -0,0 +1,3 @@ +AUTHOR='ipkpjersi' +DESCRIPTION='Allows you to use CRTL + PRINTSCREEN to take a screenshot.' +VERSION=1.0 \ No newline at end of file diff --git a/plugin-playground/src/main/kotlin/ToggleResizableSD/plugin.kt b/plugin-playground/src/main/kotlin/ToggleResizableSD/plugin.kt index 34f9479..1eb5198 100644 --- a/plugin-playground/src/main/kotlin/ToggleResizableSD/plugin.kt +++ b/plugin-playground/src/main/kotlin/ToggleResizableSD/plugin.kt @@ -7,11 +7,6 @@ import rt4.* import java.awt.event.KeyAdapter import java.awt.event.KeyEvent -@PluginMeta ( - author = "ipkpjersi", - description = "Allows you to use F12 to toggle resizable SD.", - version = 1.0 -) class plugin : Plugin() { var toggleResize = false var wantHd = false //Setting wantHd to true hides the black screen on logout (when resize SD is enabled), by enabling HD on logout diff --git a/plugin-playground/src/main/kotlin/ToggleResizableSD/plugin.properties b/plugin-playground/src/main/kotlin/ToggleResizableSD/plugin.properties new file mode 100644 index 0000000..08a1c2b --- /dev/null +++ b/plugin-playground/src/main/kotlin/ToggleResizableSD/plugin.properties @@ -0,0 +1,3 @@ +AUTHOR='ipkpjersi' +DESCRIPTION='Allows you to use F12 to toggle resizable SD.' +VERSION=1.0 \ No newline at end of file diff --git a/plugin-playground/src/main/kotlin/ValUAdd/plugin.kt b/plugin-playground/src/main/kotlin/ValUAdd/plugin.kt index 23f0e11..c2e028a 100644 --- a/plugin-playground/src/main/kotlin/ValUAdd/plugin.kt +++ b/plugin-playground/src/main/kotlin/ValUAdd/plugin.kt @@ -7,11 +7,6 @@ import rt4.Inv import rt4.ObjTypeList import kotlin.math.round -@PluginMeta ( - author = "bushtail", - description = "Quickly tally the value of your inventory with a command.", - version = 1.0 -) class plugin : Plugin() { override fun ProcessCommand(commandStr: String, args: Array?) { when(commandStr.toLowerCase()) { diff --git a/plugin-playground/src/main/kotlin/ValUAdd/plugin.properties b/plugin-playground/src/main/kotlin/ValUAdd/plugin.properties new file mode 100644 index 0000000..6a3f2e0 --- /dev/null +++ b/plugin-playground/src/main/kotlin/ValUAdd/plugin.properties @@ -0,0 +1,3 @@ +AUTHOR='bushtail' +DESCRIPTION='Quickly tally the value of your inventory with a command.' +VERSION=1.0 \ No newline at end of file diff --git a/plugin-playground/src/main/kotlin/XPGlobesPlugin/plugin.kt b/plugin-playground/src/main/kotlin/XPGlobesPlugin/plugin.kt index 8c651b4..311afb5 100644 --- a/plugin-playground/src/main/kotlin/XPGlobesPlugin/plugin.kt +++ b/plugin-playground/src/main/kotlin/XPGlobesPlugin/plugin.kt @@ -1,6 +1,5 @@ package XPGlobesPlugin - import rt4.Sprite import plugin.Plugin import plugin.annotations.PluginMeta @@ -16,14 +15,6 @@ import java.awt.BasicStroke import kotlin.math.cos import kotlin.math.PI - -@PluginMeta( - author = "Pyrethus", - description = "Draws experience globes (level progress) on experience gains.", - version = 0.9 -) - - class plugin : Plugin() { private var xpGlobes = Array(Constants.SKILL_COUNT) { skillId -> XPGlobe(skillId, Constants.INVALID_XP, 0L, null, null ) } private var hasActiveGlobes = false diff --git a/plugin-playground/src/main/kotlin/XPGlobesPlugin/plugin.properties b/plugin-playground/src/main/kotlin/XPGlobesPlugin/plugin.properties new file mode 100644 index 0000000..d5a64b8 --- /dev/null +++ b/plugin-playground/src/main/kotlin/XPGlobesPlugin/plugin.properties @@ -0,0 +1,3 @@ +AUTHOR='Pyrethus' +DESCRIPTION='Draws experience globes (level progress) on experience gains.' +VERSION=0.9