Commit Graph

1160 Commits

Author SHA1 Message Date
fullwall
6c80f7554d Remove outdated text editor translations 2023-09-01 02:04:06 +08:00
fullwall
63ef3cdc73 Remove /npc scoreboard and make scoreboard trait just persist entity tags 2023-08-28 01:57:30 +08:00
fullwall
db6058bbd0 Reimplement hologram display entities using interaction entities as suggested by Owen1212055 2023-08-28 01:49:14 +08:00
fullwall
60e169f352 Remove imports 2023-08-14 01:32:27 +08:00
fullwall
82d841ad62 Add missing imports 2023-08-14 01:31:34 +08:00
Brando!
e0fa527c25
Add option to have players purchase items only once (#3037)
* Add option to have players purchase items only once

* In the process of updating `purchases` to be a map

NOT FINISHED!

* Fix bug in previous commit. Thanks for the help fullwall!
2023-08-14 01:20:41 +08:00
fullwall
3e374b7289 Add messag 2023-08-14 01:16:58 +08:00
fullwall
a9f79deb2d Add /npc skin -e 2023-08-14 01:16:00 +08:00
fullwall
cae7c9abd9 Fix typo 2023-08-12 21:09:46 +08:00
fullwall
438a671b4d Set profile fetch result 2023-08-12 20:46:18 +08:00
fullwall
583e633228 Catch exceptions in ProfileFetchThread 2023-08-12 20:42:45 +08:00
fullwall
eeea90ea05 Fix manual --track in bossbar trait 2023-08-12 20:31:15 +08:00
fullwall
47d9330a56 StraightLineTargetingStrategy should update target 2023-08-09 21:23:22 +08:00
fullwall
6ff59a1fe0 Bugfix for rotationtrait 2023-08-08 22:44:23 +08:00
fullwall
8719c1f182 Implement new metadata 2023-08-06 18:57:42 +08:00
fullwall
6fd768992a Tweak remove --owner 2023-08-01 23:18:45 +08:00
fullwall
c0230e07e7 Remove debug 2023-08-01 23:11:50 +08:00
fullwall
5138dc615a Small fixes 2023-07-29 23:26:02 +08:00
fullwall
71ad607732 Add some skinTrait debug 2023-07-23 22:42:00 +08:00
fullwall
5003f0c367 Fix <item> hologram, cancel EntityTameEvent for protected NPCs 2023-07-19 23:53:43 +08:00
fullwall
9082f6ac3f Don't use boss bossbar if null 2023-07-15 23:02:02 +08:00
fullwall
e1a4f88126 Work around a paper API mismatch with spigot 2023-07-12 01:08:54 +08:00
fullwall
29a98c8da6 Charge costs directly 2023-07-11 11:25:26 +08:00
fullwall
b7bda87394 Fix poms 2023-07-11 03:45:32 +08:00
fullwall
33571d7eec Disable fallback location for wander 2023-07-11 00:40:29 +08:00
fullwall
d0abea6dd5 Implement getters and setters in wander waypoint goal 2023-07-10 02:58:23 +08:00
fullwall
0e9dcf210f Fix typo from /npc list change 2023-07-09 20:40:48 +08:00
fullwall
a9fea94c61 Catch protocollib errors again, change /npc list to use uuid rather than id 2023-07-09 18:57:30 +08:00
fullwall
ea00df6c7e Don't clear the page items unless there's a page there 2023-07-09 00:02:47 +08:00
fullwall
e7de8d6b53 Make worldguard region a setter to clear the cache 2023-07-08 23:11:48 +08:00
fullwall
ecc5239899 Set pathfind on wander spawn 2023-07-08 21:52:24 +08:00
fullwall
8c35505444 Give slightly more leeway for lookclose range 2023-07-08 21:43:23 +08:00
fullwall
94a798ca45 Enforce controllable permission for players 2023-07-08 21:40:32 +08:00
fullwall
c0be235538 Send an extra headrotation packet since spigot resets head rotation now, make some protocollib methods async, bump avoid-water costs by one block 2023-07-08 21:36:04 +08:00
fullwall
5b5811cfea Fix /npc item parsing behavior 2023-07-04 00:45:37 +08:00
fullwall
d39c198956 Cache old waypoint providers in memory to enable switching 2023-07-04 00:16:22 +08:00
fullwall
58655fc45e Implement wander worldguard region change 2023-07-03 02:12:40 +08:00
fullwall
eb1af71429 ClickRedirectTrait should also check for PlayerFilter on init 2023-06-26 00:39:33 +08:00
fullwall
952c18efde Make shop actions ordered 2023-06-26 00:37:07 +08:00
fullwall
a06b2ed2c6 Pushed missing file 2023-06-26 00:13:20 +08:00
fullwall
46f4444c10 Implement new PlayerFilter method, async-friendly chunk trackers 2023-06-25 21:58:09 +08:00
Brando!
a2d7284fbc
individual costs for NPC commands (#3033)
* Add individual cost option for `/npc cmd cost`

* Add individual experience cost option for `/npc cmd expcost`

* Begin individual item cost impl

Everything is finished except for saving/loading the items. I just need to figure out how to properly save the ItemStacks either by using the DataKey or by somehow figuring out how to use the Persist API

* Add item saving and loading

* Add cost and exp cost to describe message

* Remove debug/todo things

* Make `-1` default to allow for cost-free commands

* Update `describe` function to have proper space alignment

* Change names of cost values

* Update parameter name
2023-06-25 13:41:19 +08:00
fullwall
053438bfbf Add /npc bossbar --viewpermission 2023-06-25 00:25:49 +08:00
fullwall
f3b7ba0e52 ClickRedirectTrait is respected for playerfilter 2023-06-20 23:29:36 +08:00
fullwall
6d5f881b91 Tweak /npc sound command to allow arbitrary sounds (as long as they are registered with NMS) 2023-06-19 20:55:16 +08:00
fullwall
ad023c3bd5 Various bugfixes including for /npc sitting, item action, event listening to push/knockback events 2023-06-19 20:39:50 +08:00
fullwall
c001b65988 More item tweaks 2023-06-19 02:27:13 +08:00
fullwall
ad442e4bd3 ItemAction tweak 2023-06-19 01:44:29 +08:00
fullwall
cd550e634e Cancel use item twice 2023-06-18 17:53:47 +08:00
fullwall
a551fe4890 Add /npc setequipment 2023-06-18 17:23:55 +08:00