Skip to content

ValeraShimchuck/SimpleItemGenerator

Repository files navigation

SimpleItemGenerator

Information

SimpleItemGenerator is a lightweight item generator with simple, but functional configurations. Those configurations support PlaceholderAPI, ItemsAdder and MiniMessage. Another feature of the plugin is a big variety of supported versions, starting from 1.16.5 and ending up to the latest version of the game.

Commands

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

Example

There are some examples of configuring the plugin An example of a simple item without any functionality. Every field except for material is optional.

items:
  item: # item key. Later will be used in commands
    item: # item section
      material: DIAMOND 
      name: <red><bold>Cool diamond # display name. Supports PlaceholderAPI and MiniMessage. Optional
      lore: # lore, same features as above
      - <green>Your name %player_name% # papi support
      - <red>Second lore
      cmd: 1 # custom model data For 1.14+, optional
      unbreakable: true # makes item unbreakable. Set to else by default.
      item-flags: # item flags. Optional
      - HIDE_ATTRIBUTES
      - HIDE_ENCHANTS
      enchantments: # enchantments, optional. For 1.12 and below can vary
        minecraft:luck_of_the_sea: 1
    is-ingredient: true # whether the item can be used in crafting or not. By default, it is false

Other examples and information can be found in wiki.

Contacts

If you have encountered a bug, or you have an idea of a feature, you can create an issue on GitHub.

If you need help or have any issues when dealing with the plugin, you can always reach out me on my Discord Server: https://discord.gg/ksXEuxCqdC.

About

Opensource item configurator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages