EpicCraftingsPlus | Fully Configurable CRAFTS! [1.8-1.17]

 EpicCraftingsPlus | Fully Configurable CRAFTS! [1.8-1.17] 6.6.5

EpicCraftingsPlus | Fully Configurable CRAFTS! [1.8-1.17]
[IMG]


What can I do with EpicCraftings?
This plugin allows you to create custom crafts in a very unique way. Using the /ecraft command (or a configurable crafting place) you can create Epic items with custom names, lore, enchantments, but only if you have the required items (All of this is configurable). You can create all the crafts you want and its a maximum of 15 required items per craft.

Example: You can craft an item named: Epic Sword | But you need: x15 Diamonds, x15 Gold Ingots and whatever items you want.

Why Premium?
Because there is already a free version of this plugin called EpicCraftings, but this one have extra features mentioned below.


NOW PLACEHOLDERAPI SUPPORT!
[IMG]

✓ = EpicCraftings | ✓ = EpicCraftingsPlus

- ✓ Add your own crafts
- Required items with custom names, lore and enchantments!
- ✓ Crafts with custom names / colors / lore / enchantments
- ✓ Crafts with a maximum of 15 required items!
- ✓ Crafts with custom permissions!
- Unbreakable Crafts
- ✓ Hide-flags for crafts
-
Hide-flags for required items
- ✓ Crafting Places
- ✓ Categorized Crafting Places
- Cooldown for Crafts (Wait time)
- Craft Commands

- ✓ Random Crafts Option
- Execute command when right click on the item
- /ecraft create (With GUI) for creating crafts in a very easy way (Without touching the config)

- ✓ /ecraft edit for editing the required items of a craft
- Extra Requirements: Player levels, JobsReborn levels, Money, BattleLevels, SkillAPI Class, TokenEnchant Tokens, PlaceholderAPI Variables, Crafted items
- ✓ Categories
- Probability of Success System
- NBT Tags Compatibility
- Potions Compatibility
- SpawnerEggs Compatibility (1.8,1.11,1.12,1.13,1.14)
- Colored Leather Armor Compatibility
- Heads with Texture Compatibility
- Banners Compatibility
- Shields Designs Compatibility
- Enchantment Books Compatibility
- Fireworks Compatibility

- Attribute Modifiers Compatibility
- 1.16 HEX Colors support for ALL craftings items.

- Hide Craftings with Permissions
- Convert all Crafting Tables to open EpicCraftings Menu
- Open EpicCrafting menu with command
- ✓ Avoid crafting using money
- Crafts with random enchantment levels
- Crafts with random lore stats
- One Time craftings

- Log File
- Block Interaction with Crafted item
- Block Use of Crafted Item in Crafting Tables
- Next and Previous Craftings
- Boss Plugin Compatibility

- ✓ Works in 1.8+
- ✓ Works in Craftbukkit and Spigot
- ✓ GUI Inventory for crafts
- No Permissions needed

[IMG]


[IMG]


First of all, to add your own crafts you can use two methods:
1)
Create a new section on the config.yml and start editing manually each of the properties of the new craft. There is already a tutorial on this page and also on the config.yml file

2) By typing /ecraft create <name> you can create a new craft with the item you have in your hand. This command will open an inventory GUI where you can put all the required items you want. The plugin will automatically save them on the config (Supports a lot of properties. You can see them in the Craft Creation Easy Method section).

Spoiler: Config Tutorial
#Here you can define the inventory items.
Materials and DataValues for 1.8:
https://helpch.at/docs/1.8/org/bukkit/Material.html
http://www.minecraftinfo.com/idlist.html
If you use 1.13+ versions you need to set a valid Material. Here is the full list:
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
menu-page-item: 'ARROW'
click-to-craft-item: 'CHEST'
craft-with-money-item: 'INK_SACK:10'

#Here you can define the slot of some items on the inventories:
main-craft-item-slot: 19
click-to-craft-item-slot: 41
craft-with-money-item-slot: 42

#Set this to true if you want to spawn a firework when a player craft an item on the plugins GUI. If not, set to false.
firework-on-craft: true

#Set this to true to send a message to all OPs when there is a new version of the plugin.
new-version-reminder: true

