fullwall
8696a5709e
Use new API
2024-03-23 23:46:09 +08:00
fullwall
c1b7a99bd8
Push InventoryMultiplexer type down to allow for inventory refreshing
2024-03-18 23:36:42 +08:00
fullwall
70ac5c9193
Make /npc shop delete (name) output a message, send head yaw packet to just the viewer rather than cached nearby players, bump translations
2024-03-16 23:10:12 +08:00
fullwall
903ba91b4c
Delete old template code
2024-03-04 20:46:36 +08:00
fullwall
92066dde7b
Fix non-english locales, multiplex shop inventories for better trader UI experience
2024-03-03 01:27:23 +08:00
fullwall
3c8429aa6d
Nullcheck getShopType()
2024-02-25 01:07:30 +08:00
fullwall
a8f37635f8
Make trader view work, with limitations
2024-02-19 05:50:16 +08:00
fullwall
8864d89791
Preliminary trader view support for /npc shop
2024-02-19 05:41:48 +08:00
fullwall
f498391c1f
Replace $/{ in shop placeholders
2024-02-18 21:06:02 +08:00
fullwall
66708ac314
Add /npc command cycle
2024-02-05 00:05:51 +08:00
fullwall
8ca8c14f89
Reset packetrotationsession yaw to physical yaw on removal
2024-01-07 17:06:55 +08:00
fullwall
ffedf7c81f
Add a component parse step to shop title
2023-11-26 02:28:45 +08:00
fullwall
de885501cd
Allow next page and previous page items to be set
2023-11-05 17:41:18 +08:00
fullwall
ae4495207e
remove result message for commands by default
2023-10-14 22:41:10 +08:00
fullwall
ba74dc8ad2
Fix /npc shop edit multiline item descriptions
2023-10-09 00:54:31 +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
8719c1f182
Implement new metadata
2023-08-06 18:57:42 +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
2082a98a79
Add shift click to edit special shop page items
2023-06-14 23:19:05 +08:00
fullwall
ee77512185
Add new setting for global shop view permission, add insert after selected waypoint functionality
2023-05-20 17:10:53 +08:00
fullwall
46ccf0895f
Implement playerfilter change
2023-05-11 21:40:01 +08:00
fullwall
fa9b99a05b
WIP implementation of shop item copying using shift click
2023-05-07 22:43:05 +08:00
fullwall
55bda3ac13
npc shop changes
2023-05-07 22:03:20 +08:00
fullwall
4f9506ce7a
Add /npc painting
2023-04-08 02:35:55 +08:00
fullwall
163499f219
Add shift click max buy/sell to the shop trait
2023-04-06 02:35:08 +08:00
fullwall
46633409c3
Adjust command costs so that they are only charged after checking that the command can be used, adjust itemcost algorithm
2023-03-16 22:01:04 +08:00
fullwall
cb6f8be7fc
Add /npc packet
2023-03-02 23:08:03 +08:00
fullwall
3b00f7718b
Refactoring, add debug for shop trait onRemove(), add at argument for PlayerAnimation waypoint trigger
2023-01-31 22:50:25 +08:00
fullwall
aee977ebb3
Fix some 1.8.8 shop compat
2023-01-06 00:41:47 +08:00
fullwall
d9e7ec4ca3
More 1.8.8 compatibility
2023-01-04 23:17:45 +08:00
fullwall
ffef42efb7
Packet NPCs now properly spawn, fix NPE in new pathfinder, fix 1.8.8 compatibility with /npc shop
2023-01-04 23:02:33 +08:00
fullwall
aa59e15002
Fix legacy skull texture loading
2023-01-02 12:54:19 +08:00
fullwall
83040ed525
Add basic cost/result placeholders.
2023-01-01 23:28:21 +08:00
fullwall
b8e79b20cf
Implement API, check for invalid Player references, remove Text min/max-cooldown settings and fix Text delay/right click cancellations, make SitTrait work with npc#teleport
2023-01-01 15:26:35 +08:00
fullwall
a669a8a256
Workaround protocollib not supported listed boolean, fix dolphins moving while on ground, add /npc bossbar --range, add /npc create --nameplate --temporaryticks
2022-12-29 23:26:02 +08:00
fullwall
e7e2efd518
Allow /npc shop to be performed without an NPC selected
2022-12-19 01:44:16 +08:00
fullwall
5a82133200
Switch to use new method
2022-12-18 13:50:19 +08:00
fullwall
b78312b8f0
Fix two typos
2022-12-12 07:28:12 +08:00
fullwall
ab0c706da5
Add perplayer lookclose, rework templates, add message to send on click to shop trait, remove profiler call in player navigation which broke compatibility with certain plugins
2022-12-11 21:28:39 +08:00
fullwall
2034ca6bf0
Add CommandAction
2022-12-10 13:42:07 +08:00
fullwall
6533cdccf8
Remove shop on trait remove
2022-12-06 22:54:27 +08:00
fullwall
6fec436f55
Remove some global state from shops
2022-12-03 21:32:58 +08:00
fullwall
ede598cc9b
Fix some issues with ShopTrait item costs/results and add NBT filter API. Adjust /npc item to be more flexible.
2022-12-03 18:21:46 +08:00
fullwall
c68a7ad82f
Null check shop name and make default shop name
2022-12-03 00:20:04 +08:00
fullwall
8a65d4a5a0
Add way to set custom name directly
2022-11-30 06:13:55 +08:00
fullwall
d8a4c73f58
Make /npc shop open on right click with named shops too
2022-11-30 05:35:31 +08:00
fullwall
b8050199f1
Add per-player rotation API
2022-11-28 23:10:50 +08:00
fullwall
5408e7059c
Fix colors in /npc horse
2022-11-23 19:03:24 +08:00
fullwall
891b480bea
Add requireUndamaged to item cost
2022-10-26 15:44:03 +08:00
fullwall
a91f0cd2ee
Fix /npc text remove clickable not working, make /npc shop item action work on material alone for now
2022-10-26 12:33:23 +08:00