Commit Graph

271 Commits

Author SHA1 Message Date
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
filoghost
e7e27885b3 Optimize Placeholder API detection 2021-08-02 22:39:02 +02:00
filoghost
016de63f93 Use new YML format for animations 2021-08-02 10:00:23 +02:00
filoghost
de3366a8a2 Don't apply display format inside placeholders 2021-08-01 12:48:58 +02:00
filoghost
d251998cdd Cleanup HolographicDisplays class 2021-08-01 12:06:49 +02:00
filoghost
365366d929 Move class 2021-08-01 11:39:43 +02:00
filoghost
32be6b8654 Check player distance on clickable hologram lines 2021-08-01 11:26:59 +02:00
filoghost
bb48855396 Rename package 2021-07-31 17:28:19 +02:00
filoghost
54d089bf04 Add item pickup functionality 2021-07-31 17:27:21 +02:00
filoghost
089d1eaa7c Use concurrent hash set for click listener 2021-07-31 16:11:02 +02:00
filoghost
63efbf40fb Rename methods 2021-07-31 16:11:02 +02:00
filoghost
56ca2125fa Also check world on chunk load/unload 2021-07-31 16:11:02 +02:00
filoghost
07b55853dc Reorder methods 2021-07-31 16:11:02 +02:00
filoghost
b9d55363c6 Make names more consistent 2021-07-31 16:11:02 +02:00
filoghost
4e028efb27 Rename API classes 2021-07-31 16:11:02 +02:00
filoghost
b8860a9d60 Sort imports 2021-07-30 10:35:09 +02:00
filoghost
c6b6ec1a42 Rename v2 API adapter classes 2021-07-30 10:34:22 +02:00
filoghost
7e0f23f220 Remove unused field 2021-07-30 10:18:01 +02:00
filoghost
665d8bb367 Prevent changes to deleted lines 2021-07-29 19:42:22 +02:00
filoghost
ca50d9247d Improve readability 2021-07-29 19:33:02 +02:00
filoghost
825b0f2b2e Refactoring 2021-07-29 19:24:11 +02:00
filoghost
1d44491457 Remove outdated Javadoc 2021-07-29 10:50:34 +02:00
filoghost
8cac729a82 Remove unnecessary classes 2021-07-29 10:44:17 +02:00
filoghost
f470dddc40 Add checks to BaseItemLine.onPickup() 2021-07-29 09:04:47 +02:00
filoghost
55643651c9 Refactoring 2021-07-28 21:00:14 +02:00
filoghost
438dcfb1dc Add back support for touch functionality 2021-07-28 15:11:07 +02:00
filoghost
f3d3d07038 Improve NMSVersion description 2021-07-28 10:41:42 +02:00
filoghost
88b260ffb9 Improve placeholder handling 2021-07-25 22:17:28 +02:00
filoghost
ed73b8e098 Add back support for placeholder toggle 2021-07-25 20:18:28 +02:00
filoghost
98f27b73b4 Improve error logging 2021-07-25 11:57:25 +02:00
filoghost
496fd4ae41 Add support for visibility options 2021-07-24 18:41:13 +02:00
filoghost
21280b0b1f Add defensive copy for ItemStack 2021-07-24 15:20:00 +02:00
filoghost
ce2dfd993b Improve tests 2021-07-24 15:08:16 +02:00
filoghost
1440a88387 Fix partial placeholder replacement, fix tests 2021-07-24 14:36:51 +02:00
filoghost
7d86538621 Use packets instead of entities
Missing:
* All implementations before 1.17
* Placeholder toggle
* Visibility settings
* Line touch handling
* Item pickup handling
2021-07-24 12:51:14 +02:00
filoghost
c22f01c017 Fix animation speed 2021-07-19 09:25:51 +02:00