93 Commits
Author SHA1 Message Date
rayzr522 ee93517877 improve explanation & examples for 'worlds' options in config 2023-03-26 18:22:30 -04:00
Rayzr522 e9ba161b89 Reload all configs, even of disabled modules 2021-06-17 21:54:16 -04:00
Rayzr522 5bb042b09f Make ModulePlayerCollisions not die on 1.17 2021-06-17 21:53:58 -04:00
Rayzr522 d0018dd581 Handle failed initialization in packet utils 2021-06-17 21:37:09 -04:00
Rayzr522 5424472318 Dont use Messenger before its initialized 2021-06-17 21:03:31 -04:00
Rayzr522 e17e43570d Dont explode if SweepPacketDetector fails to init 2021-06-17 20:56:42 -04:00
Rayzr522 0efd9dc8af Switch PlaceholderHook to PlaceholderExpansion 2020-08-05 14:36:15 -04:00
Rayzr522 5692df08e2 Ignore attributes that are null 2020-07-18 23:39:44 -04:00
Rayzr522 e8408ec819 Simplify state management even further 2020-05-19 15:51:55 -04:00
Peter Blood 05382e15a9 Merge pull request #375 from FearGames/master
Fix memory leak, update bstats version
2020-04-23 19:18:23 -04:00
Rayzr522 892b0d793f Return empty collection instead of null for team members in team packets 2019-10-03 18:02:51 -04:00
Peter Blood f8f5b694bc Actually activate the old chorus fruit module 2019-08-05 13:39:09 -04:00
Peter Blood e2bc0cf541 Update ISSUE_TEMPLATE.md 2019-07-24 10:29:03 -04:00
Rayzr522 eabde2e73d Added in hack to properly handle Plugman (un)loading of the plugin 2019-07-14 07:48:40 -04:00
Rayzr522 5d0cc01ce7 Fixed version number to use beta tag 2019-06-10 08:54:50 -04:00
Rayzr522 c51d1caa41 Added in patch for 1.9 EntityDamageEvent errors due to no magma blocks (#312, #313)
* Also bumped the version number to 1.7.4
2019-06-10 08:51:36 -04:00
Rayzr 65934862e4 Update issue template to say specifically Pastebin
Hastebin links expire after 30 days and are therefore problematic for long-term issues.
2018-12-11 13:14:20 -05:00
Rayzr 5948fb8036 Merge pull request #244 from I-Al-Istannen/fix-217-animated-names
Partly fix animated names working
2018-10-05 16:20:21 -04:00
Rayzr 02333b1787 Merge pull request #206 from I-Al-Istannen/fix-205
Fix #205, a NPE in the sword blocking module
2018-07-26 11:03:50 -04:00
Rayzr 250abb7e3e Merge pull request #202 from I-Al-Istannen/fix-195
Fix #195 -- Playerconnection subclasses erroring
2018-07-25 18:19:25 -04:00
Rayzr522 1ee493aad1 Made plugin.yml fetch version from pom.xml on build 2018-07-25 17:16:42 -04:00
Rayzr522 5d0f9e711e Merge branch 'master' of https://github.com/gvlfm78/BukkitOldCombatMechanics 2018-07-25 17:14:33 -04:00
Rayzr c31b5b3afd Merge pull request #198 from I-Al-Istannen/spartan-support
Add "Spartan Anti cheat" support for ModulePlayerRegen
2018-07-18 11:19:58 -04:00
Rayzr522 6632134829 Reworked OldArmourStrength module to handle custom items 2018-06-11 22:49:00 -04:00
Rayzr522 d0a339e7f6 Merge branch 'master' of https://github.com/gvlfm78/BukkitOldCombatMechanics 2018-05-23 12:37:49 -04:00
Rayzr522 cd42fe9edb Fixed sword blocking module to account for connection latency 2018-05-23 12:37:40 -04:00
Rayzr 858499c6c1 Merge pull request #185 from I-Al-Istannen/master
Possible mitigation for #184
2018-05-18 17:29:26 -04:00
Rayzr522 7d1231ef59 No more magic casting 2018-05-17 16:54:01 -04:00
Rayzr522 81dffb8291 Added better type handling for item Attributes 2018-05-17 16:47:03 -04:00
Rayzr ba2678577b Merge pull request #183 from I-Al-Istannen/master
Make sweep handling on newer versions more robust
2018-05-15 06:54:33 -04:00
Rayzr522 c33e8de066 Updated README.md with new graphics 2018-05-09 17:02:43 -04:00
Rayzr522 9cbe6a13de Updated issue template 2018-05-08 18:25:31 -04:00
Rayzr522 97d0b7db36 Added GitHub files for contributing/issues 2018-05-08 18:23:20 -04:00
Rayzr522 b985ec4fa1 Updated README.md 2018-05-08 18:06:00 -04:00
Rayzr522 784c997bc9 Formatting fixes, yay :p 2018-05-08 17:44:14 -04:00
Rayzr522 834b1874ea Added PlaceholderAPI support
* In response to #180
* Added a hook system for future plugin hook support
2018-05-07 20:45:52 -04:00
Rayzr522 461ca1a037 Fixed compilation error in OCMMain
And this is why you try compiling before pushing :p
2018-05-07 19:51:23 -04:00
Rayzr522 5fa99d97d0 Removed redundant Chatter class 2018-04-16 23:48:48 -04:00
Rayzr522 242093c120 Possible patches for knockback module 2018-04-16 23:38:51 -04:00
Rayzr522 4d7bd78f26 Factored out common config procedures into a ConfigUtils class
* Created utility method for loading double maps
* Created utility method for loading lists of materials
* Updated all pre-existing config loading code to use utility methods
* It is way too late to be up coding :p
2018-04-13 00:58:40 -04:00
Rayzr522 e3e175ace6 Made all static INSTANCE fields private or removed them
* Converted multiple points of static access to public static methods
* Removed multiple useless INSTANCE fields
2018-04-13 00:38:16 -04:00
Rayzr522 2692abba9c Removed unneeded BlockTask class
* Removed tasks package
* Converted ModuleSwordBlocking to just use a normal BukkitRunnable

The task was only running a single method, and it was just entirely
unnecessary to have a separate class for such a simple job.
2018-04-13 00:30:10 -04:00
Rayzr522 322e187db6 Modernized PlayerRegen module 2018-04-13 00:21:13 -04:00
Rayzr522 555360677e Added WIP support for instant shield removal 2018-04-12 20:46:47 -04:00
Rayzr522 f3b2b09349 Added fix for keepInventory mode (#124) 2018-04-12 20:09:57 -04:00
Rayzr522 658b540a0b Removed old unused scoreboard team stuff 2018-04-10 22:35:33 -04:00
Rayzr522 6b609dacd2 Removed warnings in ToolDamage module 2018-04-10 22:25:03 -04:00
Rayzr522 c09642cba1 Removed extra reflection code 2018-04-10 22:22:12 -04:00
Rayzr522 7dfbece707 General cleanup / overhaul of reflection classes 2018-04-10 22:12:55 -04:00
Rayzr522 e472198f87 Remove shield on hot bar slot change 2018-04-10 21:54:14 -04:00
Rayzr522 b99f549a26 Minor utilities cleanup 2018-04-10 17:39:00 -04:00
Rayzr522 c353771cfd Cleaned up player collisions module 2018-04-10 17:34:43 -04:00
Rayzr522 1d93da1c31 Minor lapis enchantments module cleanup 2018-04-10 17:31:14 -04:00
Rayzr522 c481d90947 Cleaned up fishing knockback module
* Handled some warnings from IntelliJ
* Replaced a strange for loop with some Java 8 magic
* Suppressed deprecation warnings
2018-04-10 17:23:22 -04:00
Rayzr522 7c046ca207 Reformatted everything 2018-04-10 17:08:32 -04:00
Rayzr522 567e168670 Rewrote ModuleLoader to be non-idiotic
* No longer using both a List and a Map!
* Makes it much easier to work with in literally every situation.
* Still only registers/unregisters when necessary, limited overhead.
* A lot cleaner.
* Look at me! I actually documented stuff! Woohoo!
* Oh man, it's past midnight, someone please send coffee ._.
2018-04-10 00:33:54 -04:00
Rayzr522 25e89dccea Tiny cleanup for config handler 2018-04-10 00:12:00 -04:00
Rayzr522 9e733b0a2a Cleaned up task handling
* Refactored task classes
* Removed SwordSweepTask
* Moved sweep task out of OCMMain
* A few logic tweaks
* Geez, Config class is so much nicer now :)
2018-04-10 00:08:27 -04:00
Rayzr522 813eb96762 Moved tasks to new package 2018-04-09 23:54:57 -04:00
Rayzr522 60e8c558c6 Cleaned up OCMMain#createTeam() logic 2018-04-09 23:52:33 -04:00
Rayzr522 8fe9e88805 Cleaned up config handling for attack cooldown and armour strength
* Used static INSTANCE variables for both modules
* Moved as much logic as possible out of Config
2018-04-09 23:50:49 -04:00
Rayzr522 68d7cb28e8 Cleaned up sweep task logic 2018-04-09 23:41:38 -04:00
Rayzr522 6a8a452fce Naming conventions 2018-04-09 23:40:12 -04:00
Rayzr522 cdf9dcce4e Large overhaul to module config system
* Modules now have a #reload() method, empty by default.
2018-04-09 23:35:27 -04:00
Rayzr522 79ce5eec8f Minor logical optimizations for offhand module 2018-04-09 23:19:26 -04:00
Rayzr522 a41112bed1 Simplified enderpearl cooldown logic 2018-04-09 23:09:45 -04:00
Rayzr522 ecb8900f52 Minor cleanups for disable elytra module 2018-04-09 23:00:32 -04:00
Rayzr522 2ff92da93e Cleaned and fixed minor bugs in disable crafting module 2018-04-09 22:52:48 -04:00
Rayzr522 bd697a884e Cleaned logic for bow boost module 2018-04-09 22:50:44 -04:00
Rayzr522 b3d454d48a Cleaned up and reorganized attack cooldown module 2018-04-09 22:45:55 -04:00
Rayzr 3e86dbf8ae Merge pull request #175 from gvlfm78/potion-effect-validation
Added golden apple effect validation
2018-04-05 21:33:24 -04:00
Rayzr522 3f7bccf51d Added golden apple effect validation 2018-04-05 21:29:12 -04:00
Rayzr522 147618f5f0 Patched armor bug (#162)
No more bugged armor! Yay!
2018-03-11 16:31:56 -04:00
Rayzr522 152e196b05 Made update checker in command handler asynchronous to prevent server hanging 2018-01-12 22:20:17 -05:00
Rayzr522 e2fa98778c Fixed logical error preventing null worlds in module check 2018-01-12 22:19:11 -05:00
Rayzr522 3a9a5a41aa Rewrote updater system to be more flexible 2018-01-12 20:09:22 -05:00
Rayzr522 0053ce4a18 Simplified ItemData#hasMark 2018-01-12 18:42:33 -05:00
Rayzr522 20f01c4a4d Consistent whitespace 2018-01-12 18:40:31 -05:00
Rayzr522 a2ff966034 Fixed a bunch of IntelliJ code inspection errors/warnings 2018-01-12 17:45:01 -05:00
Rayzr522 ec3caf1238 Cleaned up & modernized utilities 2018-01-12 17:06:53 -05:00
Rayzr 7962bf6b0c Fixed error with NullPointerException when doing /ocm reload 2018-01-04 20:32:16 -05:00
Rayzr522 6901bb0556 Added fix for brewing stands 2017-11-16 16:56:56 -05:00
Rayzr522 ba8060b8a7 Fixed fatal bug in SpigotUpdateChecker 2017-08-11 10:33:20 -04:00
Rayzr522 5f7eacf8ef Cleaned up and documented utilities 2017-06-30 10:26:04 -04:00
Rayzr522 51ef5661da Changed all uses of .equals with enums to == 2017-06-30 10:10:30 -04:00
Rayzr522 41125d3487 Cleaned up .gitignore 2017-06-30 09:29:52 -04:00
Rayzr522 8f52f6188a Improved Chatter, removed redundant method 2017-06-30 09:09:55 -04:00
Rayzr522 d121efd671 Cleaned up OCMCommandHandler 2017-06-30 09:04:34 -04:00
Rayzr522 7032ffd6b1 Added maven-shade-plugin for Gravity's updater 2016-12-31 10:21:02 -05:00
Rayzr522 62ad126608 Fixed formatting 2016-11-08 10:28:22 -05:00
Rayzr522 7c99eadbdb Added check for Shield Crafting module
For some reason PrepareItemCraftEvent.getViewers().size() can be less
than 1…. huh. Well it’s fixed now :P
2016-11-08 10:24:25 -05:00
Rayzr522 c8af7f5b85 Fixes :D 2016-10-10 15:09:28 -04:00
Rayzr522 a9c9b818f1 Removed debug code 2016-09-28 07:20:58 -04:00