Commit Graph

389 Commits

Author SHA1 Message Date
Sxtanna bdf8a1bcc1 reformatted event classes, added nullability annotations, made classes final. 2020-07-21 11:56:57 -04:00
Sxtanna ee78fc1775 updated char replacer to better handle malformed input 2020-07-21 01:48:59 -04:00
Sxtanna 9ddb21220f updated shadow, added test dependencies for jmh and junit 2020-07-20 20:13:32 -04:00
Sxtanna 47e336c1fe Merge branch 'master' into gradle
# Conflicts:
#	pom.xml
2020-07-20 20:07:38 -04:00
Sxtanna a2a736d909 undeprecated bracket placeholder methods, 2020-07-20 19:50:36 -04:00
Sxtanna 9217147827
Merge pull request #355 from Andre601/patch-3
Add missing @deprecated notes to methods
2020-07-20 19:26:56 -04:00
Andre_601 53736888a5
grammar 2020-07-21 01:26:21 +02:00
Andre601 75004f08d0 Add deprecation notice to all methods
Was it so hard to do a Ctrl+C, Ctrl+V?
2020-07-21 01:20:26 +02:00
Andre_601 51f61f61af
Add missing deprecation notices. 2020-07-21 01:06:37 +02:00
Sxtanna e7ce84e7fc cleaned up fileutil and expansion manager 2020-07-20 18:55:37 -04:00
Sxtanna 42992de312 updated with null contracts, immutability, and early returns. 2020-07-20 18:22:08 -04:00
Sxtanna 45b3ebfbc2 updated to use new char replacer, deprecated all older functions, defined null contracts, and immutability. 2020-07-20 18:16:46 -04:00
Sxtanna 3b3892e7d6 updated placeholder hook to define immutability and null contracts, deprecated online player function 2020-07-20 18:14:13 -04:00
Sxtanna 9060ea6bd3 updated to use new closure 2020-07-20 17:38:18 -04:00
extendedclip 49012dc6b2 here 2020-07-20 17:23:27 -04:00
Sxtanna 9d73893cc8
replacer api, unit tests, and benchmarks (#354)
* added abstracted replacer api, and both char and regex based implementations

* added test dependencies for jmh and junit

* added unit tests and benchmarks for the replacer implementations

* updated replacers to accept specific closure types, added test to verify malformed placeholder handling

* updated jmh to 1.23, updated junit to 5.6.2
2020-07-20 16:59:25 -04:00
extendedclip 4ce0b03852 Revert "Performance Improvements (#340)"
This reverts commit 54d5757d
2020-07-20 16:57:16 -04:00
Glare 8972f7cff4
Merge pull request #352 from Sxtanna/master
POM fixes.
2020-07-19 15:22:24 -05:00
Sxtanna d2223f83b8 removed server dependency, added provided dependency for log4j-core 2020-07-19 09:16:09 -04:00
Sxtanna b4d6b047af moved compiler source and target to properties 2020-07-19 09:12:58 -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
PiggyPiglet ca8fb3117f fixed resource processing variables 2020-07-15 01:00:01 +08:00
PiggyPiglet bc0535e2f4 Converted to gradle 2020-07-15 00:56:49 +08:00
extendedclip f9f59f1f96 Merge the multiple static blocks 2020-07-14 10:24:01 -04:00
extendedclip f205146c75 Rename ecloud commands to be prefixed with Ecloud to avoid confusion 2020-07-14 10:21:29 -04:00
darbyjack 0634a9cd9b
Switch back to the official JSONMessages 2020-07-14 08:18:06 -05: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
Andre_601 9316636939
Added "Installed expansions" section 2020-06-13 18:16:42 +02:00
extendedclip 82fa8d7393 Added 1.15 2020-05-02 23:16:46 -04:00
extendedclip 83abb8b728 Bump to 2.10.7 dev 2020-05-02 23:16:03 -04:00
extendedclip feed418ccf 2.10.6 release 2020-05-02 22:52:18 -04:00
Glare a2868cbc4f
Merge pull request #294 from PlaceholderAPI/fixes/first-time-parse
Fixes the super old issue of not being able to parse on first join
2020-04-26 12:19:09 -05:00
darbyjack 43d134cbe3
Fixes the super old issue of not being able to parse on first join 2020-04-25 21:57:40 -05:00
Ryan e023c4e789
Fixed Discord URL 2020-04-09 11:45:35 -04:00
aBooDyy 784d7dd273
Fixes ecloud placeholders command (#201)
* fix parsing placeholders on ecloud placeholders command

* try catch on registering expansions

Co-authored-by: aBo0oDyy <35378106+aBo0oDyy@users.noreply.github.com>
2020-04-09 11:43:21 -04:00
Andre_601 d26561eaeb
Add issue template config for custom template selection (#272)
* Fix typos

* Update change_request_placeholderapi.md

* Slighty better grammar

* Create config.yml

* Add about part

* Make wiki point to PAPI wiki
2020-04-09 11:38:14 -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
Andre_601 2caf5f0232
Add missing setPlaceholder methods (#234)
* Add missing setPlaceholder methods
Also includes setBracketPlaceholders and setRelationPlaceholders

* Update PlaceholderAPI.java
2020-04-09 11:37:06 -04:00
Glare d706469ed8
Ahem. Let's flex. 2020-04-03 10:44:12 -05:00
darbyjack 5d4decafbe
Bump to 2.10.6 dev 2020-03-25 23:28:48 -05:00
darbyjack bb639328a3
Push to 2.10.5 for release pt2 2020-03-25 23:27:56 -05:00
darbyjack ca0791f3af
Push to 2.10.5 for release 2020-03-25 23:05:12 -05:00
darbyjack 449c927c6c
Add user-friendly message when host can't connect to ecloud 2020-03-25 23:04:00 -05:00
darbyjack e95f1b4850
Removed extra semi 2020-03-25 22:54:26 -05:00
Glare 06513c89bc
Merge pull request #268 from PiggyPiglet/master
covered up string's size insecurities with a fat bufferedreader
2020-03-25 21:42:43 -06:00
PiggyPiglet 38d9185232 made it compile 2020-03-26 11:25:02 +08:00
PiggyPiglet 35738f59d9 covered up string's size insecurities with a fat bufferedreader 2020-03-26 11:15:16 +08:00
darbyjack 66758b1992
Compile under 1.15.2 2020-02-03 12:18:57 -06:00
extendedclip c1cff8ca74 javadoc 2020-01-06 14:29:07 -05:00
extendedclip 2dbf69a74e Allows the setPlaceholders method to specify if color codes should be translated in the output string 2020-01-06 14:27:39 -05:00