Commit Graph

33 Commits

Author SHA1 Message Date
Pyrbu
c9a34de9e3 add error handling to yaml storage loader (resolves #102) 2023-10-22 16:53:56 +02:00
D3v1s0m
788e962d37
Added MySQL Storage option 2023-10-17 21:13:48 +05:30
D3v1s0m
c423793fc8
fix logger methods again, lol 2023-10-17 15:41:11 +05:30
D3v1s0m
228cfa3b42
move some classes and add couple access modifiers 2023-10-15 20:45:58 +05:30
D3v1s0m
eb414ce3f7
change to use defined methods instead of using Logger.log 2023-10-15 20:30:52 +05:30
D3v1s0m
9d7b031ffa
Added SQLite Storage 2023-10-15 18:54:06 +05:30
D3v1s0m
256f47bb94
ignore applying disallowed property 2023-10-02 09:52:27 +05:30
Pyrbu
f30bb1a6df Merge branch 'modular-property-system' into 2.X
# Conflicts:
#	plugin/src/main/java/lol/pyr/znpcsplus/ZNpcsPlus.java
#	plugin/src/main/java/lol/pyr/znpcsplus/conversion/citizens/CitizensImporter.java
#	plugin/src/main/java/lol/pyr/znpcsplus/entity/EntityPropertyRegistryImpl.java
#	plugin/src/main/java/lol/pyr/znpcsplus/storage/yaml/YamlStorage.java
#	plugin/src/main/java/lol/pyr/znpcsplus/util/Viewable.java
2023-09-13 02:15:30 +02:00
D3v1s0m
dd3eda5512
Small fix for property deserialization 2023-09-12 22:53:58 +05:30
D3v1s0m
14ded1ea49
fix for null serializer when saving npcs 2023-09-10 17:35:52 +05:30
Pyrbu
5f15ba9128 make it so the npc gets at least partially saved when a property fails to serialize 2023-08-28 15:45:35 +02:00
Pyrbu
197ffaa50b don't delete all npc files before saving, instead just delete whenever the npc is deleted 2023-08-26 23:42:17 +02:00
Pyrbu
e789fe2f9c print stack traces of save errors instead of rethrowing 2023-08-26 23:41:40 +02:00
D3v1s0m
33b22b534d
added serializer checking before setting property when loading npc 2023-08-21 20:44:16 +05:30
D3v1s0m
fed7b7085a
Added hologram items 2023-08-05 09:31:00 +05:30
Pyrbu
acd953e460 move to a more modular property/metadata system 2023-07-10 01:01:12 +02:00
D3v1s0m
63b049bb8c
null property fix if the property doesn't exist when loading. 2023-07-06 19:34:14 +05:30
Pyrbu
0d02fc806b add hologram refreshing 2023-06-26 22:00:23 +02:00
Pyrbu
60b5ac9683 add npc toggle command 2023-06-19 15:29:34 +02:00
Pyrbu
78fbb13348 add uuids to npcs & add uuid importing to znpcs importer 2023-06-19 14:29:12 +02:00
Pyrbu
35e08097d5 remove unused warning supression 2023-06-18 23:13:47 +02:00
Pyrbu
bc12f79e85 remove api dependencies 2023-05-22 17:10:03 +01:00
Pyrbu
fc87323d10 api improvements 2023-05-21 16:41:38 +01:00
Pyrbu
fa8247f285 make entity properties not static 2023-05-21 14:25:21 +01:00
Pyrbu
49e1d7f074 refactor & make npc types not static 2023-05-21 13:45:43 +01:00
D3v1s0m
329f9fe86c
Added hologram offset 2023-05-21 09:40:01 +05:30
Pyrbu
a08e973319 make everything not static, it makes the api much easier to make 2023-05-16 14:46:11 +01:00
D3v1s0m
10a1166592
Fixed issue on empty properties 2023-05-11 11:54:28 +05:30
Pyrbu
d9486acbd2 working persistance 2023-05-11 06:46:56 +01:00
Pyrbu
2f05783da9 location changes 2023-05-11 05:40:33 +01:00
Pyrbu
6566260089 fix skins 2023-05-10 14:43:05 +01:00
Pyrbu
252498c3e4 folder creation 2023-05-10 06:33:38 +01:00
Pyrbu
53ad7a73d6 start work on persistence 2023-05-08 12:17:25 +01:00