SkItemCreator  - ✅ Create custom items ✅ MythicsMobs, ItemsAdder & More!

Script SkItemCreator - ✅ Create custom items ✅ MythicsMobs, ItemsAdder & More! 1.9.1

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Supported Skript Version
  1. 2.8
Supported Minecraft Versions
  1. 1.20
ITEM-CREATOR-07-04-2024 (1).png

Create custom items, armor-sets, with a lot of parameters!

Addons required: SkBee, Skript-reflect, Skript-yaml
Optional plugins: MythicMobs, ItemsAdder, AdvancedEnchantments
Optional skripts: SkRPG


Wiki
here
API Docs here


PLEASE READ:
A lot of changes are coming in 1.21 with NBT tags. When the final version will be released, I will update it. For now, it works in 1.20.5+ thanks to SkBee but I haven't done a lot of testing. Be cautious!


FEATURES-07-04-2024.png



✎ Create items with lore and name

✎ Custom NBT tags support
✎ Custom crafts
✎ Attributes, armor trims & more
SkRPG compatibility (For stats and mana)
Create items with random stats
MythicMobs compatibility (cast skills with items)
ItemsAdder compatibility
AdvancedEnchantments compatibility (THIS is required)
✎ Create custom armor sets
✎ Parse skript code with items
✎ Create custom rarities
✎ Cooldown options
✎ Item quality in lore (Needs SkRPG)
✎ Custom damage
✎ Custom durability
✎ Item conditions

✎ Universal item layout
SCREENSHOTS-07-04-2024.png


Sans titre.png

EXAMPLES-07-04-2024.png

You can find some examples in the config files of SkItemCreator. Here's some examples here:

Code:
#
#Note that when the item is generated, a "SKIC-INTERNAL-NAME" tag is added
#to the item's NBT data,  which corresponds to the file name.
#

#Minecraft type of item
type: DIAMOND_SWORD

#Display name
name: "&cDemon sword"

#Custom model. (Optional)
custom-model: 23

#Lore. (Optional)
lore:
  - "&7&oAn overpowering sword that"
  - "&7&oonly demons can wield"

#Attributes. (Optional)
#Define your attributes as follows: <attribute>:<value>
attributes:
  - generic.attack_damage:10

#Custom NBT Tags. (Optional)
#Can be string or integer.
#Define your tags as follows: <tag>:<value>
custom-tags:
  - mytag:10
  - myanothertag:YAY

#Stats of item
#Requires SkRPG and SkRPGItemsAddon installed.
#Define your stats as follows: <stat>:<value>
#You can define a range for the stat value as followes: <stat>:<min>~<max>
#
#The item will be registered with the highest value, but if you generate the item with the script's API or command,
#its value will be random between the minimum and maximum.
stats:
  - strength:10~20
  - speed:8
  - wisdom:-10

#Set item flags of your item
#List: https://skripthub.net/docs/?id=10829
item-flags:
  - hide enchants

#The rarity of the item. You can configure all rarities and create your own in config.yml.
rarity: legendary

#Conditons to use the item
#All conditions can be configured in config.yml.
conditions:
  #Player needs to have 5 Strength at minimal to use this sword
  has-minimum-stat:
    value: strength
    amount: 5
Code:
#
#Note that when the item is generated, a "SKIC-INTERNAL-NAME" tag is added
#to the item's NBT data,  which corresponds to the file name.
#

#Minecraft type of item
type: BLAZE_ROD

#Display name
name: "&bMagic &dstaff"

#Lore. (Optional)
lore:
  - "&7&oA scepter brimming with magic!"
  - ""
  - "&3❥ &bVery cool spell &e&lRIGHT-CLICK"
  - "     &8Casts a MythicMobs spell"
  - "     &7Mana cost: &330"

#The rarity of the item. You can configure all rarities and create your own in config.yml.
rarity: rare

