SPluginsSPlugins

Bag of items

If you would like to store items like having a bag of cobblestone, or bag of different stuff, this is your place

Info

This needs PlaceholderAPI and its extension of CheckItem, it can be done without it but its better with it, that's why this tutorial uses it.

Tutorial

In this case the bag will store COBBLESTONE and ANDESITE (2 items for you to see how to manage with more than one item). First we will create the one with COBBLESTONE and then, after finishing that one, the one with ANDESITE.

  • Create the EI with /ei create <id>

  • Set the material, name, lore, etc

Info

In this case I already know that the "stuff" stored will be stored in a variable, that's why I wrote it instantly as variable in the lore.

  • Now let's create the variables (I will create both instantly, the cobblestone and andesite)

ACTIVATOR OF STORING COBBLESTONE

  • Now let's create the activator that will store the cobblestone, in this case RIGHT CLICK activator

    • Let's add the modification of the variable

    • Let's add the placeholder condition so this only works if the player has at least 1 cobblestone

    • And now the commands (the first one to display how many cobblestone he stored and the second to remove the cobblestones.)

  • And that's it, now our bucket pickups the cobblestone perfectly, but we need a way to take out the cobblestone, there are many ways to achieve this:

    • Make an activator that pickups cobblestone x1
    • Make an activator that pickups cobblestone x16
    • Make an activator that pickups cobblestone x64
    • Make an activator that gives as many cobblestone as you hold shift
    • Make an activator that drops ALL cobblestone stored inside the bucket
    • etc
  • I will make the one that pickups x32 cobblestone, the another ones follow the same method, its the same idea.

ACTIVATOR OF TAKING COBBLESTONE

  • Activator LEFT CLICK

  • Condition the player has at least 32 cobblestone stored in the variable

  • Let's modify the variable

  • And let's give the player the cobblestone

  • Now everything is done, we just need to test it.

And its working perfectly !! Now let's do the same with andesite

And all goooood !!!, if have any question feel free to ask, there are many ways to complex this, such as creating a selector inside the lore of the item to select what to store, or how much to take, this is the most basic bag you can create ^^

Try it now

Copy this into ExecutableItems and reload

From the SCore custom commands reference. Paste it into a config, run the plugin's reload command, and you have a working starting point to edit.

activators:
  activator0: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of player
    playerCommands:
    - ABSORPTION amount:5 time:200 # Gives the player absorption
  activator1: # Activator ID, you can create as many activator on the activators list
    option: # Here goes an activator that is at least instance of target
    targetCommands:
    - ABSORPTION amount:5 time:200 # Gives the target absorption
ExecutableItems

Plugin used on this page

ExecutableItems

Custom items with abilities, activators and commands — no code.

  • 5.0/5 from 10 reviews
  • 3.1K servers running it right now (bStats)
  • 52 downloads on SPlugins

€19.99

one-time, lifetime updates

Created Oct 26, 2025Last updated Jun 22, 2026 by Ssomar
Edit this page on GitHub