#This option works if you want to make specific Crafting Places with the /ecraft setplace command blocking the access to the /ecraft command. If you don't know how Crafting Places works, see the tutorial below.
block-ecraft-command: false

#If you want your crafting inventory to be more organized, this option let you create different types of categories. If you want to know more, read the tutorial below.
enable-categories: true

#If you set this option to true, players that don't have the necessary permission to craft the item, will not see it on the crafting inventory.
hide-craftings-with-permissions: true

#If you set this option to true, players will not see already created craftings with one-time option enabled in the menu.
hide-one-time-craftings: true

#If this option is enabled that means that all normal crafting tables will activate the EpicCraftings menu. So, if a player place a crafting table and he right click on it, it will open the EpicCraftings menu.
workbench-attach: true

#If this option is enabled, users will receive notificacion messages when craftings with cooldown have finished creating.
cooldown-notification-messages: true

#If this option is enabled, a sound will be played to the user when craftings with cooldown have finished creating.
#Sounds 1.8: http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html
#Sounds 1.13+: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
cooldown-notification-sound:
enabled: false
sound: "NOTE_PLING;2;1.5"

#If enabled, users can't craft an item if they are already creating another one with cooldown.
one-cooldown-at-the-time: false

#If this option is enabled, two items will appear in the crafting menu. When clicking these items you can go to the next or previous crafting.
previous-next-crafting: true

#If the log option is enabled, this file will be updated every time users create a crafting. You can set after how many time the log should reset (in days)
log-file:
enabled: true
clear-log-time: 7

Spoiler: Config: Categories Tutorial
[IMG]


This is an example with two categories. You can add more, just remember to set a different slot number for each of them.

Code (Text):

size: 45
Categories:

'weapons_armor':
id: 'GOLD_SWORD'
name: '&eWeapons&f/&eArmor'
lore:
- '&7Here you can find the &cbest'
- '&7equipment of the server.'
slot: 12
permission: epiccraftingsplus.category.weaponsarmor
custom-go-back-command: chestcommands open main_menu %player%
custom-craft-go-back-command: chestcommands open weapons_armor %player%
'others':
id: 'INK_SACK:10'
name: '&dOther Crafts'
lore:
- '&7A lot of stuff you can craft,'
- '&7like the &bVIP &6rank.'
slot: 14
The permission is optional.

You can also add a head with texture from sites like http://heads.freshcoal.com/ or https://minecraft-heads.com/
(Just remember to set the ID to SKULL_ITEM:3. In the case of 1.13+ use PLAYER_HEAD instead)
skull-texture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTA4Yjc3MmVjYWVlNzA2MjM1ZDFhZGJmMGI5YTI5YjU4YmE5YzBlZDYwZGU2ZjEwZWZiMWE3Zjg2ZDllIn19fQ==
skull-id: ec62ea75-402c-44fb-8f71-bef0015a4634

You can add the following option to enchant the item:
enchanted: true

If the category option is enabled, when typing /ecraft the users must select one category of items to craft. So, that means that for each of your craftings you need to put the category like this:

Code (Text):
'epic_bow':
id: 'BOW'
name: "&aE&bP&cI&dC &6Bow"
category: weapons_armor
enchants:
- 'ARROW_DAMAGE;4'
- 'ARROW_INFINITE;1'
requires:
- 'BOW;10;ENCHANTS:ARROW_DAMAGE,1'
- 'IRON_INGOT;40'
- 'DIAMOND;30'
In newer versions you can edit the Category Menu as you like. Items here support names, lore, and skull texture. These items will be just for decoration, and they don't interfere with the categories. Remember to put them under the "Inventory" section. Just follow the example below:

Spoiler: Categories.yml file
[IMG]


