Description
SimpleItemGenerator(SIG) is an open-source plugin with easy config, but powerful features.
Wiki
More information about the plugin you can find here.
Important
Simple item generator is still in its early stages, it means that any feedback would be appreciated.
Also if you are unsatisfied with the plugin. Please tell me what were you expecting from the plugin or how I could adjust it.
If you are encountering issues with the latest version, please let me know about it here, instead of downloading the older versions of the plugin!
Plugin overview
Commands and permissions
To be able to see /simpleitemgenerator command, you need to have the permission simpleitemgenerator.commands.general
/simpleitemgenerator reload - reloads the plugin. Requires simpleitemgenerator.commands.reload permission
/simpleitemgenerator give <item> [player] [amount] - item is your key of the item that you configured earlier, player and amount are optional. Requires simpleitemgenerator.commands.give permission
/simpleitemgenerator set_slot <item> <slot> [player] [amount] - sets the custom item to a specific slot. Player and amount are optional
Requires simpleitemgenerator.commands.set_slot permission
Features
DeluxeMenus support
Since DeluxeMenus 1.14.1 you can use SimpleItemGenerator in DM menu configurations. Check wiki. Example:
DeluxeMenus config
```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's config
```yaml
items:
item0:
item:
material: IRON_INGOT
name: 'I am a SIG item'
lore:
- 'Sig lore'
```
MiniMessage support

Configuration of the item
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 auto-update

Configuration of the item
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%"
```
Many interaction options and placeholders

Configuration of the item
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%%'
```
Can be used anywhere

Configuration of the items
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/)
Supports
- WorldGuard(7.x.x)
- Nexo
- Oraxen
- ItemsAdder
- HeadDatabase
- PlaceholderAPI
- Custom potions
- Leathers colors
- Custom NBT
- And more!
Feedback
If you have any issues with the plugin, feel free to open an issue on the plugin`s github. Also you can reach me out through other ways listed in github's readme.
暂无评论,抢个沙发吧~