// DefaultItemChanger | [1.8-1.12] | [FULL IN-GAME GUI SUPPORT] \\ 2.0.9

Replace every default version of an item with your custom version.

  1. TheTealViper
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    Source Code:
    https://pastebin.com/HwT785UZ
    Requested By: ItsGamingSoni

    I don't think this plugin is big nor special enough to call for graphics or an in depth explanation. It does exactly what it says. Do you want every crafted stone shovel to have the enchantment digspeed? Do you want every chopped log to be called "Thick Brown Stick?" Well, that's what this plugin does. Tada.

    Commands require the permission "defaultitemchanger.admin"
    /dic mob (full_mob_name)
    /dic item *WHILE HOLDING VANILLA ITEM IN HAND*
    /dic reload

    Percentages are checked in chronological order so it's recommended to put higher probability items towards the end to give the lower chanced items a real chance. Also, once you change the drops if the changes don't immediately take effect or you just want to be safe, do a '/dic reload' to force reloading of items.
    Features :
    - GUI Mob Drop Editor W/ Percentages:

    This menu is entered through /dic mob
    [​IMG]
    Or if you know the mobs full name, you can do /dic mob <name>
    [​IMG]
    [​IMG]
    [​IMG]

    - GUI Item Drop Editor W/ Percentages:
    This menu is entered with /dic item while holding the vanilla item in your hand
    [​IMG]
    [​IMG]
    [​IMG]

    Here I have thrown a wool block after configuring it's custom drop and it turns into it's drop
    [​IMG]
    Note: Ensure you have at least one drop set to 100% to guarantee an item drop or else the original might get deleted and the player gets nothing.


    Code (Text):

    ##########################################################
    #                DefaultItemChanger Config               #
    ##########################################################

    Use_In_Game_Editor_Over_Config: true
    #If this is enabled, '/dic item' is used to control item drops

    Allow_Multiple_Item_Drops: false
    #If this is enabled, multiple possible items can drop

    #IMPORTANT: FOR ITEM ID'S MAKE SURE THAT YOU INCLUDE THE FULL ITEM ID
    #EVEN IF THE INTERNET SAYS THE ITEM ID IS "57" BE SURE TO PUT "57:0"

    #Custom Item Example
    #This would turn normal dirt (item id 3:0) into the dirt described below
    #"3:0":
    # name: "&1Custom Dirt"
    # lore:
    #  - "&2Lore line #1"
    #  - "&3Lore line #2"
    # enchantments:
    #  - "knockback:20"
    # tags:
    #  - ""

    #Explanation
    #name - Single line item name. Supports color codes. Can't be left empty.
    #lore - Multiple line item lore. Supports color codes. Can be left empty.
    #enchantments - Multiple line enchantments. Supports impossible vanilla enchantments. Supports color codes. Can be left empty.
    #  possible enchantments (enchantments may change what they do depending on the type of item they are placed on) :::
    #    "arrowdamage" - Adds arrow damage
    #    "arrowfire" - Adds a fire effect to arrows
    #    "arrowinfinite" - Makes you never run out of arrows
    #    "damage" - Increases damage
    #    "digspeed" - Increases dig speed
    #    "durability" - Makes tools last longer
    #    "fireaspect" - Catches things on fire
    #    "knockback" - Knocks things back no matter what it's on
    #    "lootbonusblock" - Blocks give more loot no matter what it's on
    #    "lootbonusmob" - Mobs give more loot no matter what it's on
    #    "luck" - Gives you luck
    #    "protectionfire" - Makes armor protect you from fire
    #    "protectionfall" - Makes armor protect you from falling
    #    "silktouch" - Makes mined blocks stay in whatever state they were mined in
    #tags - Multiple line tags. Allows certain items to have characteristics not described by lore or enchantments. Can be left empty.
    #  possible tags :::
    #    "skullskin:PlayerName" - Changes the texture of a skull to a certain player's head
    #    "durability:#" - Changes the durability of items that have durability. The bigger the number, the more damage is done to the item. 0 is no damage.
    #For all the things that can be left empty, either don't include it at all or add a single <- ""> as seen in the above example as a tag.
    #Add as many items as you like below

    ##########################################################
    #                         Version                        #
    ##########################################################

    VERSION: 3
    #No touchy
     
    ItsGamingSoni and PlebFerLyfe like this.

Recent Updates

  1. Next take at bug fixes
  2. Bug fix
  3. Bug fix + reload command

Recent Reviews

  1. Miguelon01
    Miguelon01
    3/5,
    Version: 2.0.9
    seems to me an amazing idea and I need it urgently, but download the latest version and I get an error.... Please fix :c
  2. ItsGamingSoni
    ItsGamingSoni
    5/5,
    Version: 1.2.6
    Oh boy! That was pretty quick!
    Good job on this, a pretty cool plugin that'll provide my server a whole new experience and RPG environment! :3
    1. TheTealViper
      Author's Response
      Thanks for the review! It's a developer's currency. If anybody reading this has plugin suggestions, just let me know. NO MINIGAMES FOR THE LOVE OF GOD.