Code (YAML):
size: 45
Categories:
'weapons_armor':
id: 'GOLD_SWORD'
name: '&eWeapons&f/&eArmor'
lore:
- '&7Here you can find the &cbest'
- '&7equipment of the server.'
slot: 12
'others':
id: 'INK_SACK:10'
name: '&dOther Crafts'
lore:
- '&7A lot of stuff you can craft,'
- '&7like the &bVIP &6rank.'
slot: 14
permission: epiccraftingsplus.categories.others
Inventory:
'0':
id: 'STAINED_GLASS_PANE:13'
slot: 0
'1':
id: 'STAINED_GLASS_PANE:5'
slot: 1
'2':
id: 'STAINED_GLASS_PANE:13'
slot: 2
'3':
id: 'STAINED_GLASS_PANE:5'
slot: 3
'4':
id: 'STAINED_GLASS_PANE:13'
slot: 4
'5':
id: 'STAINED_GLASS_PANE:5'
slot: 5
'6':
id: 'STAINED_GLASS_PANE:13'
slot: 6
'7':
id: 'STAINED_GLASS_PANE:5'
slot: 7
'8':
id: 'STAINED_GLASS_PANE:13'
slot: 8
'9':
id: 'STAINED_GLASS_PANE:5'
slot: 9
'10':
id: 'STAINED_GLASS_PANE:5'
slot: 17
'11':
id: 'STAINED_GLASS_PANE:13'
slot: 18
'12':
id: 'STAINED_GLASS_PANE:13'
slot: 26
'13':
id: 'STAINED_GLASS_PANE:5'
slot: 27
'14':
id: 'STAINED_GLASS_PANE:5'
slot: 35
'15':
id: 'ARROW'
slot: 36
name: "&7Go Back"
command: 'chestcommands open inventory %player%'
'16':
id: 'STAINED_GLASS_PANE:5'
slot: 37
'17':
id: 'STAINED_GLASS_PANE:13'
slot: 38
'18':
id: 'STAINED_GLASS_PANE:5'
slot: 39
'19':
id: 'LEVER'
name: "&6Info"
lore:
- "&7Select one of the categories above"
- "&7to begin crafting items!"
slot: 40
'20':
id: 'STAINED_GLASS_PANE:5'
slot: 41
'21':
id: 'STAINED_GLASS_PANE:13'
slot: 42
'22':
id: 'STAINED_GLASS_PANE:5'
slot: 43
'23':
id: 'STAINED_GLASS_PANE:13'
slot: 44
In the Categories section you can find the custom-go-back-command option. With this option you can create a new "Go Back" item (For only that category) and execute your own command when player clicks it. This command MUST open another inventory, or close the current one.

The same thing you can do with custom-craft-go-back-command option. This option will change the "Go Back" item from the crafting inventory and execute your own ommand when player clicks it.

As you can see, you can also add a command to an item just adding command: <command>

Spoiler: Config: Inventories Decoration
THIS TUTORIAL IS UNDER DEVELOPMENT

In newer versions of the plugin you can change the look of crafting inventories. This configuration is found in the crafting_inventories.yml file.

Be careful because each of the inventories have limitations and you can't place items in every slot.

#This is the Crafting Inventory where all craft will be displayed.
#This inventory has 45 slots.
#You can add an item to any slot of this inventory except:
#10-16, 19-25, 28-34, 37-43
crafting_inventory

#This is the Crafting Item Inventory where the required items will be displayed.
#This inventory has 45 slots.
#You can add an item to any slot of this inventory except:
#12-16, 21-25, 30-34, 19, 41
crafting_item_inventory

You can set the same option for every Item as in the Categories inventory, that includes: slot, name, lore, skull-texture, skull-id, custom_model_data, enchanted and command.

[IMG]


Spoiler: Config: Crafts Tutorial
#Name/ID of the item to craft.
id: 'DIAMOND_SWORD'

#Here you can set a custom name for the item. You can use color codes.
name: "&4&lSuper Sword"

#Here you can set the amount of the item that the playaer will receive when crafting
amount: '25'

#Here you can set a custom lore for the item. You can use color codes. You can remove this section if you don't want a lore for the item. You can add more lines if you want. You can use the variable: %player% to add the name of the user who is crafting the item.

You can define random stats (just for numbers) using the variable $random-number1-number2$. When the user craft the item, that line will be replaced with a random number between number1 and number2.

lore:
- "&8&m---------&7STATS&8&m---------"
- ''
- "&a+$random-120-170$ &7Health &4\u2764"
- "&a+$random-5-10$ &7Dexterity &f\u2738"
- ''
- "&8&m-----------------------"

#Names of the enchantments that the item will have with the level of the enchant respectively. Here you can find a list with all the enchantments: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/enchantments/Enchantment.html You can remove this section if you don't want enchantments for the item.

