Commit Graph

1773 Commits

Author SHA1 Message Date
fullwall
3682faebec Implement new API and fix an error from Paper 2019-02-05 18:12:02 +08:00
fullwall
d7aab0acbd Incorrect comparison 2019-01-19 15:35:09 +08:00
fullwall
e61af2d351 Add fallback wander goal 2019-01-19 15:31:38 +08:00
fullwall
a0aaefcbea Fix compile error, add some wander waypoint API 2019-01-19 00:33:05 +08:00
Silthus
52b3902aca refactor(api): dynamically fetch the current default npc registry (#1672)
The api now allows setting the default NPC registry therefor commands
and listeners need to fetch the latest version of the NPCRegistry.

#1671
2019-01-19 00:18:43 +08:00
fullwall
5447561d3d Validate state 2019-01-18 01:56:47 +08:00
fullwall
71b8744060 Implement new API 2019-01-18 01:55:31 +08:00
Alex "mcmonkey" Goodwin
a21d16c581 (experimental) fix for #1569 turtle NPC navigation issues (#1644)
* (experimental) fix for #1569 turtle NPC navigation issues

* (for turtle issue) remove the stray field and set the internal field instead
2018-12-26 14:03:08 +08:00
mcmonkey
50619f3aad
update old version in main plugin pom 2018-12-22 22:22:07 -08:00
Alex "mcmonkey" Goodwin
9e0b4e0ab9 Improve handling of NPC names, fixes #1640 (#1642)
* Improve handling of NPC names, fixes #1640

Moves the logic to a Util method (instead of duplicated in each module), and adds the "prefixColors" portions (replacing just a static 'RESET' code).
If colors and effects are combined, using only the most recent effect is sufficient (eg reapplying bold) as that should produce effectively no change while still having a color code stuck into the name as is needed to break NPCs looking like real players internally.

* Additional NPC name improvement: fix color code splliting

a name consisting of a color code followed by 15 letters would get split in the middle of the color code, rather than around it. This fixes that.
2018-12-20 04:44:06 +08:00
mcmonkey
738a75e5c9
patch other altered field 2018-12-14 15:24:28 -08:00
mcmonkey
8e9eb3d373
Fix rare error with certain delay trigger setups, for #1630 2018-12-13 01:31:14 -08:00
mcmonkey
eea6e83e83
Patch for latest spigot, may have issues, for #1635
cross-compat is getting messy as Spigot is changing too many names within a single version label
2018-12-13 01:13:42 -08:00
mcmonkey
9ac3f0fa0c
patch other newly named NMS fields 2018-12-10 07:26:05 -08:00
Alex "mcmonkey" Goodwin
62d264bf31 Patch 1.8 pathfinding issue (#1629)
Some users have reported 1.8 server freezing here - looks like the original NMS method was miscopied, this patch should bring it properly in-line.
2018-12-08 07:00:47 +08:00
mcmonkey
2a65357aff
add a fallback handling for older builds of spigot 2018-12-07 06:01:17 -08:00
mcmonkey
28cc67cbad
patch for latest spigot 1.13.2 build 2018-12-07 00:44:25 -08:00
Alex "mcmonkey" Goodwin
f7b03d27e0
fix follow command max args value 2018-11-30 11:33:45 -08:00
Alex "mcmonkey" Goodwin
05abc9299c Fix spawn chunk NPC loading issues, fixes #1332 (#1625)
Some misplaced code unintentionally caused chunks to load in the middle of the startup sequence (after NPCs refused to spawn in the chunk, but before the server was fully started), meaning any chunk that normally loads within a few seconds of startup would be loaded already at that time, meaning a chunk load event never fires, and thus any NPCs at that location simply don't spawn in until the chunk is allowed to naturally unload and is later loaded again.
2018-11-30 22:34:47 +08:00
fullwall
3ca12de138 Add GameModeTrait 2018-11-12 14:53:52 +08:00
mergu
f47912f001 Fix npc path block updates (#1611)
* Fix npc path block updates

* Only update pathfind blocks in debug mode
2018-11-05 19:05:28 +08:00
fullwall
ae31173ac4 Place waypoint marker in centre of block 2018-10-31 16:52:18 +08:00
fullwall
7dd03e4c36 Merge branch 'master' of github.com:CitizensDev/Citizens2 2018-10-29 22:34:40 +08:00
fullwall
0cbf22a944 Stop double execution stop 2018-10-29 22:33:41 +08:00
mcmonkey
8cf35b9041
Improved jar filename
includes build number
2018-10-26 10:39:53 -07:00
fullwall
44ee5a2bfe Update helmets 2018-10-27 01:18:11 +08:00
fullwall
ac7e0c1b08 Merge branch 'master' of github.com:CitizensDev/Citizens2 2018-10-25 16:49:51 +08:00
fullwall
3c1975f1df Update for 1.13.2 2018-10-25 16:48:15 +08:00
MiniDigger
007794df22 update bstats dependency to new repo (#1585)
* update bstats dependency to new repo

this commit doesn't update the bstats version to 1.3 yet, that should be done in a separate pr

* fix typo
2018-10-24 15:24:19 +08:00
fullwall
a545c318a7 Use 1.8.8 API 2018-10-14 21:50:19 +08:00
fullwall
1276365a11 Fix issues with editors not respecting editing player 2018-10-13 11:11:09 +08:00
fullwall
0ecd480790 Stop pathfinding on pause 2018-10-08 23:25:40 +08:00
fullwall
1853a6f474 More QoL for triggers 2018-10-07 14:07:12 +08:00
fullwall
3b6996b3ee . 2018-10-07 13:25:34 +08:00
fullwall
b4b160b64d Fix weird eclipse error 2018-10-07 13:24:21 +08:00
fullwall
4424f8b9ae QoL enhancements for waypoints triggers 2018-10-07 13:20:56 +08:00
fullwall
a3c99e63e7 Use UUID instead of name in followtrait 2018-10-06 18:31:16 +08:00
fullwall
787e114faa Add a super simple follow trait 2018-10-06 17:11:57 +08:00
fullwall
92121c11e2 Trial portals 2018-10-01 18:36:12 +08:00
fullwall
edc36c76c8 Don't break on different waypoint worlds while editing 2018-10-01 18:05:37 +08:00
fullwall
9f9647a615 Reset pitch 2018-09-30 15:25:10 +08:00
fullwall
2254741d09 NPE check in GuidedWaypointsProvider 2018-09-27 20:25:52 +08:00
fullwall
b29f292537 Merge branch 'master' of github.com:CitizensDev/Citizens2 2018-09-26 18:57:55 +08:00
fullwall
d9a0481a7e Fix for change in EntityTypes fields 2018-09-26 18:57:34 +08:00
Alex "mcmonkey" Goodwin
71373fb73e
Improve readme file
Link wiki API page, clean compatibility notes a bit, fix formatting.
2018-09-21 07:14:25 -07:00
fullwall
1dc0edd7b0 Fix compile error 2018-09-18 18:22:16 +08:00
fullwall
97d4d7b428 Force armor stands to use the new pathfinder and override packet sending 2018-09-18 18:15:37 +08:00
fullwall
9d14b76d10 Fix TURTLE_HELMET being included in 1.12 and below 2018-09-01 21:22:32 +08:00
fullwall
11166c8bbe Update version and preliminary 1.13.1 update 2018-08-26 20:43:51 +08:00
fullwall
0603c3f17e Fix shutdown registry setting 2018-08-18 13:19:16 +08:00