#You can configure some MythicMobs spells that can be used with the item, as well as a mana cost.
mythic-skills:
  #Casts the spell CoolSkill on righ-click.
  CoolSkill:
    mana-cost: 30
    cooldown: 12 seconds
    #All events: BREAK_BLOCK, DROP, ITEM_BREAK, RIGHT_CLICK, LEFT_CLICK, PLACE, KILL, DAMAGE
    event: RIGHT_CLICK

FUNCTIONS-07-04-2024.png
Code:
- SKICLoadConfig(file)
    > Write "ALL" to load all files
    > Write the name of a file to reload it only (example: "myfile")
 
- SKICLoreLayoutOrganize(item)
    > Returns your item with its lore reorganized according to 'lore-layout' in config.yml
    > Replacd 'item' by an item (example: tool of player)
 
- SKICRandomGenerate(itemid) [NEEDS SKRPG]
    > Returns an item with random stats. Only works if your item has random stats
      configured in its config.
    > Replace itemdid by the file name of your item (example: "magic_staff")
 
- SKICRegenItem(item) [NEEDS SKRPG]
    > Returns your item with new stats generated randomly. This function is only useful
      if your item has random stats in its config, otherwise the returned item will always
      be the same.
    > Replace 'item' by an item (example: tool of player)
 
- SKICCalculateQuality(item)
    > If 'enable-quality' is enabled in config.yml, this will display the item quality
      in the lore of the provided item which is returned by the function.
      Its quality is calculated based on the amount of applied statistics. If the item
      has its statistics at the maximum, the quality expressed in % will be higher.
    > Replace 'item' by an item (example: tool of player)

- SKICInternalNameOfItem(item)
    > Returns the internal name of the provided item if it exists in SkItemCreator
    > Replace 'item' by an item (example: tool of player)

- SKICRegisterItemManually(item, name)
    > Allows registering an item manually in the database (does nothing if name is alredy registered)
    > Example: SKICRegisterItemManually(tool of player, "my_tool")

- SKICDurabilitySet(item, amount)
    > Set the custom durability of an item. Only works if the item has a custom durability in its file
    > This function returns the updated item

- SKICDurabilityAdd(item, amount)
    > Repair the item's custom durability by the given amount
    > This function returns the updated item

- SKICDurabilityRemove(item, amount)
    > Reduce the item's custom durability by the given amount
    > This function returns the updated item

- SKICDurabilityFullRepair(item)
   > Fully repairs the item's custom durability
   > This function returns the updated item

COMMANDS-07-04-2024.png


Main command: /skitemcreator (aliases: /skic, /ski)

/skitemcreator gui
Open a GUI will all items.


✎ /skitemcreator get <name>
Gives an item to you

✎ /skitemcreator reroll
Randomly regenerates the statistics of the item held in hand

✎ /skitemcreator randomgen <name>
Gives you the item with random statistics

✎ /skitemcreator reload [<name>]
Reload the item's file. Write 'ALL' to reload all files.
  • SCREENSHOTS-07-04-2024.png
    SCREENSHOTS-07-04-2024.png
    66.2 KB · Views: 36
Author
Palgia
Downloads
345
Views
1,103
First release
Last update
Rating
4.50 star(s) 2 ratings

More resources from Palgia

Latest updates

  1. Version 1.9.2 (New API functions)

    ♥ Added function SKICSetSaveNBT(itemid: string, value: boolean) - Set the true/false value of...
  2. Bug fix (Please update)

    Fixed a bug with NBT Save for blocks. (Related to player heads)
  3. VERSION 1.9 BIG UPDATE!

    AN UPDATE FOR 1.20.5+ IS COMING SOON WITH A LOT OF NEW FEATURES. THIS SKRIPT SHOULD WORK IN...

Latest reviews

Amazing script, Has helped me alot by shortening my production time.
1 problem I have with it is the hex colours feature not working ):
Palgia
Palgia
Thank you for your review !

For hex colors, go to https://www.birdflop.com/resources/rgb/ and use the &x&r&r&g&g&b&b format :)
I downloaded the skript because i was curious how long and how much lines this took, and i must say im impressed someone has a long enough attention span to make something this detailed for other people that cant skript or dont got time to. still could use some work but overall 5/5!
Palgia
Palgia
Thank you so much!