You can add a line ("-") on the enchantment level to give the player an item with a random level enchantment, just like you see on the Fire Aspect example. In that case, when crafting the item, there are chances to get an item with Fire Aspect level 3 to level 6.

enchants:
- 'DAMAGE_ALL;6'
- 'FIRE_ASPECT;3-6'

#This is very important if you are using categories. Here you need to set the category in which the item will appear
category: weapons_armor

#Here you can add a custom permission to craft this item.
permission: 'ecraft.supersword'

#Here you can decide if the item should be unbreakable
unbreakable: true

#If the item is a part of leather armor you can set a specific color. You can find Minecraft colors on this link: https://minecraftcommand.science/armor-color
color: 8405056

#Here you can set the owner of a skull. For this option to work you need to set the ID of the item to: SKULL_ITEM:3. You can also write %player% to make the player can craft just their own skull.
skull-owner: Ajneb
skull-owner: %player%

#You can also add a head with texture from sites like http://heads.freshcoal.com/ or https://minecraft-heads.com/
skull-texture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTA4Yjc3MmVjYWVlNzA2MjM1ZDFhZGJmMGI5YTI5YjU4YmE5YzBlZDYwZGU2ZjEwZWZiMWE3Zjg2ZDllIn19fQ==
skull-id: ec62ea75-402c-44fb-8f71-bef0015a4634

#Here you can set a cooldown in seconds for the item to craft (This means that the item will be created in 30 minutes). IT IS VERY IMPORTANT THAT YOU /DEOP YOURSELF BEFORE TESTING THIS OPTION OR YOU WILL BYPASS THE COOLDOWN.
cooldown: 1800

#If you want to let players avoid the craft of an item, and instead of that use money you can add this option. This will create another item on the crafting inventory, which needs to be clicked to craft the item with money
craft-with-money: 5000

#Here you can define a price for bypassing the cooldown. If the user wants, he can pay an amount of money (Vault) to avoid the cooldown time and receive the item instantly. For that, he need to click on a crafting being created (in cooldown mode) on the main crafting inventory. This will open a confirmation inventory where he can select Yes or No.
cooldown-bypass-cost: 500

#With this you can hide some ItemFlags like the attributes, enchants and more. You can find all the flags names here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemFlag.html
hide-flags:
- HIDE_ATTRIBUTES

#If this option is enabled, the flags of the required items (enchantments,attributes) will be hidden. It's only for better looking.
hide-required-items-flags: true

#These options work for ignoring some required items properties when crafting an item. For example, if you want to craft a workbench with all type of wood, set ignore-required-items-data-values to true
ignore-required-items-data-values: true
ignore-required-items-lore: true
ignore-required-items-enchants: true
ignore-required-items-name: true
ignore-required-items-nbt : true

#You can add a probability of success to the item. For example, if is set to 25 that means that there will be a 75% of chance to fail, and lose the used items.
success-rate: 25

#If the user fails while crafting the item you can set here a custom message.
success-rate-failed-message: "&cThe creation of the &2Magic &dKey &cfailed! The Mystery Vaults can't be opened yet..."

#If the user fails while crafting the item you can add some commands to be executed.
success-rate-failed-commands:
- "command1 %player%"

#With this options you can block the interaction with a crafted item. For example, if the custom item is an enderpearl and block-interaction is set to true, you can't throw or teleport with it.
block-interaction: true
block-interaction-message: "&cThis is a special item, you can''t interact with it"
block-use-in-crafting-tables: true
block-use-in-crafting-tables-message: "&cThis is a special item, you can''t craft with it"

#If you set this option to true, players will be able to craft this item just one time.
one-time: true

#Instead of giving the player a specific item, you can set a lot of created crafts and give one to the player random.
random:
- "super_sword;20"
- "gold_helmet;30"
- "epic_bow;50"

Spoiler: Detailed Info
On this example you can see that there are 3 already created craftings. In this case, the super_sword crafting has a 20% probability of being created when the user finishes the craft. The gold_helmet 30% probability and the epic_bow 50%.

