Sueta

[Denizen] Items | [Create custome Weapons & Armor with stats

0.4.0

Create custome Items with stats

·Plugin

This script allows you to create cool items with a lot of custom stats!
You can create all items ingame, with a nice gui.
Easy to use!

Don´t forget to rate!
(Its not finished yet.
I will add new things and improve the current ones.)

Thank you for 100+ downloads!

The options:

Basic options
Select - Select your tool u want
Display name - Give your item an name
Display color - Change the color of the item
Enchanted - Add the enchantment glow on your item

Weapons (sword, pickaxe, axe, shovel and hoe)
Min Damage - The minimal damage from the item
Max Damage - The maximum damage from the item
Attack Speed - Edit how fast you can attack with a tool
Critical Damage - Additional Damage when you deal an critical strike
Critical Chance - The Chance of an critical strike
Life Steal - Edit the % of life you will get when u hit something
Magic damage - Adds additional magic damage to your item

Bows (bow and crossbow)
Min Damage - The minimal damage from the item
Max Damage - The maximum damage from the item
Infinity - Give the item the infinity enchantment
Flame - Give the item the flame enchantment
Magic damage - Adds additional magic damage to your item

Armors (helmet, chestplate, leggings and boots)
Armor - 1 Armor blocks 1 Damage
Magic Armor - 1 Magic Armor blocks 1 Magic Damage
Projectile Armor - 1 Projectile Armor blocks 1 Projectile Damage (bows)
[new] Fire resistance - Reduce fire/lava damage
[new]
Poison resistance - Reduce poison damage

Commands

/weapon - Open the gui to create weapons
/bow - Open the gui to create bows
/armor - Open the gui to create armors

[new]/itemsave [name]- Save your item to u se it in (other scripts /denizen/items/saves.yml)
/testarmor, /testweapon & /testbow is for getting all NBT-Tags of the item. If you have an item without an tag you will get an error.

Tutorial to use it in other scripts

1. Create an item.
2. take your item in hand and execute /itemsave [NAME].
3. Open /denizen/items/saves.yml and copy the i@-Tag of your item.
4. Now you can paste it in your script with a give command. ex:

- give  " i@diamond _chestplate[display_name=example; flags=li@HIDE _ENCHANTS|HIDE_ATTRIBUTES;lore= |&ampss7Armor&ampco &ampssc2&ampdot0|&ampss7Projectile Armor&ampco &ampssc2&ampdot0|&ampss7Magic Armor&ampco &ampssc2&ampdot0|&ampss7Health&ampco &ampssc5|&ampss7Fire resistance&ampco&ampssc5%|&ampss7Poison resistance&ampco &ampssc5%; nbt=li@armor _fire/5|armor_poison/5|armor_projectile_armor/2&ampdot0|armor_magic_armor/2&ampdot0|armor_armor/2&ampdot0|armor_health/5]"

Or

- define name:  " i@diamond _chestplate[display_name=example; flags=li@HIDE _ENCHANTS|HIDE_ATTRIBUTES;lore= |&ampss7Armor&ampco &ampssc2&ampdot0|&ampss7Projectile Armor&ampco &ampssc2&ampdot0|&ampss7Magic Armor&ampco &ampssc2&ampdot0|&ampss7Health&ampco &ampssc5|&ampss7Fire resistance&ampco&ampssc5%|&ampss7Poison resistance&ampco &ampssc5%; nbt=li@armor _fire/5|armor_poison/5|armor_projectile_armor/2&ampdot0|armor_magic_armor/2&ampdot0|armor_armor/2&ampdot0|armor_health/5]"  
- give <  [  name  ]  >
Permission

item.goinq.admin
item.goinq.test

Testet on MC 1.15.2, paper and D enizen-1.1.4-b1705-REL.jar

How to install

1. Dowload the script and denizen
Denizen: https://www.spigotmc.org/resources/denizen.21039/
2. Start your server with denizen in you plugin folder
3. Stop your server
4. Go to the plugins/denizen/scripts and paste the script there
5. Start your server and have fun!

Planned things

- magic / instant dmg potion resistance
- custom food
- make a tutorial how to use the item in your own scripts
- CustomModelData
- and more...


Here some pictures of the script!



I want to add some more stats! If you have an idea let me know :D .

Similar projects

Plugin →