跳到正文

CobbleDollars PlayerShops

A complete player shop system with persistent stock, custom listings, NPC shops, and CobbleDollars support.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

CobbleDollars PlayerShops

Server-side Fabric mod for Minecraft 1.21.1 that adds persistent player-owned NPC shops powered by CobbleDollars.

Players can create a shop NPC, stock it with real items, publish listings with custom prices, choose an NPC skin, and let other players purchase through CobbleDollars’ native shop interface.

Features

  • Persistent player-owned NPC shops
  • CobbleDollars native merchant UI
  • 108-slot physical stock for normal shops
  • Infinite-stock admin shops
  • Custom listing prices
  • Persistent earnings, order history and analytics
  • Purchase amount automatically limited by inventory capacity and available stock (no artificial x64 cap)
  • Custom NPC skins resolved from valid Minecraft usernames, including offline players
  • Signed Mojang texture caching for reconnect/restart persistence
  • NPC projection repair across chunk unload/reload and reconnects
  • Transaction rollback and stock-edit recovery protections
  • Optional LuckPerms support
  • Optional Flan claim permission support

Requirements

  • Minecraft 1.21.1
  • Fabric Loader 0.16.5+
  • Fabric API
  • CobbleDollars 2.0.0+

Optional: Flan, LuckPerms.

Commands

/shopnpc add
/shopnpc config
/shopnpc remove
/shopnpc move
/shopnpc list
/shopnpc reloadconfig

/shopnpcadmin create
/shopnpcadmin remove

/shopnpcadmin and admin management require operator level 2 or the LuckPerms node:

playershopadmin

Flan

When Flan is installed, normal shop creation/movement checks:

cobbledollars_playershops:spawn_player_shop_npc

The permission appears in Flan as Allow Spawning Player Shops NPC.

Skins

Open a shop’s Settings menu, choose the NPC Skin option, and type a valid Minecraft username in chat.

PlayerShops resolves the username using Mojang’s Minecraft profile service, obtains the signed textures property from the Mojang session server (unsigned=false), and stores the signed texture in the shop data. The selected player does not have to be online or have joined the server before.

Configuration

Generated at:

config/cobbledollars-playershops.json

Default:

{
  "Limitnpc": 6,
  "MinPrice": 500,
  "MaxPrice": 100000000
}

Building

Java 21 is required.

gradle build

License

MIT

Maintained by Silver / SilverWallDiscs.

常见问题

CobbleDollars PlayerShops 支持哪些 Minecraft 版本?

CobbleDollars PlayerShops 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

CobbleDollars PlayerShops 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

SilverWallDiscs 的其他作品

查看全部 →