You can create different kind of craftings for this option to work. For example if you add another random craft to this craft:
Code (Text):
random:
id: 'EMERALD'
name: '&c&lRandom Item'
category: others
requires:
- BEACON;5
random:
- "super_sword;20"
- "gold_helmet;30"
- "epic_bow;50"
- "diamond;80"
Of course you need to create the craft called "diamond" but for this random option the required items of the diamond craft are not necessary, they can be anything because we don't need them.
Code (Text):
diamond:
id: DIAMOND
requires:
- 1;1
In conclusion, when the user creates the craft "random-item" there is a high chance (80%) of receiving just one diamond and a low chance (20%) to obtaining a Super Sword.
#Instead of giving an item, with this option you can execute a command to the player. You can set multiple commands by adding a ";" before the next command.
command: pex user %player% group set VIP
command: "pex user %player% group set VIP;eco give %player% 500"

#Here you can set a list of commands that will execute from the console or the player when right clicking the item (When already crafted).
command-on-click:
- "console: effect %player% 1 30 2"
- "console: msg %player% You used the &4&lSpeed &6&lStick!"
- "player: ecraft"

#The amount of seconds the player need to wait to execute again the previous commands.
command-wait: 180

#If you want to execute commands when players finish creating a crafting, you can use this option. You can add more lines to execute multiple commands. You can use msg %player% to send a private message to the player.
commands-when-crafted:
- "broadcast &2&l%player% crafted a &4&lSUPER SWORD&2&l!"
- "player: playercommand"


#Here you can put a list of extra requirements for the item to be crafted.

Spoiler: Screenshot
[IMG]



PLAYERLEVELS:
This will take 15 levels from the player when crafting the item.
extra-requires:
- level,15,take

You can remove the "take" word to keep the player levels:
extra-requires:
- level,15

TOKENENCHANT TOKENS:
This will take 500 tokens from the player when crafting the item. You need the plugin TokenEnchant for this option to work:
https://www.spigotmc.org/resources/tokenenchant.2287/
extra-requires:
- tokenenchant,500,take

You can remove the "take" word to keep the player tokens:
extra-requires:
- tokenenchant,500


BATTLELEVELS:
This will take 15 battle-levels from the player when crafting the item. You need the plugin BattleLevels for this option to work:
https://www.spigotmc.org/resources/battlelevels.2218/
extra-requires:
- battlelvl,15

JOBSREBORN LEVELS:
This will check if the player is level 15 Miner and level 40 Brewer. You need to put the correct Jobs names. For this option to work you need the plugin JobsReborn:
https://www.spigotmc.org/resources/jobs-reborn.4216/
extra-requires:
- job,Miner,15
- job,Brewer,15

SKILLAPI CLASS AND LEVELS:
This will check if the player is level 5 Warrior. You need to put the correct Class name. For this option to work you need the plugin SkillAPI:
https://www.spigotmc.org/resources/skillapi.4824/
extra-requires:
- skillapi-class,Warrior,5

MONEY:
This will take $5000 from the player when crafting the item.You need the plugin Vault for this option to work:
https://www.spigotmc.org/resources/vault.34315/
extra-requires:
- money,5000

CRAFTING:
This will check if the player has already crafted an EpicCraftingsPlus item. It must be a valid name of item in the config. In this example the player will need to craft x5 command_1 before crafting this item.
extra-requires:
- crafting,command_1,5

PLACEHOLDERAPI VARIABLES:
With this new functionality, you can add conditions to create some craftings. For example, to craft a Super Sword you need some materials, be on a specific world and have more than 1500 Jumps.
extra-requires:
- placeholder_api,%statistic_jump%,>=,1500,Player Jumps
- placeholder_api,%player_world%,equals,spawn,Current World

Format:
- placeholder_api,%placeholder%,type,condition,name to show

Spoiler: Types of Conditions
For Numbers:
==
!=
>=
<=
>
<

For Text:
equals
!equals

#You can fully edit the Extra Requires message adding an extra-requires-message path to the craftings.
extra-requires:
- level,15,take
- placeholder_api,%statistic_jump%,>=,1500,Player Jumps
extra-requires-message:
- "&6Extra Requirements:"
- "&7You need 15 levels and 1500 jumps to craft this."
- "&9Status:"
- "&a%current_1%&8/&a%required_1% &7Levels"
- "&a%current_2%&8/&a%required_2% &7Jumps"
Use %current_X% and %required_X% variables to show the status of the X condition (corresponding to that line). For example %current_2% means the second line, thus the placeholder_api condition.

