HomeJavaModsPick Up
Pick Up
ModsJava

Pick Up

by TaXiaoQi · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.2–1.21.11 · Folia⬇ Download for 1.21.1–1.21.11 · Paper⬇ Download for 1.21.2–1.21.11 · Spigot⬇ Download for 1.21.2–1.21.10 · Bukkit
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

PickUp Mod

Primary Purpose

A plugin that allows fully customizable pickup behavior for both players and mobs, completely rewriting and replacing Minecraft's vanilla item pickup logic. It supports customizing pickup range, item merging, pickup delay, and more—delivering better performance than the vanilla system while being fully compatible with Folia's multi-threaded architecture.

Key Controls

Advanced Controls

Features

Advanced Features

Performance & Optimization

Key Advantages

Important Notes

Installation

  1. Ensure you're running Paper 1.17+ or Folia 1.19.4+
  2. Place PickUp.jar in your plugins/ folder
  3. Restart your server
  4. Use /up status to verify installation
  5. Configure settings via /up set or edit config.yml

Quick Start Commands

/up help                    # Show all commands
/up true                    # Enable smart pickup
/up set pickup.range 2.5    # Set pickup range to 2.5 blocks
/up set mode.player-driven true  # Enable player-driven mode
/up reload                  # Apply configuration changes

Server Reload Principle & External Script Explanation

Why Not Use Bukkit's /reload?

Bukkit/Spigot's native /reload command carries a significant risk of memory leaks and is no longer recommended by the official teams. To ensure long-term server stability, the PickUp plugin employs a "soft shutdown + external restart" mechanism for safe reloading.

How It Works

  1. A player executes /mc restart
  2. The plugin performs the following actions:
    • Stops all event listeners
    • Cleans up temporary in-memory data
    • Creates a restart.flag marker file in the plugin directory
    • Calls Bukkit.shutdown() to gracefully shut down the server
  3. The external startup script detects the existence of restart.flag → automatically restarts the server
  4. After restart, the plugin loads normally, configuration takes effect, with no leftover state

✅ The entire process is free of memory leaks and class loading conflicts, suitable for production environments.

Windows Startup Script Example (start.bat)

@echo off
chcp 936 >nul
title Minecraft服务器
cd /d "%~dp0"

echo [%date% %time%] 正在启动服务器...
java -Xmx2G -Xms1G -Dfile.encoding=GBK -jar folia-1.21.11-9.jar nogui

echo [%date% %time%] 服务器已关闭。

if exist restart.flag (
    del restart.flag
    echo [%date% %time%] 检测到重启请求,5秒后重新启动...
    timeout /t 5 >nul
    goto restart
)

echo.
echo 未检测到重启请求,5秒后自动退出...
timeout /t 5 >nul

📝 Usage Instructions:

  • Save this script as start.bat in the same directory as your paper-*.jar
  • Always start the server by double-clicking start.bat
  • After executing /mc reload, the server will automatically restart and apply new configuration

🐧 For Linux / macOS Users?

Simply write an equivalent shell script (start.sh) with the same logic:

#!/bin/bash
while true; do
  java -Xmx1G -Xms1G -jar paper-1.21.10-115.jar nogui
  if [ -f "restart.flag" ]; then
    rm -f restart.flag
    echo "Restart request detected, restarting in 5 seconds..."
    sleep 5
  else
    echo "Normal exit."
    break
  fi
done

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details.

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.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more