Commit Graph

306 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
filoghost
6ae9ec8292 Update API 2021-08-29 09:32:28 +02:00
filoghost
5de079917e Rename method 2021-08-27 08:37:23 +02:00
filoghost
cf2ca694bf Move classes to separate package 2021-08-26 16:42:05 +02:00
filoghost
8a9642d7fc Rearrange methods 2021-08-26 15:19:25 +02:00
filoghost
11abb356d6 Fix exception message 2021-08-26 13:59:08 +02:00
filoghost
76381660a3 Improve Position 2021-08-26 13:54:55 +02:00
filoghost
66d49727b8 Rename HologramPosition to Position and Position to PositionCoordinates 2021-08-25 18:27:45 +02:00
filoghost
da2b221642 Separate modules "common" and "NMS common" 2021-08-25 15:45:33 +02:00
filoghost
7f70cd7b08 Rename parameter 2021-08-25 09:28:08 +02:00
filoghost
7efacd31f9 Remove unused class 2021-08-25 09:21:45 +02:00
filoghost
0b5a059a2f Modify exception messages 2021-08-25 09:09:00 +02:00
filoghost
92e18395b4 Move classes 2021-08-25 09:07:02 +02:00
filoghost
3008f28fb2 Refactoring 2021-08-25 08:54:56 +02:00
filoghost
2ddb972128 Rename subclasses 2021-08-24 14:56:20 +02:00
filoghost
ed803fc4f6 Remove API method 2021-08-23 20:11:52 +02:00
filoghost
1aa8a17dab Remove unnecessary cooldown on hologram line click 2021-08-23 19:43:03 +02:00
filoghost
2da7d318df API changes 2021-08-23 19:28:15 +02:00
filoghost
dba767dd79 Add createHologram with HologramPosition 2021-08-23 16:20:29 +02:00
filoghost
ca5644153e Add deleteHolograms method to API 2021-08-23 14:09:51 +02:00
filoghost
087105ccd1 Refresh line positions on plugin reload for potential changes in option "space-between-lines" 2021-08-23 13:59:14 +02:00
filoghost
b4e5edfa8e Separate v2 holograms from new API 2021-08-23 13:45:41 +02:00
filoghost
c2ff8f536c Fix dynamic world loading 2021-08-23 12:42:59 +02:00
filoghost
ac0bde854d Initial API update 2021-08-22 17:17:33 +02:00
filoghost
b3d8aae193 Specify Locale with String.toLowerCase() 2021-08-20 18:33:56 +02:00
filoghost
614a56ca8a Use new Preconditions method 2021-08-19 15:57:55 +02:00
filoghost
55f690cec9 Make HologramPosition immutable 2021-08-19 15:36:10 +02:00
filoghost
9e966ea185 Refactoring 2021-08-19 11:56:28 +02:00
filoghost
163b881837 Refactoring 2021-08-19 10:37:18 +02:00
filoghost
ec5cf3ca94 Refactoring 2021-08-19 09:28:58 +02:00
filoghost
903c94657b Refactoring 2021-08-18 16:16:20 +02:00
filoghost
4f03b2e4e3 Make animation options required 2021-08-15 09:54:22 +02:00
filoghost
2cf789c8f2 Fix error when disabling plugin because of other error 2021-08-14 12:27:38 +02:00
filoghost
14541eb25d Remove unsupported versions and display error messages 2021-08-14 12:26:53 +02:00
filoghost
e1009b8cd8 Small refactoring 2021-08-14 10:17:42 +02:00
filoghost
f61ba7a02c Update command messages for users 2021-08-14 08:03:48 +02:00
filoghost
a7b9b72f96 Fix Checkstyle warnings 2021-08-13 21:33:08 +02:00
filoghost
4f86a8e9c2 Add other major NMS implementations 2021-08-13 20:10:13 +02:00
filoghost
2d0969e171 Replace single quotes with double quotes 2021-08-13 07:51:51 +02:00
filoghost
3c10663c41 Fix create command 2021-08-13 07:41:05 +02:00
filoghost
8ca4108d4c Make HologramPosition.add() return the position itself 2021-08-09 21:14:58 +02:00
filoghost
f5e320a420 Minor grammar and code changes 2021-08-09 08:17:24 +02:00
filoghost
dc87be4e4a Rename parameter 2021-08-08 18:36:33 +02:00
filoghost
36e1d44d18 Move removeLine method to Hologram instead of HologramLine 2021-08-08 16:49:18 +02:00
filoghost
88bfa7c662 Make BaseHologramLines implement Iterable 2021-08-08 16:42:01 +02:00
filoghost
9d70087130 Prevent hologram being edited after deletion 2021-08-08 16:38:41 +02:00
filoghost
b9d04d7f5c Refactor hologram lines into separate class 2021-08-08 16:36:27 +02:00
filoghost
7fb38d82e4 Refactor hologram position fields into separate class 2021-08-08 12:50:55 +02:00
filoghost
150cc4c62b Rename location references to "position" 2021-08-07 18:51:45 +02:00
filoghost
9b21ffdf76 Allow holograms to be in non-loaded worlds 2021-08-07 18:39:19 +02:00
filoghost
5225d34cb6 Add README.txt in backups folder 2021-08-07 16:13:29 +02:00
filoghost
72cdacb998 Improve automatic configuration upgrades and use separate folder for backups 2021-08-07 13:54:22 +02:00
filoghost
4dc46456a3 Update database format and add automatic converter 2021-08-06 19:13:18 +02:00
filoghost
15f88dacb3 Update toString() methods 2021-08-06 18:10:56 +02:00
filoghost
0a1f7998e9 Remove unused field 2021-08-06 11:52:29 +02:00
filoghost
14c7ebce69 Introduce HologramPosition API and refactor implementation 2021-08-06 11:44:55 +02:00
filoghost
1be79f05b0 Fix quick edit command tooltips 2021-08-05 18:12:23 +02:00
filoghost
a1bafc4366 Refactor hologram location 2021-08-05 18:10:10 +02:00
filoghost
f221f1ed72 Improve chunk loading detection 2021-08-05 12:09:39 +02:00
filoghost
e3179576e4 Update placeholder tracker only when necessary 2021-08-05 07:52:51 +02:00
filoghost
3432a33ae6 Fix StringWithPlaceholders.containsPlaceholders() and update test 2021-08-04 21:32:36 +02:00
filoghost
2d99a0c36a Simplify placeholder replacement 2021-08-04 19:40:50 +02:00
filoghost
e161dd18f9 Refactoring 2021-08-03 18:51:08 +02:00
filoghost
d94cb681a8 Add automatic converter for animations with old format 2021-08-03 00:18:30 +02:00
filoghost
47c98100ff Rename 2021-08-02 23:09:07 +02:00
filoghost
8b12e3e2c5 Add null check 2021-08-02 23:05:27 +02:00