Spoiler: Picture of this Example
[IMG]

You need this plugin for this option to work: https://www.spigotmc.org/resources/placeholderapi.6245/

Spoiler: Config: Required Items Tutorial
Code (Text):
'super_sword':
id: DIAMOND_SWORD'
name: "&4&lSuper Sword"
enchants:
- 'DAMAGE_ALL;10'
- 'FIRE_ASPECT;10'
requires:
- 'DIAMOND;15;&bUnique Diamond;&7A legendary mineral;&7very hard to obtain..;ENCHANTS:KNOCBACK,1:FIRE_ASPECT,2'
- 'GOLD_INGOT;10;ENCHANTS:KNOCKBACK,1'
The required items work in this way:
- 'id;amount;name;lore-line1;lore-line2;ENCHANTS:Enchantname1,level:Enchantname2,level'

This means that the Super Sword will need two different items to be crafted.
1) x15 Diamonds
With name: Unique Diamond
With lore:
- 'A legendary mineral'
- 'very hard to obtain..'
With enchantments: Knockback 1 and Fire Aspect 2

2) x10 Gold Ingots
With enchantment: Knockback 1

You can add the DONT_REMOVE flag so the item will not be removed during the crafting of the main item. For example:
Code (YAML):
'epic_bow':
id: 'BOW'
name: "&aE&bP&cI&dC &6Bow"
amount: '2'
category: weapons_armor
enchants:
- 'ARROW_DAMAGE;4'
- 'ARROW_INFINITE;1'
requires:
- 'BOW;10;ENCHANTS:ARROW_DAMAGE,1;DONT_REMOVE'
- 'IRON_INGOT;40'
- 'DIAMOND;30'
(in this case, the 10 Bows (id 261) will not be removed)

Spoiler: Craft Creation Easy Method
Remember, you can use /ecraft create <name> to create a new craft with the item you have in your hand. Then you need to put the required items for this craft on the inventory.
This method supports these properties:
-Item ID, Item Flags, Custom Name, Custom Lore, Enchantments, Color (Leather Armors), Potion Properties, SpawnerEggs (1.8, 1.11, 1.12, 1.13, 1.14), Unbreakable Flag, Skull-Owner/Skull-Texture/Skull-Id, Attribute Modifiers, Banners, Shields, Enchantment Books
-Categories

The same for the required items except from item flags, and attributes. (If you want to hide items flags from required items use hide-required-items-flags: true option)

If you want to set other properties like cooldown, or command, you need to set this on the config.yml file.

[IMG]


Spoiler: Crafting Places Tutorial
You can also set a "Crafting Place" on a block, so when people click on the block it will open the EpicCraftings menu. That is an alternative way to use the command /ecraft

[IMG]


To create a Crafting Place you need to look at a block and type /ecraft setplace. If you want to remove it, look at the block and type /ecraft removeplace

Categorized Crafting Place
You can create a Categorized Crafting Place, so when people click on that block it will open just one category instead of the Category Menu. It also will remove the "back to menu" item so it is independent.

For this to work you need to add the category on the command like this: /ecraft setplace <category>

[IMG]


Spoiler: API
Currently the plugin have a very small API.

For this to work you need to add my plugin to your plugin external jars dependencies and to set softdepends: EpicCraftingsPlus on your plugin.yml file

Code (Java):
//Event called when player successfully craft an item and materials are removed from player inventory.
@EventHandler
public void testEvent(EpicCraftingsCraftEvent event){
Player jugador = event.getPlayer();
String craftName = event.getCraft();
}
Code (Java):
//Event called just before a player is trying to craft something. You can cancel the event.
@EventHandler
public void testEvent(EpicCraftingsPreCraftEvent event){
Player player = event.getPlayer();
String craftName = event.getCraft();
}
Code (Java):
//Method that returns the current cooldown of a craft in the format: HH:MM:SS
String cooldown = EpicCraftingsAPI.getCooldown(player,craftName);

//Method that returns true if a craft is currently in cooldown
boolean inCooldown = EpicCraftingsAPI.isInCooldown(player,craftName);

//Method that returns true if player has created a craft.
boolean hasCrafted = EpicCraftingsAPI.hasCrafted(player,craftName);


