Commit Graph

41 Commits

Author SHA1 Message Date
Andre601
721904335d Add overload for Throwable 2021-07-22 23:56:29 +02:00
Andre601
d79f9725bd Add logging options to PlaceholderExpansion 2021-07-22 23:31:48 +02:00
Starmism
252802dcbe Removed nullcheck from hashcode, and moved it up the chain. 2021-06-30 10:13:12 -06:00
Starmism
679ef90091 Re-add NotNull's
(cherry picked from commit 2bfd8e7e5efb25f648b8a6de934b1eff675481b1)
2021-06-30 05:59:57 -06:00
Starmism
0c102a1823 Remove the @NotNull's because they are overridden by expansion devs anyways, and it turns out people can make them null anyways. This adds a hashcode check and pretty error for it.
(cherry picked from commit f5386d4ca55c23b54f3c5f952f08040b0967f4a3)
2021-06-30 05:59:33 -06:00
Andre601
d0e62e6434 Update Copyright
~ Fixed a typo and updated missed files from #543
2021-04-13 17:54:57 +02:00
PiggyPiglet
7b7bfb7306
Merge pull request #543 from ElijahRus250/master
2021 🥳
2021-04-12 21:13:38 +08:00
ElijahRus250
a7247acbb3 2021 🥳 2021-01-20 15:29:13 -05:00
Andre_601
a3b2777d16
Merge branch 'master' into feature/update-documentation 2020-12-26 23:01:03 +01:00
PiggyPiglet
4074192c0b
Merge pull request #512 from PlaceholderAPI/fix/javadoc-build-errors
Fix Javadoc build errors
2020-12-14 08:54:27 +08:00
Andre_601
ba22201311
Fix Javadoc build errors 2020-12-14 01:02:01 +01:00
Andre_601
fe02939466
Add missing getBoolean method 2020-08-28 15:16:03 +02:00
Andre601
ab96120911 More comments... a lot more! 2020-08-18 23:15:23 +02:00
extendedclip
a1d69cd25f Remove hashcode method 2020-08-05 11:53:06 -04:00
extendedclip
eeb9c8d5db Restore pre 2.10.7 API functionality for the most part. Only things actually being removed in 2.11.0 are deprecated. No breaking API changes until 3.0 2020-08-04 10:04:34 -04:00
extendedclip
12a358fbd0 Check if canRegister in LocalExpansionManager.register rather than in Expansion#register 2020-08-03 10:24:56 -04:00
extendedclip
dcc8dad4ea Format to Daddy code style 2020-07-31 22:52:07 -04:00
extendedclip
a232294b11 remove register deprecation as it won't be final. Set removal for deprecated methods to 2.11.0 2020-07-31 10:40:03 -04:00
Sxtanna
b73a6916cb updated classes with contract annotations 2020-07-27 11:40:58 -04:00
PiggyPiglet
9291184534 Merge remote-tracking branch 'origin/master' 2020-07-27 15:23:11 +08:00
PiggyPiglet
6d502db694 Licensed all files
Added licensing plugin
2020-07-27 15:21:35 +08:00
Sxtanna
f61b6acfa8 updated placeholderexpansion to define its own unregister method 2020-07-26 23:01:12 -04:00
Sxtanna
ee33de5ec8 removed final from deprecated methods, restored fallback for getRequiredPlugin 2020-07-26 21:01:12 -04:00
Sxtanna
a160f3abc9 updated to further phase out PlaceholderHook, added contracts to expansion methods 2020-07-26 18:46:00 -04:00
Sxtanna
f3ba9d588e updated managers to make more sense, removed old 2020-07-24 14:30:57 -04:00
extendedclip
4ce0b03852 Revert "Performance Improvements (#340)"
This reverts commit 54d5757d
2020-07-20 16:57:16 -04:00
Crypto Morin
54d5757d0a
Performance Improvements (#340)
* Performance Improvements

* More Optimizations

* Even More Optimizations & Cleanups

* Almost a recode I guess
2020-07-16 12:32:22 -04:00
Frcsty
3e396a97b0
Changed command system (#304)
* Save Cacheable expansions data on shutdown

* Prepare for 1.16

* 1.16.1 is out apparently

* Further fixes, still not done

* Inline JSONMessages & fix for 1.16

* Done :O

* Done for real now, (hopefully)

* Changed to static instead of DI for plugin instance

* Cleanup

* Modified tab completions. Removed extra command.

* Apparently this is needed

* Started cleaning stuff up

basically just pushing so I can continue on laptop

* did more cleaning, probs like half way done

* more cleaning. reverted back to a min arg system somewhat similar to what frosty had, but less boilerplate.

* Started debugging and fixing runtime/compile errors

* Fixed bugs, still needs thorough testing

* Re-enable metrics

* relocated stuff again

* - Remove json message relocation
- uncomment other relocations
- reformat pom
- remove useless scope declaration
- Fix metrics constructor
- Switch commands to use inline json message

Co-authored-by: iGabyTM <contactgabytm@gmail.com>
Co-authored-by: darbyjack <admin@glaremasters.me>
Co-authored-by: PiggyPiglet <noreply@piggypiglet.me>
2020-07-13 15:27:59 -04:00
WCKDAWE
0666ac7b01
Minor spelling mistakes (#284)
Not a grammar nazi, just noticed them and though to commit dem changes.
2020-04-09 11:37:48 -04:00
Evan Lindsay
6b9f22c7ec Fix case check in PlaceholderExpansion.isRegistered (#161) 2019-08-04 18:03:25 -04:00
extendedclip
2c0b768774 ITS 2019 2019-06-21 12:30:32 -04:00
Mitchell Cook
9cc5a9678f
Reformatted project to conform to google style guide. 2018-07-16 17:50:07 +10:00
extendedclip
cfccc69839 Javadoc typo fixes 2018-05-31 13:52:32 -04:00
extendedclip
659af4833e Added getRequiredPlugin method.
Deprecated getPlugin(), getLink(), and getDescription().
fix javadoc for PlaceholderExpansion class...
closes #22, closes #23
2018-05-31 13:46:24 -04:00
extendedclip
6825c9afc1 Use registerExpansion instead of registerPlaceholderHook in the register method. 2018-04-20 22:15:13 -04:00
extendedclip
92d30ea4cb Format 2018-04-08 04:02:09 -04:00
extendedclip
94a519beb0 true not false.... 2018-03-24 11:57:02 -04:00
extendedclip
5d6c8c19cd Added method to specify if the expansion should persist through papi reloads 2018-03-24 11:46:00 -04:00
DoNotSpamPls
a98f3cb366 Change config system to use Bukkit's implementation, optimize code (#2) 2018-03-22 15:15:47 -04:00
extendedclip
09ab268e12 Open source GPLv3 2018-03-21 09:15:51 -04:00
extendedclip
fbe0a03a8f 2.8.5 2018-03-20 19:04:14 -04:00