Commit Graph

300 Commits

Author SHA1 Message Date
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
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
filoghost
c1cd5b200c Fix Checkstyle violations by formatting code 2021-05-18 09:49:44 +02:00
filoghost
f370dfff4f Add missing header comments 2021-05-17 19:31:20 +02:00
filoghost
ae89ad25b1 Update equals and hashCode methods 2021-05-17 18:30:46 +02:00
filoghost
523b866f8e Improve comments 2021-05-17 18:19:09 +02:00
filoghost
949018c60f Annotate overriding methods 2021-05-16 21:11:25 +02:00
filoghost
a31f29cb32 Rename methods 2021-05-16 20:59:34 +02:00
filoghost
40d18d1235 Enable the v2 API through adapters 2021-05-16 20:48:31 +02:00
filoghost
fe54ed7dc7 Increase distance for approximate check before sending packets 2021-05-06 21:13:00 +02:00
filoghost
29d43525b4 Use NMS entity tracker to determine which players should receive packets 2021-05-06 21:09:56 +02:00
filoghost
4f25e6550b Move distance check for packets to ProtocolLibHook 2021-05-05 12:42:41 +02:00
filoghost
fe626053e6 Clarify comment 2021-05-05 11:15:52 +02:00
filoghost
9f7e2915c1 Use UUIDs in DefaultVisibilityManager 2021-05-05 10:29:14 +02:00
filoghost
aacc7fdeb4 Small refactoring 2021-05-04 16:10:18 +02:00
filoghost
588e2ed394 Add isRegisteredPlaceholder method to the API 2021-05-03 15:44:11 +02:00
filoghost
a7a7fcc68b Use ArrayList instead of LinkedList 2021-05-02 20:32:39 +02:00
filoghost
1f6adc8679 Change @Nullable/@NotNull annotation placement 2021-05-02 20:29:57 +02:00
filoghost
5bcf735808 Use new split modules 2021-05-01 12:40:34 +02:00
filoghost
aba0897dc7 Move repositories declarations to main POM 2021-04-29 20:43:58 +02:00
filoghost
03689e208b Update FCommons dependency to 1.2.7 2021-04-29 14:38:46 +02:00
filoghost
92bcda8f2d Fix non-replaced placeholders and add test case 2021-04-28 23:42:10 +02:00
filoghost
ff77738a51 Initial refactoring of the API 2021-04-28 23:25:20 +02:00