Add null check for sixHourWaitingTime instant. This value can be null in
case plugin was disabled before user logged in and so sixHourWaitingTime
was never set.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Add region tile manager utility class that can be used for iterating
each tile in the player region on current plane or for simulation object
spawns for subscriber.
- Simulate object spawns for each started-up plugin
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Add checks for empty task name and null counter when adding counter
in SlayerPlugin
- Add checks for non null counter when removing counter in SlayerPlugin
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Remove all configurations that contained only enabled()
- Remove enabled() from all remaining configurations
- Remove all checks for enabled()
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Add ability to fully disable and enable each plugin. Fully disabling
plugin means removing it from scheduler and eventBus and fully stopping
it. That improves performance, because it basically removes overhead of
any plugin that is disabled.
Fixes: #280
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Add dependency on logback and configure logger to log to
~/.runelite/logs/application.log with rolling file appender, that means
every 10MB file will be rolled and also every day file will be rolled
with maximum history of 30 days, to not flood user's system space.
Add new console parameter -debug, because logback properties cannot be
set from console like slf4j-simple ones, so it needs to be done in a bit
more complicated way.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Remove log.info on each hover of the JRichTextPane
- Change log.info to log.warn when browser cannot be opened in the
JRichTextPane
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Add injectable Discord RPC service that will broadcast Discord events
through event bus and have API for setting Discord Rich Presence status.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>