Commit graph

30 commits

Author SHA1 Message Date
D3v1s0m
b1cea2a860 expose action registry to api and added action factory 2024-06-24 23:30:23 +02:00
Pyrbu
1e80b0b217 fix multiple null errors with unloaded worlds 2024-05-28 22:42:43 +02:00
Pyrbu
11b81ba5fc add change id command (resolves #98) 2023-10-21 07:36:39 +02:00
D3v1s0m
d7071cef47
check if npc is saveable instead of modifiable when unregistering all npcs 2023-10-15 20:21:00 +05:30
D3v1s0m
9d7b031ffa
Added SQLite Storage 2023-10-15 18:54:06 +05:30
D3v1s0m
e611888339
fix removing of unmodifiable npcs on reload 2023-10-11 02:18:49 +05:30
Pyrbu
73efb10181 fix delete bug 2023-09-13 20:52:49 +02:00
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
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
9bb74de8e6 add default properties 2023-08-26 22:17:56 +02:00
Pyrbu
32b588807a make interaction detection also treat holograms as part of the npc (fixes #76) 2023-07-24 02:51:40 +02:00
Pyrbu
acd953e460 move to a more modular property/metadata system 2023-07-10 01:01:12 +02:00
D3v1s0m
9c96be96db
Fixed npc not spawning and saving at all 2023-06-23 11:24:39 +05:30
Pyrbu
96be7b34ef use more efficient delete method 2023-06-22 23:29:18 +02:00
D3v1s0m
08d69f6848
Hide all npcs on plugin disable 2023-06-22 18:42:33 +05:30
Pyrbu
78fbb13348 add uuids to npcs & add uuid importing to znpcs importer 2023-06-19 14:29:12 +02:00
Pyrbu
0052584507 Improve api a lot 2023-06-19 00:20:18 +02:00
Pyrbu
8e6cbb61af Add import command & improve importing 2023-06-18 19:33:47 +02:00
Pyrbu
0b9262720a add look property 2023-05-24 21:47:30 +01: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
Pyrbu
03159ce964 add auto save setting 2023-05-21 12:53:48 +01:00
Pyrbu
a08e973319 make everything not static, it makes the api much easier to make 2023-05-16 14:46:11 +01:00
Pyrbu
d9486acbd2 working persistance 2023-05-11 06:46:56 +01:00
Pyrbu
4197c58008 add near command and some refactoring 2023-05-10 16:55:37 +01:00
Pyrbu
6566260089 fix skins 2023-05-10 14:43:05 +01:00
Pyrbu
53ad7a73d6 start work on persistence 2023-05-08 12:17:25 +01:00
Sparky983
106129d39e Make naming conventions consistent 2023-05-04 17:25:05 +10:00
Renamed from plugin/src/main/java/lol/pyr/znpcsplus/npc/NPCRegistryImpl.java (Browse further)