mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-09 16:45:46 -07:00
Rebased
This commit is contained in:
parent
8c5c3f52ff
commit
a81b9b46b4
13 changed files with 19 additions and 36 deletions
|
|
@ -5,4 +5,4 @@ Commands:\
|
|||
::(tag,ignore)item ID\
|
||||
::(reset)groundconfig\
|
||||
Special thanks to Chisato for the original skeleton.
|
||||
VERSION=1.0
|
||||
VERSION=1.2
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
AUTHOR='Zerken'
|
||||
DESCRIPTION='Plays specific music during holidays and skill release anniversaries at the login screen.'
|
||||
VERSION=1.0
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
AUTHOR='downthecrop'
|
||||
DESCRIPTION='A plugin that adds a right-side panel with custom widgets and navigation.'
|
||||
VERSION=1.0
|
||||
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
AUTHOR='ipkpjersi'
|
||||
DESCRIPTION='Allows you to use CRTL + PRINTSCREEN to take a screenshot.'
|
||||
VERSION=1.0
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
AUTHOR='ipkpjersi'
|
||||
DESCRIPTION='Allows you to use F12 to toggle resizable SD.'
|
||||
VERSION=1.0
|
||||
|
|
@ -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<out String>?) {
|
||||
when(commandStr.toLowerCase()) {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
AUTHOR='bushtail'
|
||||
DESCRIPTION='Quickly tally the value of your inventory with a command.'
|
||||
VERSION=1.0
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
AUTHOR='Pyrethus'
|
||||
DESCRIPTION='Draws experience globes (level progress) on experience gains.'
|
||||
VERSION=0.9
|
||||
Loading…
Add table
Add a link
Reference in a new issue