diff --git a/plugins.json b/plugins.json index 9fd00237..1dc5c349 100644 --- a/plugins.json +++ b/plugins.json @@ -1 +1 @@ -[{"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"BotUtils","description":"Illumine - Utils required for plugins to function with added automation","id":"botutils-plugin","releases":[{"date":"2020-09-01","sha512sum":"5D7C9926C87F9F590B8B905BEC379FBEA0B6AE055DEA87A8038D958CD79267FF964940FD75F793C5F4A2F13A19D8BAC6594C42736D8E9B84994EF47E6D11B1D9","version":"3.7.1","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/botutils-3.7.1.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Combination Runecrafter Plugin","description":"Illumine - Combination Runecrafting plugin","id":"combinationrunecrafterplugin-plugin","releases":[{"date":"2020-09-01","sha512sum":"03C830A9CB83A3A5D6AE4334EB1FE4ADB14EFD72B496690EEC38DACE04DD339BF775624A47209E0B3AB80D122F88DF21845705E4F13A0952FE3B6D9CF614CE8B","version":"1.7.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/combinationrunecrafter-1.7.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Magic Splasher","description":"Illumine automated magic splasher","id":"magicsplasher-plugin","releases":[{"date":"2020-09-01","sha512sum":"F278D80AE38F4ADF8380E09BE21106E91A168165516E2B10965FFADECDADAB55002B2CF175A39EB2474D199C7E1963C94802FA9C25846FD653859DF13F52E8A0","version":"2.5.1","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/magicsplasher-2.5.1.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Powerfighter Plugin","description":"Illumine - Powerfighter plugin","id":"powerfighterplugin-plugin","releases":[{"date":"2020-09-01","sha512sum":"9E8F91B4CB732ECE6D13190E94275DE4EEEF5CD119C1816F7D872F3FD2FFB99B13A30FD98E109BC6B4415CF786EC8A78D407DBBEAF77EE5031EED9E1A61D9767","version":"1.5.1","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/powerfighter-1.5.1.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Power Skiller","description":"Illumine auto power skiller plugin","id":"powerskiller-plugin","releases":[{"date":"2020-09-01","sha512sum":"3BDF23FD85F56895063C3ED65AAF615711F0D3806E2EFB92DA78F3E511351C94877D5CC5E037AEDE7A26B16E36E9A0967D948F0A26372BB9632A7FCEA2A69D3F","version":"4.1.1","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/powerskiller-4.1.1.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Quick Eater","description":"Illumine - auto eat food below configured HP","id":"quickeater-plugin","releases":[{"date":"2020-09-01","sha512sum":"95F6E7369B6B52F2B05B154ABD842F9833436C002B8599964F2089F8DCE8F05E891BAF54B70A0C1C927479DA95DC552B182FBE860FB3C6F0AB72915A40808398","version":"2.8.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/quickeater-2.8.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Random Handler","description":"illumine - Dismiss random events and handle genie","id":"randomhandler-plugin","releases":[{"date":"2020-09-01","sha512sum":"C3ABA0D2D94DE08584392DC70C4A5ED64086061F8F5E5FEB2DA7F875CD6B59CC698206B2391E9168FDBC3C0D85AA63D090BA148280E0EB549168AD131D8B5197","version":"0.0.9","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/randomhandler-0.0.9.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Rooftop Agility","description":"Illumine automated rooftop agility plugin","id":"rooftopagility-plugin","releases":[{"date":"2020-09-01","sha512sum":"C3A97CF51DDD5BF837EB410F5936AF1686E2F9757EBAAE2351B81DEB5187BDF1E71E5825D14A157361A280BD0A370874BFAF88AE11011FB45CB2DEF47FE80009","version":"3.7.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/rooftopagility-3.7.0.jar?raw=true","requires":"0.0.1"}]}] +[{"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"BotUtils","description":"Illumine - Utils required for plugins to function with added automation","id":"botutils-plugin","releases":[{"date":"2020-09-01","sha512sum":"5D7C9926C87F9F590B8B905BEC379FBEA0B6AE055DEA87A8038D958CD79267FF964940FD75F793C5F4A2F13A19D8BAC6594C42736D8E9B84994EF47E6D11B1D9","version":"3.7.1","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/botutils-3.7.1.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Combination Runecrafter Plugin","description":"Illumine - Combination Runecrafting plugin","id":"combinationrunecrafterplugin-plugin","releases":[{"date":"2020-09-01","sha512sum":"03C830A9CB83A3A5D6AE4334EB1FE4ADB14EFD72B496690EEC38DACE04DD339BF775624A47209E0B3AB80D122F88DF21845705E4F13A0952FE3B6D9CF614CE8B","version":"1.7.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/combinationrunecrafter-1.7.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Magic Splasher","description":"Illumine automated magic splasher","id":"magicsplasher-plugin","releases":[{"date":"2020-09-01","sha512sum":"F278D80AE38F4ADF8380E09BE21106E91A168165516E2B10965FFADECDADAB55002B2CF175A39EB2474D199C7E1963C94802FA9C25846FD653859DF13F52E8A0","version":"2.5.1","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/magicsplasher-2.5.1.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Powerfighter Plugin","description":"Illumine - Powerfighter plugin","id":"powerfighterplugin-plugin","releases":[{"date":"2020-09-01","sha512sum":"9E8F91B4CB732ECE6D13190E94275DE4EEEF5CD119C1816F7D872F3FD2FFB99B13A30FD98E109BC6B4415CF786EC8A78D407DBBEAF77EE5031EED9E1A61D9767","version":"1.5.1","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/powerfighter-1.5.1.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Power Skiller","description":"Illumine auto power skiller plugin","id":"powerskiller-plugin","releases":[{"date":"2020-09-01","sha512sum":"3BDF23FD85F56895063C3ED65AAF615711F0D3806E2EFB92DA78F3E511351C94877D5CC5E037AEDE7A26B16E36E9A0967D948F0A26372BB9632A7FCEA2A69D3F","version":"4.1.1","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/powerskiller-4.1.1.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Quick Eater","description":"Illumine - auto eat food below configured HP","id":"quickeater-plugin","releases":[{"date":"2020-09-01","sha512sum":"95F6E7369B6B52F2B05B154ABD842F9833436C002B8599964F2089F8DCE8F05E891BAF54B70A0C1C927479DA95DC552B182FBE860FB3C6F0AB72915A40808398","version":"2.8.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/quickeater-2.8.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Random Handler","description":"illumine - Dismiss random events and handle genie","id":"randomhandler-plugin","releases":[{"date":"2020-09-01","sha512sum":"E68A9A3FF686A6E43F13E4B48127D46F7FA885B243DC4C9BFD5F2E7423DB567EF01C2A34CA3A0B2DAF8F4292B8C60CD13E0CF71C2DB9AAC0E353F3276B480E62","version":"1.0.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/randomhandler-1.0.0.jar?raw=true","requires":"0.0.1"}]}, {"projectUrl":"https://discord.gg/9fGzEDR","provider":"illumine","name":"Rooftop Agility","description":"Illumine automated rooftop agility plugin","id":"rooftopagility-plugin","releases":[{"date":"2020-09-01","sha512sum":"C3A97CF51DDD5BF837EB410F5936AF1686E2F9757EBAAE2351B81DEB5187BDF1E71E5825D14A157361A280BD0A370874BFAF88AE11011FB45CB2DEF47FE80009","version":"3.7.0","url":"https://github.com/illumineawake/illu-plugins/blob/master/release/rooftopagility-3.7.0.jar?raw=true","requires":"0.0.1"}]}] diff --git a/randomhandler/randomhandler.gradle.kts b/randomhandler/randomhandler.gradle.kts index f36537b7..555297b4 100644 --- a/randomhandler/randomhandler.gradle.kts +++ b/randomhandler/randomhandler.gradle.kts @@ -23,7 +23,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -version = "0.0.9" +version = "1.0.0" project.extra["PluginName"] = "Random Handler" project.extra["PluginDescription"] = "illumine - Dismiss random events and handle genie" diff --git a/randomhandler/src/main/java/net/runelite/client/plugins/randomhandler/RandomHandlerConfig.java b/randomhandler/src/main/java/net/runelite/client/plugins/randomhandler/RandomHandlerConfig.java index 2bdfe5db..660112cd 100644 --- a/randomhandler/src/main/java/net/runelite/client/plugins/randomhandler/RandomHandlerConfig.java +++ b/randomhandler/src/main/java/net/runelite/client/plugins/randomhandler/RandomHandlerConfig.java @@ -210,8 +210,8 @@ public interface RandomHandlerConfig extends Config @ConfigItem( keyName = "dismissAllEvents", - name = "dismiss for all events", - description = "", + name = "handle/dismiss all events", + description = "Enable to handle and dismiss all random event types. Includes handling genie for XP lamp.", position = -2 ) default boolean dismissAllEvents() @@ -230,6 +230,17 @@ public interface RandomHandlerConfig extends Config return false; } + @ConfigItem( + keyName = "dismissDwarf", + name = "dismiss on Drunken Dward", + description = "", + hide = "dismissAllEvents" + ) + default boolean dismissDwarf() + { + return false; + } + @ConfigItem( keyName = "dismissGenie", name = "Handle Genie", diff --git a/randomhandler/src/main/java/net/runelite/client/plugins/randomhandler/RandomHandlerPlugin.java b/randomhandler/src/main/java/net/runelite/client/plugins/randomhandler/RandomHandlerPlugin.java index e3b58d39..fa6a2187 100644 --- a/randomhandler/src/main/java/net/runelite/client/plugins/randomhandler/RandomHandlerPlugin.java +++ b/randomhandler/src/main/java/net/runelite/client/plugins/randomhandler/RandomHandlerPlugin.java @@ -250,6 +250,8 @@ public class RandomHandlerPlugin extends Plugin case NpcID.DR_JEKYLL: case NpcID.DR_JEKYLL_314: return config.dismissJekyll(); + case NpcID.DRUNKEN_DWARF: + return config.dismissDwarf(); case NpcID.EVIL_BOB: case NpcID.EVIL_BOB_6754: return config.dismissBob(); diff --git a/release/randomhandler-0.0.9.jar b/release/randomhandler-0.0.9.jar deleted file mode 100644 index b1b7505e..00000000 Binary files a/release/randomhandler-0.0.9.jar and /dev/null differ diff --git a/release/randomhandler-1.0.0.jar b/release/randomhandler-1.0.0.jar new file mode 100644 index 00000000..40a3ccf4 Binary files /dev/null and b/release/randomhandler-1.0.0.jar differ