该插件确实需要以下依赖项:
Vault
挂钩 Vault 的经济类插件:EssentialsX(推荐)
WorldGuard
TinyPlots 允许你放置小型、整洁的地块(9×9 或 13×13),用于城镇和市场街区,并提供自动每日计费功能以出租这些地块。
每个地块都会成为一个真实的 WorldGuard 区域(无重叠,遵循你的 WG 标志设置),显示一个包含价格/租客/下次扣费时间的简单全息图,并可以显示粒子边框,以便玩家看到地块范围。
玩家可以在自己的地块内创建箱子商店——通过手持物品进行购买或出售;房主则可以通过蹲下 + 右键点击箱子来补货;配置文件中的选项允许你开启或禁止房主在自己商店交易。
租金通过 Vault(例如 EssentialsX)收取,支持可配置的宽限期和可选的房东收益分配;如果宽限期内仍未支付,地块将自动过期。
本插件轻量级(使用 YAML 存储),提供简单的命令用于创建地块、设定与支付租金、切换边框以及管理商店,专为 Paper 1.21.8 构建。所需依赖:Vault 搭配经济类插件及 WorldGuard(推荐安装 WorldEdit)。
命令及其用法:
claimlets
-
/claimlet create <9|13> [pricePerDay] — 在你当前位置创建一个地块。选择大小 9 或 13;pricePerDay 为可选参数。
-
/claimlet rent — 租用你当前所在的地块并支付第一天的租金。
-
/claimlet setrent <pricePerDay> — 房东或管理员为该地块设置每日租金价格。
-
/claimlet info — 显示地块大小、价格、租客信息及下次扣费时间。
-
/claimlet border — 切换粒子轮廓显示,让你可以看到地块边缘。
-
/claimlet abandon — 立即停止租用此地块。
-
/claimlet remove — 管理员删除该地块。
shops:
/shop create <price> [buy|sell] — 看向一个箱子(约 6 格范围内)并在手中持有物品;该物品将成为商品,其堆叠数量为每次交易的数量。默认类型为 buy。
/shop info — 显示商店类型、物品、数量和价格。
/shop setprice <price> — 房主或管理员更改商店的价格。
/shop remove — 房主或管理员移除商店。
使用商店:
右键点击商店箱子以进行一次交易的购买或出售。
如果你是商店所有者或管理员,蹲下 + 右键点击即可正常打开箱子进行补货。
示例工作流程:
创建市场街区 -
站在第一个摊位的位置并运行:/claimlet create 9 15
向前移动 9 格并重复操作以创建下一个摊位(如果你更喜欢更大的地块,可以使用 13)
(WorldGuard 防止重叠,因此街区保持整齐)
租用一个摊位 -
走进一个地块并运行:/claimlet info 查看价格
运行:/claimlet rent 支付第一天租金并成为租客
通过以下方式切换边框显示:/claimlet border
随时放弃使用权:/claimlet abandon(自动计费停止)
调整价格 -
房东设置地块价格:/claimlet setrent 20(需站在地块内)
商店所有者更新商店价格:看向商店箱子,然后运行 /shop setprice 30
补货与资金流向 -
购买型商店使用箱子内的物品作为库存;出售型商店向玩家付款并将物品放入箱子中
房主必须拥有足够的余额以支付出售型商店的费用
默认情况下,房主无法在自己的商店进行交易;如需更改,请在配置文件中修改
This plugin DOES require these dependencies:
Vault
Economy plugin that hooks Vault: EssentialsX (recommended)
WorldGuard
TinyPlots lets you drop small, tidy plots (9×9 or 13×13) for towns and market rows, then rent them out with automatic daily billing.
Each plot becomes a real WorldGuard region (no overlap, follows your WG flags), shows a simple hologram with price/renter/next charge, and can display a particle border so players see the limits.
Players can create chest shops inside their plot—BUY or SELL using the item in hand—while owners crouch + right-click the chest to restock; a config toggle lets you allow or block owners trading at their own shops.
Rent is charged through Vault (for example EssentialsX) with a configurable grace period and optional landlord payouts; if payment fails after grace, the plot auto-expires.
It’s lightweight (YAML storage), comes with simple commands to make plots, set and pay rent, toggle borders, and manage shops, and is built for Paper 1.21.8. Requires: Vault with an economy plugin and WorldGuard (WorldEdit recommended).
Commands + how they work:
claimlets
-
/claimlet create <9|13> [pricePerDay] — makes a plot centered on you. choose size 9 or 13; pricePerDay is optional.
-
/claimlet rent — rents the plot you are standing in and pays the first day.
-
/claimlet setrent <pricePerDay> — landlord or admin sets the daily price for this plot.
-
/claimlet info — shows plot size, price, renter, and next charge time.
-
/claimlet border — toggles a particle outline so you can see the plot edges.
-
/claimlet abandon — stops renting this plot right away.
-
/claimlet remove — admin deletes the plot.
shops:
/shop create <price> [buy|sell] — look at a chest (within about 6 blocks) and hold the item in your hand; that item becomes the product and its stack size is the per-trade amount. default type is buy.
/shop info — shows the shop’s type, item, amount, and price.
/shop setprice <price> — owner or admin changes the shop’s price.
/shop remove — owner or admin removes the shop.
using shops:
right-click a shop chest to buy or sell one trade’s worth.
if you are the shop owner or an admin, crouch + right-click to open the chest normally for restocking.
Example workflows:
make a market row -
stand where the first stall should be and run: /claimlet create 9 15
move 9 blocks over and repeat for the next stall (use 13 if you prefer bigger plots)
(worldguard prevents overlaps, so the row stays neat)
rent a stall -
walk into a plot and run: /claimlet info to check the price
run: /claimlet rent to pay the first day and become the renter
toggle borders with: /claimlet border
give it up any time with: /claimlet abandon (auto-billing stops)
tune prices -
landlord sets plot price: /claimlet setrent 20 (stand in the plot)
shop owner updates shop price: look at the shop chest, then /shop setprice 30
restocking and money flow -
buy shops use the chest’s contents as stock; sell shops pay the player and put items into the chest
owners must have enough balance for sell shops to pay sellers
by default owners cannot trade at their own shops; change this in the config if you want
评论 0
登录后参与评分
还没有评论,来抢沙发吧