Skip to content

Releases: yangzijian52/DailySellShop

DailySellShop V2.0.0

Choose a tag to compare

@yangzijian52 yangzijian52 released this 11 Jul 09:19
936d7fc

DailySellShop 2.0.0

Paper 26.2 / Java 25 dual sell-and-buy shop for Java and Bedrock players.

What changed

  • Added the MIT License.
  • Added English SpigotMC resource-page BBCode, full documentation BBCode and a manual publishing checklist.
  • Added README links to all SpigotMC publishing materials.
  • Updated the release bundle to include the license and publishing documents.
  • Runtime code, pom.xml, plugin.yml and the JAR are unchanged; the version remains 2.0.0.
  • Documentation update commit on main: d5d0a71.

Runtime notes

  • Server: Paper 26.2 only.
  • Java: 25 or newer.
  • Transactions require Vault and a Vault-compatible economy plugin.
  • Geyser and Floodgate are optional and required only for Bedrock forms.
  • Existing SellShopconfig.yml and shopconfig.yml files are not overwritten during upgrades.
  • Default configuration comments and most administrator-facing messages are Chinese.

Validation

  • mvn clean package completed successfully.
  • No automated test suite is present (0 test files); Maven test phases completed without failures.
  • Plugin loading, Java GUIs, selling and purchasing were previously tested successfully on a live Paper 26.2 server.
  • The rebuilt JAR and published JAR contain identical class/resource data after text line-ending normalization.
  • plugin.yml reports version 2.0.0.
  • Paper, Vault and Floodgate classes are not bundled because all three dependencies use Maven provided scope.
  • YAML, UTF-8, README links and git diff --check validation passed.

Artifact

  • DailySellShop-2.0.0.jar - 122,307 bytes
    • SHA-256: 715f6fbc42ee4dbee4825444449a10dce39b14a717c6b7dc0aa3e36e796b1286
  • DailySellShop-2.0.0-Paper26.2.zip - 167,976 bytes
    • SHA-256: bfef2acd8eaf996dc5471d1fb9058b438c3888209a7c6e3395eaa4b26891ff3e

Documentation files

  • docs/SPIGOTMC-RESOURCE.md - SpigotMC resource description BBCode
  • docs/SPIGOTMC-RESOURCE-BBCODE.txt - full SpigotMC documentation BBCode
  • docs/SPIGOTMC_MANUAL_PUBLISHING.md - manual publishing checklist and suggested fields
  • CHANGELOG.md
  • LICENSE

SpigotMC distribution

Resource type: Free
Price: $0.00 USD
License: MIT

The SpigotMC resource page, documentation and support channel are English-only. Chinese-language support is not provided on SpigotMC.

DailySellShop V1.1.1

Choose a tag to compare

@yangzijian52 yangzijian52 released this 25 Jan 10:40
901fee3

1.菜单插件兼容性修复 (关键)

修复了通过 QuickMenu / DeluxeMenus / TrMenu 等插件调用 /ds 指令时,商店界面无法打开或闪退的问题。

DailySellShop V1.1

Choose a tag to compare

@yangzijian52 yangzijian52 released this 24 Jan 12:48
1a7cb5e

🏗️ 更新信息

V1.1

1.新增“每小时刷新”模式、配置结构优化、UI 体验改进

2.对版本1.21.11支持

本次更新修改了 config.yml 的结构,直接覆盖 Jar 文件可能会导致报错或功能缺失。

请按照以下步骤升级:

备份: 备份你原本的 plugins/DailySellShop/config.yml 文件(如果你改过价格)。

删除: 删除 plugins/DailySellShop/ 文件夹(或者只删除里面的 config.yml)。

安装: 放入新的 DailySellShop.jar 并重启服务器。

迁移: 插件会自动生成包含新功能的默认配置,你可以将之前备份的价格数据手动复制回去。

###其余去看README.md

DailySellShop V1.0

Choose a tag to compare

@yangzijian52 yangzijian52 released this 24 Jan 09:37
bbc02a7

✨ 核心特性

  • 📅 每日刷新机制:严格按照 北京时间 (Asia/Shanghai) 00:00 重置收购列表和玩家限额。
  • 🎲 两种商店模式
    • 随机模式:每天从配置池中随机抽取 N 个物品进行收购,每天都不一样!
    • 固定模式:关闭随机功能,常驻显示所有配置的物品。
  • 📱 双端完美适配
    • Java版:自动打开箱子 GUI 界面。
    • 基岩版:自动识别 Floodgate 玩家,弹出原生的表单 (Form) 界面,操作更流畅。
  • 🔒 严格的安全校验:采用原子操作检查物品数量和扣除逻辑,防止刷钱或物品丢失。
  • 📊 每日限额:每个物品都可以单独设置每人每日的可出售上限,控制服务器经济平衡。

🛠️ 前置要求

在安装此插件之前,请确保你的服务器已安装以下插件:

  1. Vault (必需)
  2. 经济插件 (必需,如 EssentialsX, CMI, Economy 等)
  3. Floodgate (可选,如果需要基岩版表单支持则必须安装)

📥 安装步骤

  1. 下载 DailySellShop-1.0-SNAPSHOT.jar
  2. 将文件放入服务器的 plugins 文件夹。
  3. 重启服务器。
  4. plugins/DailySellShop/config.yml 中配置你的物品价格。

🎮 命令与权限

命令 别名 描述 权限
/ds 打开今日收购菜单 无 (默认玩家可用)
/ds reload 重载配置文件并刷新物品池 dailysell.admin (默认 OP)

⚙️ 配置文件说明 (config.yml)

插件支持两种模式,通过 daily-rotation.enabled 切换。
悄悄告诉你,我写了好多物品在配置文件里,嘿嘿

# 每日重置时区
timezone: "Asia/Shanghai"

# 随机轮换设置
daily-rotation:
  enabled: true     # [true]=开启每日随机抽取; [false]=显示下方 static-items 固定列表
  amount: 18        # 仅在随机模式下生效:每天抽取多少个物品

# [模式 A] 固定列表配置 (当 enabled: false 时读取这里)
static-items:
  COBBLESTONE:
    price: 0.5
    daily-limit: 1000
    name: "&7圆石"


# [模式 B] 随机池配置 (当 enabled: true 时读取这里)
items:
  DIAMOND:
    price: 100.0
    daily-limit: 64
    name: "&b钻石"