Commit Graph

221 Commits

Author SHA1 Message Date
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
filoghost
bbc08034f1 Fix hologram delete 2021-07-19 09:25:51 +02:00
filoghost
3539ae6a01 Uncolorize image lines for serialized value 2021-07-13 19:17:35 +02:00
filoghost
6d5c1e4a30 Change warning message 2021-07-13 19:17:35 +02:00
filoghost
05826266a5 Update FCommons methods 2021-07-13 19:17:35 +02:00
filoghost
2e68e95497 Change image rendering settings path 2021-07-13 19:17:35 +02:00
filoghost
6948afcfa9 Simplify image rendering settings 2021-07-13 19:17:35 +02:00
filoghost
0cb6fed921 Additional test 2021-07-13 19:17:35 +02:00
filoghost
e67bfcd750 Rename inner class 2021-07-08 18:43:33 +02:00
filoghost
41e54d801e Rearrange API classes 2021-07-08 08:48:27 +02:00
filoghost
1871fbc8b7 Pass plugin instance instead of using static getInstance() method 2021-07-06 21:22:14 +02:00
filoghost
1eb58dfd0a Use pinger utility in FCommons 2021-07-06 21:22:14 +02:00
filoghost
f6c7fd5f0f Fix VisibilitySettings not working 2021-07-05 23:58:20 +02:00
filoghost
43427d6f81 Move method to FCommons library 2021-07-05 08:27:29 +02:00
filoghost
fca1de85e0 Convert {empty} to an actual placeholder 2021-07-03 17:15:41 +02:00
filoghost
4399fd90a7 Refactor internal hologram editing 2021-07-03 17:01:31 +02:00
filoghost
0b649ff612 Clarify code 2021-07-03 09:29:59 +02:00
filoghost
157be9b679 Allow null item on ItemLine 2021-07-02 21:30:54 +02:00
filoghost
b594f79a2b Refactor ImageMessage 2021-06-27 23:51:08 +02:00
filoghost
d52e374969 Rename classes 2021-06-24 17:38:38 +02:00
filoghost
fa7c34ccf9 Refactoring 2021-06-24 17:13:32 +02:00
filoghost
95fd02b507 Small refactoring 2021-06-21 23:33:40 +02:00
filoghost
37cc961cab Ignore async threads in ProtocolLib listener 2021-06-21 23:29:29 +02:00
filoghost
8ef99b0352 Fix {motd} on 1.16+ 2021-06-21 23:28:48 +02:00
filoghost
39d4e450d7 Add support for Minecraft 1.17 2021-06-21 22:51:30 +02:00
filoghost
ae07fe0bb5 Remove trailing whitespace 2021-06-20 17:26:49 +02:00
filoghost
860d586750 Reformat and cleanup code 2021-06-20 17:09:52 +02:00
filoghost
31f0ba206d Format imports 2021-06-20 12:41:52 +02:00
filoghost
7b269ba0b1 Move external libraries in the same package 2021-06-20 12:36:56 +02:00
filoghost
c190f10092 Fix formatting 2021-06-20 12:01:53 +02:00
filoghost
f73e8405ea Restore copyright headers 2021-06-20 11:59:12 +02:00
filoghost
50b9ede70c Inline method 2021-06-20 11:50:09 +02:00
filoghost
73f0d23410 Rename module "core" to "common" 2021-06-20 11:14:26 +02:00
filoghost
22bacead97 Rename package "object" to "hologram" 2021-06-20 10:47:28 +02:00
filoghost
08d3219c37 Move API implementations to a common package 2021-06-20 10:46:45 +02:00
filoghost
dfcc597a02 Make packages include module name and separate external libraries 2021-06-20 10:21:58 +02:00
filoghost
eeec178e65 Improve and refactor individual placeholders 2021-06-19 19:04:13 +02:00
filoghost
b2989814b8 Initial refactoring for relative placeholders 2021-05-26 23:29:08 +02:00
filoghost
864f76eac6 Move classes 2021-05-25 21:05:10 +02:00
filoghost
33bdce7915 Fix Checkstyle warnings 2021-05-25 00:17:44 +02:00
filoghost
23029e874e Fix link on console update notification 2021-05-25 00:12:01 +02:00
filoghost
f9a6163363 Change permissions prefix to "holographicdisplays." 2021-05-25 00:11:11 +02:00
filoghost
71bf06a8b5 Re-add rainbow color &u" as alias of "{rainbow}" 2021-05-24 22:55:30 +02:00
filoghost
d58e9fe0a9 Code renaming 2021-05-24 22:42:44 +02:00
filoghost
123e9fb45c Avoid NullPointerException 2021-05-24 22:17:13 +02:00
filoghost
9e05bb61cb Improve StringWithPlaceholders 2021-05-24 18:36:21 +02:00
filoghost
3f14a67b73 Initial draft for PlaceholderAPI support (needs performance improvements) 2021-05-24 11:53:00 +02:00
filoghost
bbb397068b Support latest ProtocolLib version 2021-05-24 10:20:32 +02:00
filoghost
ffd0351a70 Simplify relative placeholder replacement 2021-05-24 09:50:31 +02:00
filoghost
e8c4f58d9a Change VisibilityManager into VisibilitySettings and improve implementation 2021-05-19 20:41:15 +02:00
filoghost
d67480749b Improve DefaultVisibilityManager 2021-05-18 18:04:43 +02:00