Commit Graph

284 Commits

Author SHA1 Message Date
Pyrbu
28300cded5 make run task use Java 17 2023-06-19 22:16:01 +02:00
Pyrbu
9d2489e84c make update checker treat snapshot versions as 1 lower than a full release 2023-06-19 21:48:25 +02:00
Pyrbu
e496d00fcd remove the might not work correctly message because its false 2023-06-19 21:44:38 +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
ffd189b2fc make update checker ignore all characters that arent numbers 2023-06-19 13:49:59 +02:00
Pyrbu
ac3827986f stop using an obscure ass immutable array list implementation 2023-06-19 00:58:26 +02:00
Pyrbu
0052584507 Improve api a lot 2023-06-19 00:20:18 +02:00
Pyrbu
9e920ecab1 make importer ids lower case and add base for citizens importer 2023-06-19 00:01:38 +02:00
Pyrbu
f8f5877619 add unused warning suppressions to pojo classes 2023-06-18 23:15:27 +02:00
Pyrbu
7eb9a5a9e0 add equipment and skin support to znpcs importer 2023-06-18 23:14:39 +02:00
Pyrbu
1925eb0e95 add amount of npcs imported to import command 2023-06-18 23:14:05 +02:00
Pyrbu
35e08097d5 remove unused warning supression 2023-06-18 23:13:47 +02:00
Pyrbu
8e6cbb61af Add import command & improve importing 2023-06-18 19:33:47 +02:00
Pyrbu
1f7ddb5b7c remove unused relocation 2023-06-18 19:04:01 +02:00
Pyrbu
01f1723b71 lay out most of the possible properties 2023-06-16 12:33:52 +02:00
Pyrbu
09def38142 properly enable the skin layer properties on the player npc type 2023-06-15 22:47:34 +02:00
Pyrbu
0a1bbaf1f6 fix action add help message typo 2023-06-15 00:58:02 +02:00
Pyrbu
b31b719633 fix property name typo in 1.8 packet factory 2023-06-14 23:18:58 +02:00
Pyrbu
1239126105 use the proper method for reloading holograms when adding or inserting new lines 2023-06-14 23:15:18 +02:00
Pyrbu
354a9133c3 use legacy serializer for 1.8 version 2023-06-14 22:47:29 +02:00
Pyrbu
5b050aee6c major help message improvements 2023-06-14 15:30:43 +02:00
Pyrbu
641bdebec5 rename properties to property 2023-06-14 14:45:04 +02:00
Pyrbu
17f7b36f81 help message work 2023-06-14 14:25:09 +02:00
Pyrbu
ae4103b8cb downgrade spigot api version to 1.8.8 to improve backwards compatibility 2023-06-14 14:23:37 +02:00
Pyrbu
e90f3a2a5f fix comment typo caused by stupid intellij refactoring comments 🤦 2023-06-14 00:04:35 +02:00
Pyrbu
5651b39328 fix action add completion 2023-06-13 23:58:10 +02:00
Pyrbu
0acda842d6 new help message system 2023-06-13 23:57:43 +02:00
Pyrbu
4c8432678e small work on znpcs loader 2023-06-13 23:57:17 +02:00
Pyrbu
8f82afeb0b make action list not bold 2023-06-13 23:57:04 +02:00
Pyrbu
fa890e3924 fix player chat action 2023-06-13 23:55:10 +02:00
Pyrbu
7a3bf0deb0 seperate all the skin layer parts out into different properties 2023-06-13 22:51:04 +02:00
Pyrbu
f6f861a652 make EntityData value types guaranteed safe at compile time using generics 2023-06-13 22:31:39 +02:00
Pyrbu
3714bafbb4 explicitly cast the numbers to bytes because PacketEvents gets confused because it accepts Object 2023-06-13 22:26:56 +02:00
Pyrbu
5e6034d384 add new 1.20 mob types 2023-06-13 15:17:24 +02:00
Pyrbu
80b9be8cd2 update minecraft version in runpaper 2023-06-13 15:17:12 +02:00
Pyrbu
699d3cc999 Merge remote-tracking branch 'origin/2.0.0' into 2.0.0 2023-06-10 13:59:36 +02:00
Pyrbu
9d1cc4452f remove legacy discord tags from plugin.yml 2023-06-10 13:59:30 +02:00
D3v1s0m
31f558a15e
registered PlayerChatActionType 2023-06-07 15:56:18 +05:30
D3v1s0m
92a2762868
Added action list command 2023-06-07 15:55:04 +05:30
D3v1s0m
eafb5a1f53
convert delay from double to int 2023-06-07 15:44:54 +05:30
Pyrbu
321e4a39e6 enable skin properties on player npc type 2023-06-02 14:35:42 +02:00
Pyrbu
0418c25f5f start on conversions 2023-05-30 13:49:14 +01:00
Pyrbu
1f0a24a64f make it actually build (oops!) 2023-05-29 21:14:20 +01:00
Pyrbu
0a6f599ece add player chat action 2023-05-29 21:11:01 +01:00
Pyrbu
cd2cdd6869 generalize action types more 2023-05-29 21:10:51 +01:00
Pyrbu
962664b5b5 make the click type actually save 2023-05-29 20:50:41 +01:00
D3v1s0m
640f7a8f8d
Added cape property 2023-05-28 13:48:57 +05:30
D3v1s0m
fa0b82cde5
skin error message fix 2023-05-28 12:11:45 +05:30
D3v1s0m
91de1f7f02
fixes #57 2023-05-28 11:42:22 +05:30
D3v1s0m
8d073aa2d9
Added Action Edit command 2023-05-28 11:02:00 +05:30
Pyrbu
84af1753e6 fix npcs not re-appearing when switching worlds at similar coordinates 2023-05-26 16:19:12 +01:00
Pyrbu
22058a607f fix folia player commands 2023-05-26 16:03:03 +01:00
Pyrbu
4a4b384992 add PlaceholderAPI support to message action 2023-05-26 13:08:27 +01:00
Pyrbu
ec9ee770a4 fix support for 1.19.1 & 1.19.2 2023-05-26 12:47:31 +01:00
Pyrbu
7924fbae62 remove first line of hologram from list command because it makes no sense 2023-05-26 11:17:47 +01:00
Pyrbu
facc0eb1f7 fix npc look for non-player entity types & make small npcs look at the player's head 2023-05-25 18:35:12 +01:00
Pyrbu
182fec9618 rename api class to match other classes 2023-05-25 16:47:18 +01:00
Pyrbu
491aaa7787 register api to ServicesManager 2023-05-25 15:36:00 +01:00
Pyrbu
80b75ebc0d add hologram offsets for all npc types & register equipment properties to npcs that support it 2023-05-25 13:51:58 +01:00
Pyrbu
1762bf595e execute player commands on region scheduler on Folia (fixes #54) 2023-05-25 13:08:46 +01:00
Pyrbu
5ae5ca200d add support for entity equipment 2023-05-24 23:27:11 +01:00
Pyrbu
1bbee6681a add events to api 2023-05-24 22:23:06 +01:00
Pyrbu
0b9262720a add look property 2023-05-24 21:47:30 +01:00
Pyrbu
b7a8776162 optimize by name lookup of properties 2023-05-24 17:02:28 +01:00
Pyrbu
b71207d07a add action click type 2023-05-24 15:07:55 +01:00
Pyrbu
8abe011956 implement RandomAccess on ImmutableArrayList 2023-05-24 14:21:39 +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
c1cdf290cb rename define to register 2023-05-21 13:46:40 +01:00
Pyrbu
49e1d7f074 refactor & make npc types not static 2023-05-21 13:45:43 +01:00
Pyrbu
3d9ca60445 make unsafe method names consistent 2023-05-21 12:59:21 +01:00
Pyrbu
03159ce964 add auto save setting 2023-05-21 12:53:48 +01:00
Pyrbu
4ec734c438 delete unused StringSerializer class 2023-05-21 12:44:28 +01:00
Pyrbu
4a3a54f2b8 delete VersionUtil in favor of PacketEvents api 2023-05-21 12:42:19 +01:00
Pyrbu
aff202e5ec rename BungeeUtil to BungeeConnector 2023-05-21 12:36:54 +01:00
Pyrbu
975bae38d8 make load order more visible 2023-05-21 12:33:45 +01:00
Pyrbu
e3ad180fa7 refactor parsers 2023-05-21 12:33:18 +01:00
Pyrbu
8b47b78f59 add action command 2023-05-21 12:32:55 +01:00
Pyrbu
c8c649e800 make it less static 2023-05-21 12:32:25 +01:00
Pyrbu
dcd802246f replace empty messages with a standard incorrect usage message 2023-05-21 09:43:12 +01:00
D3v1s0m
329f9fe86c
Added hologram offset 2023-05-21 09:40:01 +05:30
D3v1s0m
8129405de8
temp fix for null values in setting property 2023-05-21 08:53:26 +05:30
D3v1s0m
14ff80b3ef
changed load order - fixes plugin not loading at all 2023-05-21 08:48:28 +05:30
D3v1s0m
e3d5ebab8b
cancel tasks on plugin disable 2023-05-17 18:47:01 +05:30
Pyrbu
40c31b44aa refactorin' 2023-05-16 15:05:15 +01:00
Pyrbu
2194faba0b improve reflection system 2023-05-16 15:01:45 +01:00
Pyrbu
a08e973319 make everything not static, it makes the api much easier to make 2023-05-16 14:46:11 +01:00
D3v1s0m
80e7ac82f7
add type command 2023-05-12 19:18:46 +05:30
Pyrbu
ea732105a3 add save & load commands 2023-05-12 08:28:10 +01:00
Pyrbu
a3778ffe9c fix player head yaw 2023-05-11 15:02:04 +01:00
Pyrbu
e6a7e6f2f0 improve holo commands, add skin command 2023-05-11 14:25:26 +01:00
Pyrbu
ca94951b63 properties suggestions 2023-05-11 13:51:44 +01:00
Pyrbu
d572f9a28a Merge remote-tracking branch 'origin/2.0.0' into 2.0.0 2023-05-11 10:54:16 +01:00
Pyrbu
ba8a0eb6c2 add all npc types, command improvements 2023-05-11 10:54:11 +01:00
D3v1s0m
6ad1a34928
fix commands being executed on wrong thread in folia 2023-05-11 14:17:03 +05:30
Pyr
49f57547c7
Merge pull request #48 from D3v1s0m/2.0.0
Fixed issue on empty properties
2023-05-11 07:29:08 +01:00
Pyrbu
191eae3778 improve holo commands 2023-05-11 07:27:28 +01:00
D3v1s0m
a444ff0476
Merge branch 'Pyrbu:2.0.0' into 2.0.0 2023-05-11 11:55:45 +05:30
D3v1s0m
10a1166592
Fixed issue on empty properties 2023-05-11 11:54:28 +05:30
Pyrbu
74af9522ae make property suggestions work 2023-05-11 07:14:39 +01:00
Pyrbu
d9486acbd2 working persistance 2023-05-11 06:46:56 +01:00
Pyrbu
3dd3bcc03e partially fix commands being executed on wrong thread, still broken on folia 2023-05-11 05:46:14 +01:00
Pyrbu
b482317684 colors in holograms 2023-05-11 05:41:24 +01:00
Pyrbu
5a65995699 properties 2023-05-11 05:41:15 +01:00
Pyrbu
2f05783da9 location changes 2023-05-11 05:40:33 +01:00
Pyrbu
74ed109543 make metadata always send 2023-05-11 05:38:47 +01:00
Pyrbu
37a093b037 fix teleports on folia - untested (#44) 2023-05-10 18:06:14 +01:00
Pyrbu
bf071f4028 fix author list :) 2023-05-10 17:35:24 +01:00
Pyrbu
e0403d67f7 make npc location display a little better 2023-05-10 16:57:51 +01:00
Pyrbu
4197c58008 add near command and some refactoring 2023-05-10 16:55:37 +01:00
Pyrbu
37b5c190c9 tiny refactor 2023-05-10 16:44:12 +01:00
Pyrbu
839a54b9b7 remove whitespace 2023-05-10 16:32:54 +01:00
Pyrbu
a2503cb3cb further command improvements 2023-05-10 16:01:14 +01:00
Pyrbu
6566260089 fix skins 2023-05-10 14:43:05 +01:00
Pyrbu
bd22453f76 command changes 2023-05-10 14:42:23 +01:00
Pyrbu
252498c3e4 folder creation 2023-05-10 06:33:38 +01:00
Om Choksi
c7020f73a4
command it 2023-05-09 16:17:43 +05:30
Pyrbu
53ad7a73d6 start work on persistence 2023-05-08 12:17:25 +01:00
Sparky983
13627bc381 Fix plugin name 2023-05-04 17:50:55 +10:00
Sparky983
f0fe23125f Revert "Revert plugin class name"
This reverts commit 2952bda87ee3a45b2c70a1360b6c5f3b186808f5.
2023-05-04 17:49:56 +10:00
Sparky983
2952bda87e Revert plugin class name
To stay consistent with what the old plugin used
2023-05-04 17:48:18 +10:00
Sparky983
106129d39e Make naming conventions consistent 2023-05-04 17:25:05 +10:00
Pyrbu
fcfb972121 changes to registry 2023-05-04 05:07:07 +01:00
Pyrbu
680ba2b572 restructure plugin.yml 2023-05-03 16:56:09 +01:00
Pyrbu
f295b7b1ed remove old packages 2023-05-03 16:51:47 +01:00
Pyrbu
f993a521ed minor refactoring 2023-05-03 16:49:44 +01:00
Pyrbu
1f5bea5f8e make npcs always have teams 2023-05-03 16:43:16 +01:00
Pyrbu
bdbbd0bef9 remove folia scheduler comments 2023-05-03 16:08:53 +01:00
Pyrbu
9b7de3f76b rename subproject 2023-05-03 07:25:52 +01:00
Pyrbu
ca49a605c0 add folia support (not tested) 2023-04-29 19:42:04 +01:00
Pyrbu
4c160a44c4 refactoring 2023-04-27 00:59:39 +01:00
Pyrbu
0c345935e6 start with an api 2023-04-27 00:58:09 +01:00