Spoiler: Config.yml
https://pastebin.com/NfN9cW14

Spoiler: Config.yml 1.13+
https://pastebin.com/ubu8akwW
Spoiler: Categories.yml 1.13+
https://pastebin.com/v6LygjRK

[IMG]


-/ecraft Opens the plugin inventory
-/ecraft create <name> Creates a new craft on the config
-/ecraft edit <name> Allows you to edit the required items of a created craft.
-/ecraft delete <name> Deletes a craft
-/ecraft list <page-number> Shows all created crafts
-/ecraft setplace (optional) <category> Creates a new Crafting Place
-/ecraft removeplace Removes an existing Crafting Place
-/ecraft give <craft-name> <player> Give the craft directly to the player
-/ecraft open <category> (optional)<player>Opens a category. Player is optional as long as the command is executed from a player.. You can use /ecraft open main <player> to open the Main Menu instead of a category.
-/ecraft opencraft <craft> (optional)<player> (optional, blocked) <true/false> Opens a craft. Player is optional as long as the command is executed from a player. An example of the command would be: /ecraft opencraft sword Ajneb true With this command the craft will be blocked, meaning you can't go back to the crafting menu.
-/ecraft reload Reload the config
-/ecraft info Show plugin info

[IMG]


- ecraft.admin (This permission will allow you to use all plugin commands)
Per Command Permissions:
- ecraft.command.ecraft (Default: true)
- ecraft.command.reload
- ecraft.command.setplace
- ecraft.command.removeplace
- ecraft.command.give
- ecraft.command.open.self
- ecraft.command.open.others
- ecraft.command.opencraft.self
- ecraft.command.opencraft.others
- ecraft.command.create
- ecraft.command.edit
- ecraft.command.delete
- ecraft.command.list
- ecraft.command.help
- ecraft.command.info

Cooldown Permissions:
- ecraft.bypass.cooldowns (For ignoring cooldown in craftings)
- ecraft.cooldown.<crafting>.<percentage_reduce> (For reducing cooldown time)
An example: If player have the ecraft.cooldown.sword1.50 permission it means he will complete the sword1 crafting in 50% less time than the original cooldown.

[IMG]


Spoiler: Screenshots
[IMG]


Spoiler: Cooldown Example
[IMG]


Spoiler: Crafting Example
[IMG]


Spoiler: Previous and Next Craftings
[IMG]


Translation:
(You just need to replace the contents of your message.yml with the translation you want
:p
)

Spanish: (By Ajneb97): [CLICK HERE]
German: (By Wissi): [CLICK HERE]
Russian: (By WafuMoon): [CLICK HERE]
Simplified Chinese: (By starchier): [CLICK HERE]
French: (By @Supern0v4 ): [CLICK HERE]

Please avoid posting bad ratings before asking. If you have problems or bugs with the plugin contact with me or post on the plugin discussion and I will take a look at it.

Terms & Conditions
By purchasing EpicCraftingPlus you agree to the following Terms & Conditions:
1) You can't resell/-Redacted- this plugin.
2) There are no refunds.
3) You can't decompile this plugin.
4) You can't claim this plugin as your own.
5) You can't post bad reviews before asking for help or contacting with me.
6) Only use this plugin on your server/network.
7) I can change the price of this plugin anytime.

Latest updates

  1. 6.6.5

    -Added player commands on command option. -Added op commands on commands-when-crafted and...

Similar resources

EpicCraftingsPlus | Fully Configurable CRAFTINGS! [1.8-1.20.4] Dekomori
Create custom craftings in a very unique way! Up to 15 required items!
5.00 star(s) 13 ratings
Downloads
1,822
Updated
EpicCraftingsPlus | Fully Configurable CRAFTS! MikeyBoy
Create custom crafts in a very unique way! Up to 15 required items!
5.00 star(s) 1 ratings
Downloads
295
Updated
EpicCraftingsPlus | Fully Configurable CRAFTS! Vasked
Create custom craftings in a very unique way! Up to 15 required items!
1.00 star(s) 1 ratings
Downloads
121
Updated
BlackSpigot General Chat
Rules Help Users
    jimmynoob1234 @ jimmynoob1234: i waste 20 dolares in nothing XD i just download a few files but its like trying to findin in...
    Top