Commit Graph

289 Commits

Author SHA1 Message Date
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
filoghost
d8930febfc Update download link in notification 2021-04-25 11:10:21 +02:00
filoghost
276d35bb72 Improve custom name NMS methods 2021-04-25 10:41:37 +02:00
filoghost
750e74360a Partial placeholder refactoring 2021-04-24 23:37:54 +02:00
filoghost
dc567af24c Fix wrong import 2021-04-04 16:11:42 +02:00
filoghost
57fd78eac5 Refactor BungeeCord-related code 2021-03-19 19:48:13 +01:00
filoghost
9a56a032de Make some placeholder-related classes not static 2021-03-15 23:42:07 +01:00
filoghost
6cc28cc957 Small refactoring 2021-03-15 21:41:03 +01:00
filoghost
f474684693 Make BungeeServerTracker and BungeeChannel not static 2021-03-15 19:48:12 +01:00
filoghost
4d3ccd1a2e Rename old references to "pieces" 2021-03-15 19:09:24 +01:00
filoghost
977a422bb3 Improve error display 2021-03-14 20:59:34 +01:00
filoghost
c694877780 Fix unexpected initialization error 2021-03-13 11:28:23 +01:00
filoghost
5b4a9348cd Update for FCommons changes 2021-03-11 20:54:49 +01:00
filoghost
5371acfd2c Fix conversion of old placeholders with dots in them 2021-03-11 17:40:20 +01:00
filoghost
65a54165eb Simplify PacketListener 2021-03-06 20:55:42 +01:00
filoghost
c332547f38 Refactor hologram-related objects, simplify editing 2021-03-06 18:44:52 +01:00
filoghost
a8a44bec90 Simplify hologram database 2021-03-06 00:26:33 +01:00
filoghost
cc0ef3bf7b Small rename 2021-03-05 18:56:35 +01:00
filoghost
470b8bfcbd Refactor and cleanup NMS-related classes 2021-03-05 17:42:24 +01:00
filoghost
f7bc9b950f Small cleanup 2021-03-03 10:53:49 +01:00
filoghost
a96e9e516f Further refactoring to hologram objects 2021-03-02 20:47:23 +01:00
filoghost
dbfabc0e83 Refactor hologram-related objects, move some to "core" module 2021-02-28 11:05:59 +01:00
filoghost
f42ad75ca3 Merge module "nms-interfaces" with "core" 2021-02-26 23:43:11 +01:00
filoghost
3b127c3d90 Rename module "commons" to "core" 2021-02-26 20:30:46 +01:00
filoghost
13e8fcf070 Merge legacy API modules 2021-02-26 19:56:37 +01:00
filoghost
6c58062940 Rename NMSManager implementations 2021-02-26 19:45:12 +01:00
filoghost
a295243019 Initial refactoring on hologram objects 2021-02-26 19:39:29 +01:00
filoghost
c17de21313 Remove duplicate (re)loading code 2021-02-22 14:58:31 +01:00
filoghost
0ff3b28fdd Large refactoring and cleanup 2021-02-22 13:02:50 +01:00
filoghost
acd83a6fe6 Configuration refactoring, convert symbols.yml to custom-placeholders.yml 2021-02-19 21:37:56 +01:00
filoghost
40e1967d20 Refactor exceptions 2021-02-07 16:18:16 +01:00
filoghost
d71df75036 Refactor commands using FCommons 2021-02-06 15:53:43 +01:00
filoghost
b5852116d4 Use new Java 8 time API 2021-01-24 12:01:32 +01:00
filoghost
b2b03f3e40 Small refactoring 2021-01-24 10:45:58 +01:00
filoghost
aa8aad2b83 Use NIO java file API 2021-01-07 21:05:38 +01:00
filoghost
1f32c7127c Code refactoring and cleanup 2021-01-06 14:58:53 +01:00
filoghost
a4900759c9 Add FCommons library and use it where possible (initial update) 2020-12-12 12:08:34 +01:00
filoghost
f88d8965b2 General cleanup 2020-11-12 11:02:43 +01:00
filoghost
836bd511da Change method to detect build number 2020-11-11 22:33:03 +01:00
filoghost
0b72d1e994 Rename module and package "utils" to "common" 2020-11-11 10:23:05 +01:00
filoghost
f320c3eb15 Move classes to plugin module 2020-11-11 09:42:05 +01:00
filoghost
90dbfa5c07 Merge module "config" into "plugin" 2020-11-10 20:56:19 +01:00
filoghost
0f3f7b5f9d Move NBT library 2020-11-10 20:34:26 +01:00
filoghost
b60c7818d6 Use compact copyright header 2020-11-10 12:29:00 +01:00
filoghost
09f99be342 Convert tabs to spaces 2020-11-10 10:27:41 +01:00
filoghost
9c97e0ed39 Include legacy compatibility modules only at runtime 2020-11-10 10:12:14 +01:00
filoghost
9281515385 Add module for v2 backwards compatibility 2020-11-10 09:34:32 +01:00
filoghost
02c15aa354 Use correct class in plugin.yml 2020-11-09 23:31:03 +01:00
filoghost
fb41de5651 Rename module "legacy" to "legacy-v1" 2020-11-09 23:20:27 +01:00
filoghost
6f64e09508 Rename packages and modules from "com.gmail.filoghost..." to "me.filoghost..." 2020-11-09 10:56:22 +01:00
filoghost
069e1fffbd Use lowercase module directories 2020-11-08 20:57:04 +01:00