
VItemSign 配置
Vitemsign 是一种物品签名系统,允许你对物品进行签名并加以保护。
预览
命令

配置概览
自定义消息
使用 MiniMessage 格式自定义服务器启动、玩家加入/退出以及 Discord 聊天的消息。
目前支持:de(德语)和 en(英语)
命令
/itemsign <Message> - 用指定的文本对物品进行签名
/itemsign lock - 锁定已签名的物品,使其无法更改。
/itemsign unlock - 解锁已签名的物品,使其可以再次更改。
/itemsign delete - 移除物品上的签名。
4. 权限
vitemsign.use | 在 Config.yml 中完全可配置。
安装说明
- 下载并将插件安装到你的 Minecraft 服务器上。
- 根据你的偏好设置配置
config.yml 文件:
- 设置数据库类型和连接详情。
- 使用 MiniMessage 定义自定义消息。
- 重启服务器以应用更改。
示例配置
language: en
# 这些物品应保留在列表中以避免重复错误
BlockedItems:
- "SHULKER_BOX"
- "WHITE_SHULKER_BOX"
- "GRAY_SHULKER_BOX"
- "BLACK_SHULKER_BOX"
- "BROWN_SHULKER_BOX"
- "RED_SHULKER_BOX"
- "ORANGE_SHULKER_BOX"
- "YELLOW_SHULKER_BOX"
- "LIME_SHULKER_BOX"
- "GREEN_SHULKER_BOX"
- "CYAN_SHULKER_BOX"
- "LIGHT_BLUE_SHULKER_BOX"
- "BLUE_SHULKER_BOX"
- "PURPLE_SHULKER_BOX"
- "MAGENTA_SHULKER_BOX"
- "PINK_SHULKER_BOX"
- "CHEST"
- "TRAPPED_CHEST"
- "HOPPER"
- "ENDER_CHEST"
- "BARREL"
- "FURNANCE"
示例消息配置
# 通用消息
prefix: "<bold><dark_gray>[<gradient:#5FE2C5:#4498DB>VItem</gradient><gradient:#4498DB:#89B974>Si</gradient><gradient:#89B974:#89B974>gn</gradient><dark_gray>]<reset><gray> "
date_format: "MM/dd/yyyy - hh:mm a"
user_not_found: "<prefix><red>该用户不存在。"
no_permission: "<prefix><red>你没有权限执行此操作。"
cannot_sign_blocked_item: "<prefix><red>你不允许为该项目签名!"
cannot_lock_blocked_item: "<prefix><red>你不允许锁定该项目!"
item_not_signed: "<prefix><red>该项目尚未签名!"
not_your_item: "<prefix><red>你不是该项目的所有者!"
item_sign_deleted_successfully: "<prefix>签名已 <red>成功 <green>删除 <gray>!"
item_already_locked: "<prefix><red>该项目已被锁定!"
item_locked_successfully: "<prefix>该项目已 <green>成功 <gray>被 <red>锁定<dark_gray>!"
item_not_locked: "<prefix><red>该项目未被锁定!"
item_unlocked_successfully: "<prefix>该项目已 <green>成功 <gray>解锁<dark_gray>!"
item_already_signed: "<prefix><red>该项目已签名<dark_gray>!"
item_signed_successfully: "<prefix>该项目已 <green>成功 <gray>签名<dark_gray>。"
item_in_hand_is_air: "<prefix><red>你必须手持主手物品!"
item_sign_broken_successfully: "<prefix>你已成功破坏了一个已签名的物品块!"
lore_prefix_separator: " <dark_gray>| <gray>"
signed_lore: "<dark_gray>» <gray>由 <luckperms_prefix><reset><separator><username> <gray>于 <yellow><date> 签署"
命令:
名称:"itemsign"
权限:"vitemsign.use"
参数:
删除:"delete"
锁定:"lock"
解锁:"unlock"
用法:
- "<prefix>VItemSign 帮助<dark_gray>:"
- "<prefix><yellow>/itemsign <dark_gray><<green>文本<dark_gray>> - <gray>为 <yellow>物品<gray>制作告示牌。"
- "<prefix><yellow>/itemsign <red>delete <dark_gray>- <red>删除<gray>该物品告示牌。"
- "<prefix><yellow>/itemsign <red>lock <dark_gray>- <gray>告示牌将被<red>锁定。"
- "<prefix><yellow>/itemsign <green>unlock <dark_gray>- <gray>告示牌将被<yellow>解锁。"
---
## 示例数据库配置
```yaml
type: Sqlite # 可用类型:mongo, mysql, sqlite
# MONGO
Mongo:
connection-string: "mongodb://<username>:<password>@<host>:<port>/"
database: "db"
# SQL
SQL:
connection-string: "jdbc:sqlite:plugins/VItemSign/database.db"
username: "username" # SQLite 不需要此项
password: "password" # SQLite 不需要此项
软依赖
注意事项
- MiniMessage 格式在样式和消息格式化方面具有高度灵活性。更多详情请参阅 MiniMessage 文档。
- SQLite 是最简单的数据库选项,因为它无需额外配置。

VItemSign Configuration
Vitemsign is a signing system for items, allowing you to sign and protect them.
Preview
Commands

Configuration Overview
Custom Messages
Customize messages for server startup, player join/quit, and Discord chat using the MiniMessage format.
We currently support: de and en
Commands
/itemsign <Message> - Signs the item with the specified text
/itemsign lock - Locks the signed item so that it cannot be changed.
/itemsign unlock - Unlocks the signed item so that it can be changed again.
/itemsign delete - Removes the sign from the item.
4. Permissions
vitemsign.use | Fully configurable in the Config.yml.
- Permission to use the
/itemsign Command.
Setup Instructions
- Download and install the plugin on your Minecraft server.
- Configure the
config.yml file with your preferred settings:
- Set the database type and connection details.
- Define custom messages using MiniMessage.
- Restart the server to apply the changes.
Example config
language: en
# These items should remain in the list to avoid duplication bugs
BlockedItems:
- "SHULKER_BOX"
- "WHITE_SHULKER_BOX"
- "GRAY_SHULKER_BOX"
- "BLACK_SHULKER_BOX"
- "BROWN_SHULKER_BOX"
- "RED_SHULKER_BOX"
- "ORANGE_SHULKER_BOX"
- "YELLOW_SHULKER_BOX"
- "LIME_SHULKER_BOX"
- "GREEN_SHULKER_BOX"
- "CYAN_SHULKER_BOX"
- "LIGHT_BLUE_SHULKER_BOX"
- "BLUE_SHULKER_BOX"
- "PURPLE_SHULKER_BOX"
- "MAGENTA_SHULKER_BOX"
- "PINK_SHULKER_BOX"
- "CHEST"
- "TRAPPED_CHEST"
- "HOPPER"
- "ENDER_CHEST"
- "BARREL"
- "FURNANCE"
Example Message Configuration
# General Messages
prefix: "<bold><dark_gray>[<gradient:#5FE2C5:#4498DB>VItem</gradient><gradient:#4498DB:#89B974>Si</gradient><gradient:#89B974:#89B974>gn</gradient><dark_gray>]<reset><gray> "
date_format: "MM/dd/yyyy - hh:mm a"
user_not_found: "<prefix><red>That user does not exist."
no_permission: "<prefix><red>You don't have permission to do that."
cannot_sign_blocked_item: "<prefix><red>You are not allowed to sign that!"
cannot_lock_blocked_item: "<prefix><red>You are not allowed to lock this item!"
item_not_signed: "<prefix><red>This item is not signed yet!"
not_your_item: "<prefix><red>You are not the owner of that item!"
item_sign_deleted_successfully: "<prefix>The sign has been <red>deleted <green>succesfully <gray>!"
item_already_locked: "<prefix><red>This item has already been locked!"
item_locked_successfully: "<prefix>This item has <green>succesfully <gray>been <red>locked<dark_gray>!"
item_not_locked: "<prefix><red>This item is not locked!"
item_unlocked_successfully: "<prefix>This item has <green>succesfully <gray>been unlocked<dark_gray>!"
item_already_signed: "<prefix><red>This item has already been signed<dark_gray>!"
item_signed_successfully: "<prefix>This item has <green>succesfully <gray>been signed<dark_gray>."
item_in_hand_is_air: "<prefix><red>You have to hold the item in you main hand!"
item_sign_broken_successfully: "<prefix>You have broken a signed item block!"
lore_prefix_separator: " <dark_gray>| <gray>"
signed_lore: "<!i><dark_gray>» <gray>Signed by <luckperms_prefix><reset><separator><username> <gray>am <yellow><date>"
Command:
Name: "itemsign"
Permission: "vitemsign.use"
Arguments:
Delete: "delete"
Lock: "lock"
Unlock: "unlock"
Usage:
- "<prefix>VItemSign Help<dark_gray>:"
- "<prefix><yellow>/itemsign <dark_gray><<green>Text<dark_gray>> - <gray>Signs an <yellow>Item<gray>."
- "<prefix><yellow>/itemsign <red>delete <dark_gray>- <red>Delete <gray>the item sign."
- "<prefix><yellow>/itemsign <red>lock <dark_gray>- <gray>The sign will get <red>locked."
- "<prefix><yellow>/itemsign <green>unlock <dark_gray>- <gray>The sign will get <yellow>unlocked."
Example Database Configuration
type: Sqlite # Avaiable types: mongo, mysql, sqlite
# MONGO
Mongo:
connection-string: "mongodb://<username>:<password>@<host>:<port>/"
database: "db"
# SQL
SQL:
connection-string: "jdbc:sqlite:plugins/VItemSign/database.db"
username: "username" # Not required for sqlite
password: "password" # Not required for sqlite
Soft Requirements
Notes
- The MiniMessage format is highly flexible for styling and formatting messages. Refer to the MiniMessage documentation for more details.
- SQLite is the simplest database option as it doesn’t require additional setup.
评论 0
登录后参与评分
还没有评论,来抢沙发吧