Home›Java›Mods›KeepItems
ModsJava

KeepItems

Java mod listed for Minecraft 1.14–1.20. Download on the author's site.

⬇ Download on Spigot
KeepItems — Keeps various items in the inventory upon death.

This plugin allows players to keep specific items in their inventory upon death.

Discord Support Server: https://discord.gg/crHgFwH2Gt

Config:
The config should be self explanatory. If you have a question, you can open a ticket on the discord server.

Code (YAML):

config-version
: 4 #Do NOT edit this!

filter
:
  everything
:
    enabled
: false #If the everything filter is enabled, all items will be kept on death.
  material
:
    enabled
: false #If the material filter is enabled, only items that are in this list will be kept on death.
    materials
: #List of Materials: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
      - BUNDLE
  custom-name
:
    enabled
: false #If the custom name filter is enabled, only items with the custom names in this list will be kept on death.
    check-contains
: true #If this is enabled, the plugin will check if the custom name of an item contains the specified name.
    names
:
     - "&aEmerald sword"
  custom-model-data
:
    enabled
: false #If the custom model data filter is enabled, only items with the type + custom model data in this list will be kept on death.
    items
: #Syntax: ITEM_TYPE:CUSTOM_MODEL_DATA | List of Materials: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
      - DIAMOND_SWORD:12345
  #Filters that support external plugins:
  custom-crafting
:
    enabled
: false #If this filter is enabled, all items created by the custom crafting plugin by WolfyScript that are defined in the list will be kept on death.
    items
:
     - "myitems:emerald_sword" #Seperate folder and key with a ".".
  executable-items
:
    enabled
: false #If this filter is enabled, all items created by the executable items plugin by Ssomar that are defined in the list will be kept on death.
    items
:
     - "emerald_sword" #Use the id you entered when creating the item
permission
:
  enabled
: false
  value
: "keepitems.use"

# If this is enabled, items will be removed instead of kept on player death.
clear-items
: false

# Debugging - If you want to see information about the filters in the console, set this to true.
# Do not use this on a production server as it will spam the console.
debug
: false
# The following config setting is only needed if you are making changes to the config.yml file or the Config class of the KeepItems plugin.
# It will also spam the console.
# debug-config: false
[SIZE=4 ] [SIZE=4 ]

Filters

There are currently 6 filters. You can add your own filters by using the KeepItems API.

- Everything (All items are filtered)
- Material (checks the type of the item)
- Custom Name (checks the custom name of the item)
- Custom Model Data (checks the type and custom model data of the item)
- Support for the Custom Crafting plugin
- Support for the Executable Items plugin


API
More information about the API can be found on GitHub

A free custom item plugin you have installed is not supported? Open a ticket on my discord server.
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

KeepItems is a free Minecraft Java mod. Compatible with Minecraft 1.14, 1.15, 1.16, 1.17 and newer. Downloaded 2,520 times (via Spigot). Download it and open it directly in the game.

Explore more