DGtalismans
通过内置图形用户界面(GUI)创建自定义的 Talismans、Armor、Weapons 和 Tools,支持 40 多种可配置效果——无需编辑配置文件。
工作原理
创建物品,通过 GUI 分配效果,然后交给玩家。效果根据物品类型激活:
| 类型 |
激活条件 |
材料 |
| Talisman |
背包中任意位置 |
50+ 种宝石与神秘物品 |
| Armor |
装备在盔甲栏位 |
全部 27 种盔甲部件 |
| Weapon |
手持于主手 |
所有剑、弓、弩、三叉戟 |
| Tool |
主手或副手 |
所有镐、斧、锹、锄 + 更多工具 |
效果在装备时立即生效,并在物品离开对应栏位的瞬间移除。
效果(40+ 种)
属性 - 额外生命值、攻击伤害、速度、护甲、护甲韧性、幸运、击退抗性、攻击速度、挖掘范围
药水效果 - 27 种效果(速度、急迫、力量、再生、夜视等),等级 I–X
战斗 - 伤害减免 %、暴击概率 %、暴击倍率、生命偷取 %、荆棘 % + 7 种免疫(火焰、爆炸、坠落、溺水、投射物、中毒/枯萎、虚空)
被动 - 自动熔炼、自动拾取、夜视、水下呼吸、无饥饿感、保留经验/物品、双倍经验、双倍掉落、磁性拾取(8 格范围内)、作物即时生长
移动 - 二段跳、无坠落伤害、潜行冲刺、跳跃高度提升(+500%)
粒子 - 14 种轨迹特效(火焰、爱心、传送门、附魔、末影棒、灵魂、樱花等)
其他 - 经验倍数(1–10x)、食物补充
稀有度系统
6 个层级,带有彩色物品名称标签:普通 · 非寻常 · 稀有 · 史诗 · 传说 · 神话
GUI 系统
所有内容均通过游戏内菜单进行配置。输入 /talismans 即可访问分类选择器,创建物品并使用点击控件配置所有效果。无需编辑 YAML 文件。
/talismans → 分类选择器(Talismans / Armor / Weapons / Tools)
└─ 编辑物品 → 属性、药水、战斗、被动、
移动、粒子、其他、材质、稀有度
命令
| 命令 |
描述 |
/talismans |
打开管理员 GUI |
/talismans give <id> [player] [amount] |
发放物品(1–64 个) |
/talismans list |
列出所有物品 |
/talismans reload |
重载配置与数据 |
别名: /talisman, /dgt
权限
| 权限 |
默认设置 |
描述 |
dgtalismans.admin |
OP |
管理员 GUI 与命令 |
dgtalismans.use |
所有人 |
允许玩家使用效果 |
配置
prefix: "&8[&6DGtalismans&8] "
max-talismans-per-player: -1
blacklisted-worlds: []
protection:
prevent-craft: true
prevent-anvil-rename: true
prevent-drop: false
prevent-container-move: false
particles:
enabled: true
interval: 5
技术细节
- 物品通过 PersistentDataContainer(NBT)标识,而非物品描述(lore)
- 效果使用原生的 AttributeModifier 系统
- 装备变化检测为即时(手持切换、交换手、点击盔甲栏)
- 退出服务器、切换世界及插件禁用时,所有效果都会清理
- 物品不可堆叠(最大堆叠数量为 1)
- 防作弊:阻止合成、铁砧重命名、GUI 拖拽
- 黑名单世界在每一个效果处理器中强制执行
- 零 TPS 影响
兼容性
- Minecraft: 1.21.x — 26.1
- 服务端: Spigot & Paper
- Java: 21+
DGtalismans
Create custom Talismans, Armor, Weapons, and Tools with 40+ configurable effects — all managed through in-game GUIs. No config files to edit.
How It Works
Create an item, assign effects through the GUI, give it to players. Effects activate based on item type:
| Type |
Activation |
Materials |
| Talisman |
Anywhere in inventory |
50+ gems & mystical items |
| Armor |
Equipped in armor slot |
All 27 armor pieces |
| Weapon |
Held in main hand |
All swords, bow, crossbow, trident |
| Tool |
Main hand or offhand |
All pickaxes, axes, shovels, hoes + more |
Effects apply instantly when equipped and are removed the moment the item leaves its slot.
Effects (40+)
Attributes - Extra Hearts, Attack Damage, Speed, Armor, Armor Toughness, Luck, KB Resistance, Attack Speed, Block Reach
Potion Effects - 27 effects (Speed, Haste, Strength, Regeneration, Night Vision, etc.) with levels I–X
Combat - Damage Reduction %, Crit Chance %, Crit Multiplier, Life Steal %, Thorns % + 7 immunities (Fire, Explosion, Fall, Drowning, Projectile, Poison/Wither, Void)
Passive - Auto Smelt, Auto Pickup, Night Vision, Water Breathing, No Hunger, Keep Inventory, Double XP, Double Drops, Magnetic Pickup (8 blocks), Instant Crop Growth
Movement - Double Jump, No Fall Damage, Sneak Launch, Jump Height Boost (+500%)
Particles - 14 trails (Flame, Heart, Portal, Enchant, End Rod, Soul, Cherry, and more)
Misc - XP Multiplier (1–10x), Food Replenish
Rarity System
6 tiers with colored item labels: Common · Uncommon · Rare · Epic · Legendary · Mythic
GUI System
Everything is configured through in-game menus. Open /talismans to access the category selector, create items, and configure all effects with click controls. No YAML editing needed.
/talismans → Category Selector (Talismans / Armor / Weapons / Tools)
└─ Edit Item → Attributes, Potions, Combat, Passive,
Movement, Particles, Misc, Material, Rarity
Commands
| Command |
Description |
/talismans |
Open admin GUI |
/talismans give <id> [player] [amount] |
Give items (1–64) |
/talismans list |
List all items |
/talismans reload |
Reload config & data |
Aliases: /talisman, /dgt
Permissions
| Permission |
Default |
Description |
dgtalismans.admin |
OP |
Admin GUI & commands |
dgtalismans.use |
Everyone |
Enables effects for player |
Configuration
prefix: "&8[&6DGtalismans&8] "
max-talismans-per-player: -1
blacklisted-worlds: []
protection:
prevent-craft: true
prevent-anvil-rename: true
prevent-drop: false
prevent-container-move: false
particles:
enabled: true
interval: 5
Technical Details
- Items identified by PersistentDataContainer (NBT), not lore
- Effects use native AttributeModifier system
- Equipment changes detected instantly (held item, swap hand, armor click)
- All effects clean up on quit, world change, and plugin disable
- Items are unstackable (max stack size 1)
- Anti-exploit: blocked crafting, anvil rename, GUI drag
- Blacklisted worlds enforced on every effect handler
- Zero TPS impact
Compatibility
- Minecraft: 1.21.x — 26.1
- Server: Spigot & Paper
- Java: 21+
评论 0
登录后参与评分
还没有评论,来抢沙发吧