SimpleItemGenerator

一个功能丰富的自定义物品插件,适用于任何版本。支持自定义NBT、ItemsAdder、HeadDatabase、PlaceholderAPI等!

资源图片
# 说明 SimpleItemGenerator(SIG) 是一个开源插件,配置简单,但功能强大。 # Wiki 关于插件的更多信息,您可以在[这里](https://github.com/ValeraShimchuck/SimpleItemGenerator/wiki/Configuration)找到。 # 重要 Simple item generator 仍处于早期阶段,因此任何反馈都会受到欢迎。 如果您对插件不满意,请告诉我您期望从该插件获得什么,或者我如何调整它。 ## 如果您在使用最新版本时遇到问题,请[在此](https://discord.gg/ksXEuxCqdC)告知我,不要下载插件的旧版本! # 插件概览 # 命令和权限 要能够看到 `/simpleitemgenerator` 命令,您需要具有 `simpleitemgenerator.commands.general` 权限 `/simpleitemgenerator reload` - 重新加载插件。 需要 `simpleitemgenerator.commands.reload` 权限 `/simpleitemgenerator give [player] [amount]` - item 是您之前配置的项目的键,player 和 amount 是可选的。 需要 `simpleitemgenerator.commands.give` 权限 `/simpleitemgenerator set_slot [player] [amount]` - 将自定义项目设置为特定插槽。 Player 和 amount 是可选的 需要 `simpleitemgenerator.commands.set_slot` 权限 # 功能 ## DeluxeMenus 支持 自 DeluxeMenus 1.14.1 起,您可以在 DM 菜单配置中使用 SimpleItemGenerator。 查看 [wiki](https://github.com/ValeraShimchuck/SimpleItemGenerator/wiki/DeluxeMenus-support)。 例子:
DeluxeMenus 配置 ```yaml open_command: basicsmenu size: 9 menu_title: 'Basics Menu' items: 'teststone': material: STONE slot: 0 display_name: "&aThis is a special stone" lore: - "&aTest1" - "&cTest2" - "&eTest3" 'sig-item': material: simpleitemgenerator-item0 slot: 1 lore_append_mode: BOTTOM # Appends lore to the end of original item's lore. Optional lore: - "&aTest4" ```
SimpleItemGenerator 的配置 ```yaml items: item0: item: material: IRON_INGOT name: 'I am a SIG item' lore: - 'Sig lore' ```
## MiniMessage 支持 ![1.20.1 项目文本](https://cdn.modrinth.com/data/cached_images/c22473f07c5cb803bdd2de6b09ed74b39c0949bc.png)
项目配置 MC: 1.20.1 ```yaml items: loreitem0: item: material: BLAZE_ROD name: Your custom item lore: - Your imagination is your limitation - 'when you are using minimessage' ```
## PlaceholderAPI 自动更新 ![PAPI 自动更新](https://cdn.modrinth.com/data/cached_images/940817673ca23b556b8e3dbcd1e060276aaf7a70.gif)
项目配置 MC: 1.20.1 ```yaml items: loreitem2: item: material: BLAZE_ROD name: 'SIG has PAPI auto-update' lore: - 'For instance:' - "Played time:%player_seconds_lived% seconds" - "Player`s name: %player_name%" - "Server time: %server_time_HH:mm:ss%" ```
## 许多交互选项和占位符 ![交互展示](https://cdn.modrinth.com/data/cached_images/9f5dc5edb89cc624684629c7285c0632feead385.gif)
项目配置 MC: 1.20.1 ```yaml items: interactable-item: item: material: BLAZE_ROD name: Custom item usage: - predicate: at: air button: left commands: '[console] tellraw %player% %minimessage_You clicked at AIR with LEFT button%' - predicate: at: air button: right commands: '[console] tellraw %player% %minimessage_You clicked at AIR with RIGHT button%' - predicate: at: air button: drop commands: '[console] tellraw %player% %minimessage_You clicked at AIR with DROP button%' - predicate: at: block button: left commands: - '[console] tellraw %player% %minimessage_You clicked at BLOCK with LEFT button%' - '[console] tellraw %player% %minimessage_The target`s position is %target_x% %target_y% %target_z%%' - predicate: at: block button: right commands: - '[console] tellraw %player% %minimessage_You clicked at BLOCK with RIGHT button%' - '[console] tellraw %player% %minimessage_The target`s position is %target_x% %target_y% %target_z%%' - predicate: at: block button: drop commands: - '[console] tellraw %player% %minimessage_You clicked at BLOCK with DROP button%' - '[console] tellraw %player% %minimessage_The target`s position is %target_x% %target_y% %target_z%%' - predicate: at: entity button: left commands: - '[console] tellraw %player% %minimessage_You clicked at ENTITY with LEFT button%' - '[console] tellraw %player% %minimessage_The target`s position is %target_x% %target_y% %target_z%%' - predicate: at: entity button: right commands: - '[console] tellraw %player% %minimessage_You clicked at ENTITY with RIGHT button%' - '[console] tellraw %player% %minimessage_The target`s position is %target_x% %target_y% %target_z%%' - predicate: at: entity button: drop commands: - '[console] tellraw %player% %minimessage_You clicked at ENTITY with DROP button%' - '[console] tellraw %player% %minimessage_The target`s position is %target_x% %target_y% %target_z%%' - predicate: at: player button: left commands: - '[console] tellraw %player% %minimessage_You clicked at PLAYER with LEFT button%' - '[console] tellraw %player% %minimessage_The target`s position is %target_x% %target_y% %target_z%%' - predicate: at: player button: right commands: - '[console] tellraw %player% %minimessage_You clicked at PLAYER with RIGHT button%' - '[console] tellraw %player% %minimessage_The target`s position is %target_x% %target_y% %target_z%%' - predicate: at: player button: drop commands: - '[console] tellraw %player% %minimessage_You clicked at PLAYER with DROP button%' - '[console] tellraw %player% %minimessage_The target`s position is %target_x% %target_y% %target_z%%' - predicate: at: player commands: - '[console] tellraw %player% %minimessage_The player`s name is %player_target%%' ``` Textures can be found [here](https://www.planetminecraft.com/texture-pack/super-items-resource-pack/)
## 可在任何地方使用 ![用法展示](https://cdn.modrinth.com/data/cached_images/89c9e8cc4689076dd72a63b13f6bba4b0767f0c6.gif)
项目配置 MC: 1.20.1 ```yaml items: helmet: item: material: GOLDEN_HELMET name: 'SIG is general purpose' lore: - 'It means that you can use it' - 'not only for hub items,' - 'but also for minigames, survival' - 'or even MCMMORPG!' enchantments: minecraft:protection: 2 unbreakable: true attributes: - operation: ADD_VALUE name: health attribute: MAX_HEALTH amount: 5 slot: HEAD - operation: ADD_VALUE name: armor attribute: ARMOR amount: 2 slot: HEAD usage: cancel: false chestplate: item: material: DIAMOND_CHESTPLATE name: 'Set up your items' lore: - 'You can make items unbreakable,' - 'with enchantments or attributes.' enchantments: minecraft:protection: 10 minecraft:fire_protection: 5 unbreakable: true attributes: - operation: ADD_VALUE name: toughness attribute: ARMOR_TOUGHNESS amount: 40 slot: CHEST - operation: ADD_VALUE name: armor attribute: ARMOR amount: 70 slot: CHEST usage: cancel: false leggings: item: material: IRON_LEGGINGS name: 'Hide unwanted lore components' lore: - "Usually, you don't want players to see" - "enchantments, attributes or unbreakability." - "For that purpose you can use item flags!" - "" - "By the way, this item is glowing." unbreakable: true enchantments: minecraft:fortune: 1 item-flags: - HIDE_UNBREAKABLE - HIDE_ENCHANTS - HIDE_ATTRIBUTES usage: cancel: false sword: item: material: NETHERITE_SWORD cmd: 1 name: 'Use textures' lore: - 'Apply custom model data' - 'to your custom items.' - 'So you would be able' - 'to use texture packs.' - '' - 'Disclaimer! Texture pack' - 'auto-generation is not' - 'yet supported.' unbreakable: true item-flags: - HIDE_UNBREAKABLE - HIDE_ENCHANTS - HIDE_ATTRIBUTES usage: cancel: false ``` Textures can be found [here](https://www.planetminecraft.com/texture-pack/super-items-resource-pack/)
# 支持 - WorldGuard (7.x.x) - Nexo - Oraxen - ItemsAdder - HeadDatabase - PlaceholderAPI - 自定义药水 - 皮革颜色 - [自定义NBT](https://github.com/ValeraShimchuck/SimpleItemGenerator/wiki/Configuration#custom-nbt) - 更多! # 反馈 如果您在使用插件时遇到任何问题,请在插件的GitHub上提交问题。 您也可以通过GitHub readme中列出的其他方式与我联系。