{"id":21801221,"url":"https://github.com/lucemans/novaitems","last_synced_at":"2026-05-21T14:16:06.229Z","repository":{"id":116008136,"uuid":"129561370","full_name":"lucemans/NovaItems","owner":"lucemans","description":"A Simple Lightweight Item Creation Library for Bukkit/Spigot","archived":false,"fork":false,"pushed_at":"2023-10-22T00:37:35.000Z","size":55,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T06:46:42.114Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucemans.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-04-14T23:16:37.000Z","updated_at":"2023-10-22T00:37:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"d316b894-d7a5-4388-9790-ff771c5d9555","html_url":"https://github.com/lucemans/NovaItems","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lucemans/NovaItems","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucemans%2FNovaItems","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucemans%2FNovaItems/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucemans%2FNovaItems/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucemans%2FNovaItems/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucemans","download_url":"https://codeload.github.com/lucemans/NovaItems/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucemans%2FNovaItems/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33303332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T12:23:38.849Z","status":"ssl_error","status_checked_at":"2026-05-21T12:22:11.673Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-27T11:16:55.892Z","updated_at":"2026-05-21T14:16:06.205Z","avatar_url":"https://github.com/lucemans.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NovaItems\nEasily use inline Item Creation System.\n\nThis project was made since their is no easy way to do proper Item creation within the Spigot / Bukkit APIs. It supports all Spigot and Bukkit versions and does not require NMS at all.\n\n## Requirements\nJava and Bukkit / Spigot. Most server versions in the [Spigot Repository](https://hub.spigotmc.org/nexus/) are supported.\n\n### Something doesn't work\nIf you are a developing using NovaItems, post your code somehwere and I would happily look into it.\n\n## How to use\n\n### As a dependency\n\n```xml\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003enl.lucemans\u003c/groupId\u003e\n        \u003cartifactId\u003eNovaItems\u003c/artifactId\u003e\n        \u003cversion\u003e1.3-SNAPSHOT\u003c/version\u003e\n    \u003c/dependency\u003e\n    ...\n\u003c/dependencies\u003e\n\n\u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cid\u003elucemans-repo\u003c/id\u003e\n        \u003curl\u003ehttps://repo.lucemans.nl/\u003c/url\u003e\n    \u003c/repository\u003e\n    ...\n\u003c/repositories\u003e\n```\n\n### In your plugin\n\n#### Creating an item from scratch\n\n```java\nNItem.create(Material.GOLD_AXE).make();\n```\nThe above code simply creates a new Instance of NItem of type GOLD_AXE.\nThe ```make()``` function simply fabricates the ```ItemStack```.\n\n#### Creating an item from another item\n\n```java\nItemStack itemstack = new ItemStack(Material.STONE);\n\nNItem.create(itemstack).make();\n```\n\nIf you want to modify an item that you already have in the form of an ```ItemStack``` you can easily do this, just put the ```ItemStack``` in the ```create``` method and its data will be imported.\n\n### Item Properties\nTo set any of the following properties is fairly simple and self-explainatory.\n#### Display Name\n```java\nNItem.create(Material.GOLD_AXE).setName(\"\u0026c\u0026lBleeding \u00266\u0026lAxe\").make();\n```\nThe Item Display Name by default supports color codes, to disable this see [setNameColor](#coloring).\n#### Amount\n```java\nNItem.create(Material.GOLD_AXE).setName(\"\u0026c\u0026lBleeding \u00266\u0026lAxe\").make();\n```\n#### Description / Lore\n```java\nNItem.create(Material.GOLD_AXE).setLore(\"This is the first line\", \"\u0026rThis is the \u0026asecond \u0026rline\").make();\n```\nor if you prefer using a list\n```java\nArrayList\u003cString\u003e lore = new ArrayList\u003cString\u003e();\nlore.add(\"This is the first line\");\nlore.add(\"\u0026rThis is the \u0026asecond \u0026rline\");\nNItem.create(Material.GOLD_AXE).setLore(lore).make();\n```\nThe item's description/lore by default supports color codes, to disable this see [setLoreColor](#coloring).\n#### Enchantments\n```java\nNItem.create(Material.GOLD_AXE).setEnchantment(Enchantment.DURABILITY, 8).make();\n```\nTo add enchantments to your Item you can use the ```setEnchantment(Enchantment, Level)``` method. As the name suggests it will add the specified enchantment with this level to the item. The system supports unsafe enchantments, this means items can have insane high or low levels, such as 5, 10, -10 or any other ```Integer```.\n#### Item Flags\n```java\nNItem.create(Material.GOLD_AXE).setItemFlag(ItemFlag.HIDE_ENCHANTS).make();\n```\nTo use ItemFlags, you can simply perform the ```setItemFlag``` method to set itemflags. This method also supports multiple arguments so you can set multiple ItemFlags at the same time like so:\n```java\nNItem.create(Material.GOLD_AXE).setItemFlag(ItemFlag.HIDE_ENCHANTS, ItemFlag.HIDE_POTION_EFFECTS).make();\n```\n#### Overriding Meta\n```java\nNItem.create(Material.GOLD_AXE).setMeta(meta).make();\n```\nIf you are in need of manually overriding the items ```ItemMeta``` this is also possible. Do note that if any of the other features of ```NItem``` are set that those will overwrite.\n#### Coloring\n\nBy default all coloring is on. All \u0026 color codes will work.\nIf you would like to disable this howhever you can do one of the following.\n```java\nNItem.create(Material.GOLD_AXE).setNameColor(false).make();\n```\n```java\nNItem.create(Material.GOLD_AXE).setNameColor(true).make();\n```\n\n## Compilation\n\nBuild with `mvn clean install`. Do note that you will need the spigot jars in this repo to be installed on your\nlocal repository.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucemans%2Fnovaitems","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucemans%2Fnovaitems","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucemans%2Fnovaitems/lists"}