LKShopMarket-0.4.0.jar
Curse Maven Snippet
What's new
LK Shop & Market v0.4.0
Minecraft 1.20.1 · Forge 47+
⚠️ Upgrading: the network protocol changed. Client and server must both run 0.4.0. An older client is now rejected when it connects instead of failing halfway through a purchase.
🇬🇧 English
⚡ Performance and memory
- The order book is maintained incrementally. Publishing, buying or cancelling no longer re-sorts every listing. A market with thousands of orders stops eating tick time on every transaction.
- Fixed a memory leak in the expiry queue. It affected every server on the default config, where order expiry is off: cancelled and sold orders were retained until restart.
- Audit searches stream the log instead of loading it whole.
/market admin market auditcan no longer run a veteran server out of memory. - Shop villagers no longer attach empty NBT to unrelated mobs, which was quietly growing the world save.
🎨 Interface
- Sorting and filtering in Browse: cheapest, priciest, biggest lot or newest, and show only sales or only purchases.
- First, last and jump to page. Reaching page 40 is one field, not forty clicks.
- Each row shows the total price of the order beside the unit price.
- The mailbox merges identical stacks (same item and same NBT). Buying one diamond sixty times now uses one slot instead of sixty.
🛡️ Administration
- Offline players are reachable. Money, freeze, limit, profile and mailbox commands accept a name or a UUID. Selectors still work exactly as before.
- Backups now keep full item NBT and mailbox contents, and
/market admin data restore <file>arrives with them. The first run previews what the file holds, the second applies it, and the current state is snapshotted first.
🛠️ Quality
- Every admin command message is translatable. No more mixed English and Spanish in one output.
- 51 automated tests covering the money, pricing and pagination rules.
- New diagnostics:
stress-test,verify-integrity,clear-all,simulate-expire.
🇪🇸 Español
⚡ Rendimiento y memoria
- El libro de órdenes se mantiene al día por diferencias. Publicar, comprar o cancelar ya no reordena todas las órdenes. Un mercado con miles de entradas deja de costar tiempo de tick en cada transacción.
- Corregida una fuga de memoria en la cola de caducidad. Afectaba a todos los servidores con la config por defecto, donde la caducidad está apagada: las órdenes vendidas y canceladas se retenían hasta reiniciar.
- La búsqueda en la auditoría recorre el fichero en vez de cargarlo entero.
/market admin market auditya no puede tumbar por falta de memoria al servidor que estabas investigando. - Los aldeanos de tienda ya no cuelgan NBT vacío de cualquier mob, que engordaba el guardado del mundo sin que se notara.
🎨 Interfaz
- Orden y filtro en Explorar: barato, caro, lote mayor o más reciente, y ver solo ventas o solo compras.
- Primera, última e ir a la página. Llegar a la 40 es escribir un número, no cuarenta clics.
- Cada fila enseña el total de la orden junto al precio por unidad.
- El buzón agrupa stacks iguales (mismo item y mismo NBT). Comprar un diamante sesenta veces ocupa una ranura, no sesenta.
🛡️ Administración
- Los desconectados ya se alcanzan. Dinero, congelar, límite, ficha y buzón aceptan nombre o UUID. Los selectores siguen funcionando igual.
- Las copias de seguridad guardan el NBT completo y el contenido de los buzones, y llega
/market admin data restore <fichero>. La primera ejecución enseña qué contiene, la segunda lo aplica, y antes se guarda una copia del estado actual.
🛠️ Calidad
- Todos los mensajes de administración son traducibles. Se acabó la salida mitad en inglés y mitad en español.
- 51 pruebas automáticas sobre las reglas de dinero, precios y paginación.
- Diagnósticos nuevos:
stress-test,verify-integrity,clear-all,simulate-expire.
⚠️ Al actualizar: cambió el protocolo de red. Cliente y servidor tienen que ir los dos en 0.4.0.
This mod has no additional files

