Commit Graph

379 Commits

Author SHA1 Message Date
Andre601
0ac62d6b63 Log missing required plugin for expansion
+ some logger improvements
2022-05-18 21:11:09 +02:00
Andre601
0be6b721cf Use stream to get size padding 2022-05-04 18:36:46 +02:00
Andre601
0e0e36476a Change appended message for null jar array 2022-04-29 23:13:19 +02:00
Rothes
bfc30a8703
Locale.ROOT param 2022-03-26 09:09:50 +08:00
Glare
35c47a8745
Merge pull request #810 from PlaceholderAPI/feature/remove-escape-hex-test
Remove testCharsReplacerHandlesEscapedHex()
2022-03-13 05:48:30 -05:00
Starmism
1388a5278f fix(replacer): Stop lowercasing replacements
This commit changes two lines but fixes the replacement of cased
    placeholders with non-cased ones that was accidentally happening.
    This was partially fixed in a few previous commits, but not fully as
    it was still replacing failed placeholder matches.
2022-03-12 12:42:56 -07:00
Andre601
350a2be0ed Remove testCharsReplacerHandlesEscapedHex() 2022-02-22 11:48:51 +01:00
Gabriel Dumitru
b73d72cec7
add missing java.util.Locale imports 2022-02-22 11:42:35 +02:00
Andre601
1241c33ba0 Add --null to command help 2022-02-05 20:55:48 +01:00
Andre601
631609af74 Improve expansion sorting in /papi dump 2022-02-05 14:08:43 +01:00
Andre601
fe8d865657 Add missing import 2022-02-05 13:57:30 +01:00
Andre601
50d4e14333 Add --null option for parse command 2022-02-05 13:57:05 +01:00
Rothes
151fb08db8
Fix PlaceholderExpansion may not unregistered 2022-01-28 13:40:39 +08:00
PiggyPiglet
850633e792
Fix #771 2021-12-24 12:34:36 +08:00
PiggyPiglet
ce18d3b597
update licenses & bump deprecation ver 2021-12-24 12:26:22 +08:00
PiggyPiglet
cfd289939e
Merge pull request #667 from PlaceholderAPI/fix/666-lowercase-issues
Fix issue with invalid placeholder pattern lowercasing text
2021-12-19 18:49:37 -06:00
PiggyPiglet
511717a8d6
Merge branch 'master' into 1.18 2021-12-03 13:01:02 +08:00
PiggyPiglet
18fb194ce6
Merge pull request #677 from PlaceholderAPI/feature/add-logging-options
Add logging options to PlaceholderExpansion
2021-12-03 13:00:15 +08:00
PiggyPiglet
020f14d82c
Merge branch 'master' into feature/log-expansio-version 2021-12-03 12:59:07 +08:00
darbyjack
acb5728e65
1.18 + Gradle Updates 2021-12-02 21:55:12 -06:00
PiggyPiglet
894dcd0a2f
Merge pull request #687 from PlaceholderAPI/java-version-dump
Add Java Version to /papi dump command
2021-12-03 11:40:11 +08:00
Andre601
31deef2a62 Use completedFuture instead 2021-12-01 21:30:41 +01:00
Andre601
3ba29f1147 Fix possible NPE for findExpansionsOnDisk 2021-12-01 19:09:02 +01:00
Andre601
e969f37405 Improve StringBuilder and also fix possible NPE 2021-12-01 19:05:28 +01:00
Adam Volkman (itIsMaku)
6f87955898
feat: nullable annotation placeholderhook 2021-11-17 14:10:19 +01:00
Andre601
38099198d6 Include version in registration message 2021-09-20 02:42:38 +02:00
darbyjack
08c43d25e7
Add Java Version to /papi dump command 2021-08-04 14:16:15 -05:00
Andre601
fe0bb12d53 Add missing [<expansion>] prefix 2021-07-31 00:11:24 +02:00
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
Andre_601
b4f6831e54
Update development from master (#662)
* Add contributing and expansion section

* Start using new Issue template system

* Create bug_report.yml

* Rename feature_request.md to feature_request_old.md

* Create feature_request.yml

* fix unique name

* Update feature_request_old.md

* Add Checkboxes

* Add checkboxes

* disable default issue body

* Delete bug_report_old.md

* Delete feature_request_old.md

* Rename bug_report_new.yml to bug_report.yml

* Check if deleting this fixed the PR...

* Use description in favour of about

* improve feature_request.md

* Update bug_report.yml

* Assign "Type: Issue (Unconfirmed)" label

* Use lists and not comma-separated string

* Update feature_request.yml

* Use id option for error and dump fields

* Add field for logs

* Remove deprecated issue_body type

* Update feature_request.yml

* Improve description of bug_report.yml

* Initial 1.17 Changes

* add render

* Revert build.gradle dependencies change

* Fixed duplicate files

* Initial test on adventure

* started moving to pure adventure

* finished kyori impl

* added 1.17 to nmsversion (what does this even do)

* removed dev for release

* added dev back

Co-authored-by: PiggyPiglet <PiggyPiglet@users.noreply.github.com>
Co-authored-by: darbyjack <admin@glaremasters.me>
Co-authored-by: PiggyPiglet <noreply@piggypiglet.me>
2021-07-11 01:37:09 +02:00
PiggyPiglet
5710972288
Merge remote-tracking branch 'origin/master' 2021-07-10 11:27:08 +08:00
PiggyPiglet
63955511a8
added 1.17 to nmsversion (what does this even do) 2021-07-10 11:26:56 +08:00
PiggyPiglet
c4789b7db0
finished kyori impl 2021-07-09 12:24:36 +08:00
PiggyPiglet
d7a4acc2f5
started moving to pure adventure 2021-07-07 15:37:35 +08:00
darbyjack
dd7751332f
Initial test on adventure 2021-07-06 11:59:17 -05:00
Andre_601
fa7c30df80
Sync Dev with master (#659)
* Add contributing and expansion section

* Start using new Issue template system

* Create bug_report.yml

* Rename feature_request.md to feature_request_old.md

* Create feature_request.yml

* fix unique name

* Update feature_request_old.md

* Add Checkboxes

* Add checkboxes

* disable default issue body

* Delete bug_report_old.md

* Delete feature_request_old.md

* Rename bug_report_new.yml to bug_report.yml

* Check if deleting this fixed the PR...

* Use description in favour of about

* improve feature_request.md

* Update bug_report.yml

* Assign "Type: Issue (Unconfirmed)" label

* Use lists and not comma-separated string

* Update feature_request.yml

* Use id option for error and dump fields

* Add field for logs

* Remove deprecated issue_body type

* Update feature_request.yml

* Improve description of bug_report.yml

* Initial 1.17 Changes

* add render

* Revert build.gradle dependencies change

* Fixed duplicate files

Co-authored-by: PiggyPiglet <PiggyPiglet@users.noreply.github.com>
Co-authored-by: darbyjack <admin@glaremasters.me>
2021-07-01 21:03:01 +02:00
Andre_601
0fa592383f
Merge branch 'development' into master 2021-07-01 16:16:29 +02:00
Starmism
9b6b558002 Add method implementation checking and nullchecking for fields. 2021-06-30 10:13:47 -06:00
Starmism
94bf5fea57 POJO to help with checking that expansions have all required methods implemented. 2021-06-30 10:13:29 -06: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 2bfd8e7e5e)
2021-06-30 05:59:57 -06:00
Star
ac9b0c42b7 Update src/main/java/me/clip/placeholderapi/updatechecker/UpdateChecker.java
Co-authored-by: Andre_601 <11576465+Andre601@users.noreply.github.com>
(cherry picked from commit ccf4f59343)
2021-06-30 05:59:52 -06:00
Starmism
14d885392c Fix version checker to compare the individual semver numbers instead of combining it together.
(cherry picked from commit ef5cd9d376)
2021-06-30 05:59:45 -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 f5386d4ca5)
2021-06-30 05:59:33 -06:00
Vaishnav Anil
df8583df57 Close URLClassLoader if Expansion class was not found 2021-06-25 05:08:14 +05:30
Vaishnav Anil
09e68e7510 Extracted URLClassLoader out of try-with-resources block 2021-06-25 05:07:14 +05:30
darbyjack
71b5433326
Initial 1.17 Changes 2021-06-11 01:33:29 -05:00
Andre601
41275509b2 Undo renaming of boolean 2021-04-13 17:58:42 +02:00
Andre601
4e8b1b47d1 Re-add removed code
That should actually NOT be here...
2021-04-13 17:57:59 +02:00
Andre601
d0e62e6434 Update Copyright
~ Fixed a typo and updated missed files from #543
2021-04-13 17:54:57 +02:00
Andre_601
2086fcb299
Merge pull request #583 from HSGamer/patch-1
should it use setBracketPlaceholders??
2021-04-13 17:20:59 +02:00
PiggyPiglet
3a31c5cb78
Merge pull request #485 from PlaceholderAPI/fix/477-remove-gson
Remove Gson
2021-04-12 21:40:55 +08:00
PiggyPiglet
7b7bfb7306
Merge pull request #543 from ElijahRus250/master
2021 🥳
2021-04-12 21:13:38 +08:00
Huynh Tien
0e56ea9503
should it use setBracketPlaceholders?? 2021-03-06 20:37:43 +07:00
Andre_601
892f0727e8
Fix invalid link tag 2021-01-29 03:29:35 +01:00
PiggyPiglet
dd2981b13e
Merge pull request #443 from PlaceholderAPI/feature/update-documentation
Update Javadoc documentation
2021-01-29 10:10:12 +08:00
ElijahRus250
a7247acbb3 2021 🥳 2021-01-20 15:29:13 -05:00
PiggyPiglet
1478aabb5e
remove an from log message
Co-authored-by: Andre_601 <11576465+Andre601@users.noreply.github.com>
2021-01-04 10:25:38 +08:00
PiggyPiglet
07ac8e41c5 Fix contract violations & add null checks which should close #515 2021-01-03 23:42:23 +08:00
PiggyPiglet
26fdedd989
Merge pull request #529 from PlaceholderAPI/fix/527-improve-parse-command
Fix resolvePlayer method
2021-01-03 23:28:52 +08:00
Andre601
0a52ef7219 Use a generic log message for this 2021-01-03 15:38:10 +01:00
Andre601
6a69ec833f Use getPlayerExact 2021-01-01 18:19:07 +01:00
Andre601
8fa0f73a46 Fix resolvePlayer method 2020-12-31 18:20:11 +01:00
Andre_601
9b2ea05875
Improve ExpansionsLoadedEvent's docs 2020-12-29 21:12:22 +01:00
Andre601
b99335e5b2 First step at fixing #515 and for #516 2020-12-27 18:47:48 +01:00
Andre_601
a3b2777d16
Merge branch 'master' into feature/update-documentation 2020-12-26 23:01:03 +01:00
darbyjack
3cd665a159
Javadoc Changes
- Don't fail on error
- Add license to new files that were merged
2020-12-13 18:58:55 -06: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
Andre601
59cd5982ad Complete fix 2020-12-14 01:52:46 +01:00
Andre601
b3893c38db Hopefully fixing all the JD issues 2020-12-14 01:31:40 +01:00
PiggyPiglet
a3d6426084
Merge pull request #473 from PlaceholderAPI/fix/469
Fix wrong expansion get in /papi info
2020-12-14 08:09:24 +08:00
Andre_601
30a194c75d
Update PlaceholderAPI.java 2020-12-14 01:08:40 +01:00
Glare
6431bcdeca
Merge pull request #460 from ignissak/444-add-expansionsLoadEvent 2020-12-13 18:07:24 -06:00
PiggyPiglet
0d1978cece
Merge pull request #454 from PlaceholderAPI/feature/add-getBoolean
Add missing getBoolean method
2020-12-14 08:04:49 +08:00
Andre_601
e7e9e81e85
Update VersionSpecific.java 2020-12-14 01:04:07 +01:00
Andre_601
ba22201311
Fix Javadoc build errors 2020-12-14 01:02:01 +01:00
darbyjack
f52bdbc458
Compile under 1.16.4 + add new NMS support 2020-11-02 14:35:55 -06:00
darbyjack
c64946173b
Implemented working version for 1.8.8 - 1.16.3 2020-09-25 19:08:56 -05:00
Andre_601
35838aa229
Fix wrong expansion get in /papi info 2020-09-13 00:30:27 +02:00
darbyjack
325cd2d284
Added support for 1.16.2 NMS changes 2020-09-06 16:39:15 -05:00
Jacob Bordas
2c13acfd30
Changes regarding review by Andre
Signed-off-by: Jacob Bordas <methalicity@gmail.com>
2020-09-01 01:31:52 +02:00
Jacob Bordas
7c404db56b
Added event when all expansions are loaded for developers. 2020-08-31 13:32:11 +02: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
Andre_601
7371a576d6
Update Javadoc documentation 2020-08-18 18:37:44 +02:00
Ivan Pekov
c648d6a541
Fix trailing/leading space after placeholder once and for all (#427) 2020-08-06 14:45:27 -04:00
extendedclip
2d72e274e3 account for empty strings 2020-08-06 14:08:48 -04:00
Ivan Pekov
5065623ab0
Attempt at fixing 413 (#422)
* Attempt at fixing 413

This is my (miserable) attempt at fixing #413
These changes basically fix some potential threading issues and (probably) #413
Local tests went fine for me, but more tests are required.

* Remove delay, fixed -> cached thread pool
2020-08-06 13:54:35 -04:00
Federico López
8698449e5d
Refactorization of the TimeUtil utility class (#423)
* Refactored `TimeUtil` utility class.

* Minimized `TimeUtil#getRemaining`.
* Fixed a bug regarding how days and hours were calculated in `TimeUtil#getTime`.
* Ditched the use of `int`s and use `long`s instead.

* Implemented `int`-taking methods because my dumb ass didn't think it would break.
2020-08-06 13:43:14 -04:00
extendedclip
722e987b93 Dont trim 2020-08-06 13:27:58 -04:00
extendedclip
a00cbf4be3 trim whitespaces 2020-08-06 11:44:34 -04:00
extendedclip
a1d69cd25f Remove hashcode method 2020-08-05 11:53:06 -04:00
extendedclip
f7504b99ca Add registerExpansion and unregisterExpansion back 2020-08-05 11:45:58 -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
6d38f411ba Include &n 2020-08-03 16:21:56 -04:00
extendedclip
51844cd291 Always provide a copy of the placeholder map 2020-08-03 13:54:28 -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
cee6984818 Don't add license to config or plugin.yml 2020-07-31 22:37:00 -04:00