Commit Graph

711 Commits

Author SHA1 Message Date
filoghost
aade3ddbfe Extract lambda to class 2021-12-25 12:13:48 +01:00
filoghost
90e26af19b Optimizations 2021-12-24 16:49:05 +01:00
filoghost
e25c2aca40 Do not update placeholders if there's no one viewing them 2021-12-19 17:03:24 +01:00
filoghost
dccafdc839 Sort imports 2021-12-19 12:22:59 +01:00
filoghost
62e3cb563f Improve error logging for placeholders 2021-12-19 12:22:14 +01:00
filoghost
749d1ff5a0 Cleanup PlaceholderAPIHook 2021-12-19 12:07:53 +01:00
filoghost
76af200af9 Do not invoke PlaceholderAPI directly 2021-12-14 23:22:25 +01:00
filoghost
68b6a8bf30 Increment inactive placeholders' timeout ticks 2021-12-14 21:38:37 +01:00
filoghost
b23abef7ab Rename method 2021-12-14 21:38:04 +01:00
filoghost
6ac35d3d62 Fix spam in console when a remote server is down 2021-12-13 23:40:53 +01:00
filoghost
c1a223a863 Recommend old API until v3 is finished 2021-12-13 23:10:09 +01:00
filoghost
014f53dbce Merge branch 'v3' into master 2021-12-13 23:04:28 +01:00
filoghost
911170e50c Re-implement PlaceholderAPI as normal placeholder 2021-12-13 23:01:44 +01:00
filoghost
69f2ecbd23 Refactoring, temporarily remove PlaceholderAPI support 2021-12-13 23:01:44 +01:00
filoghost
4e21d317f3 Fix error on some Spigot forks 2021-12-13 23:01:44 +01:00
filoghost
e1818a5a24 Refactoring 2021-12-13 23:01:44 +01:00
filoghost
a8fcacefea Temporarily move API to "beta" package 2021-12-13 23:01:44 +01:00
filoghost
9be9ecb2ac Add support for Minecraft 1.18 2021-12-13 23:01:44 +01:00
filoghost
2c4aaa3f51 Rename API classes and methods 2021-12-13 23:01:44 +01:00
filoghost
fdd76f179e Rename API methods 2021-12-13 23:01:43 +01:00
filoghost
1a9a80fe36 Fix API classes toString() implementations 2021-12-13 23:01:43 +01:00
filoghost
33ec96172c Reorder methods 2021-12-13 23:01:43 +01:00
filoghost
ce437d21d3 Remove CollectableHologramLine 2021-12-13 23:01:43 +01:00
filoghost
2b062f35bf Directly implement RegisteredPlaceholder 2021-12-13 23:01:43 +01:00
filoghost
8a80c063b7 Do not make *PlaceholderReplacementSupplier extend *Placeholder 2021-12-13 23:01:43 +01:00
filoghost
6f6a214ecd Expand API 2021-09-25 12:15:56 +02:00
filoghost
e8b2239c47 Fix NullPointerException 2021-09-25 12:09:58 +02:00
filoghost
66bdda8bed Small improvement 2021-09-25 11:55:21 +02:00
filoghost
11d57d40b7 Reduce unnecessary class visibility 2021-09-25 11:00:22 +02:00
filoghost
651ac2f019 Small optimization 2021-09-24 00:08:35 +02:00
filoghost
7700675e8b Manually clear active placeholder which become unused 2021-09-24 00:01:10 +02:00
filoghost
b7b922fb37 Rename classes 2021-09-22 21:05:34 +02:00
filoghost
d97751100e Reset global text field when using individual placeholders 2021-09-20 23:08:59 +02:00
filoghost
1da71326d7 Make some NMS classes package-private 2021-09-20 22:49:21 +02:00
filoghost
769d3dacb2 Rename PlaceholderReplacer to PlaceholderReplacementSupplier 2021-09-20 22:49:21 +02:00
filoghost
dc9f0fe2b4 Use enum for enabling placeholder replacement in holograms 2021-09-19 20:59:40 +02:00
filoghost
b4c8c6ede4 Improve ImmutablePosition and related classes 2021-09-15 11:57:02 +02:00
filoghost
3935af2bf9 Simplify chunk load state in HologramPosition 2021-09-15 11:34:02 +02:00
filoghost
33c2693172 Cache if display text contains individual placeholders or not 2021-09-15 11:14:30 +02:00
filoghost
0a80d91d5b Rename TrackedPlayer to Viewer 2021-09-15 09:18:28 +02:00
filoghost
15a7372c43 Use 0xFF instead of 255 2021-09-15 00:17:09 +02:00
filoghost
05488268b0 Optimize packet write 2021-09-14 23:55:19 +02:00
filoghost
03b6437f23 Add missing annotations 2021-09-14 23:33:34 +02:00
filoghost
134eba5f41 Large refactoring, periodically refresh individual placeholders 2021-09-14 21:44:08 +02:00
filoghost
f900dbe690 Rename classes 2021-09-05 15:35:43 +02:00
filoghost
b342a0b37e Update dependencies 2021-09-03 19:35:27 +02:00
filoghost
a942c1725a Create class for common method 2021-09-01 20:41:31 +02:00
filoghost
899ade7ce2 Improve placeholder API 2021-09-01 20:30:19 +02:00
filoghost
cd6dd1b4d2 Expand Position API 2021-09-01 09:18:10 +02:00
filoghost
7db51a6dae Rename API classes 2021-08-31 21:05:38 +02:00