HomeJavaModsRefreshLoot
RefreshLoot

RefreshLoot - Loot Refresh Plugin

Plugin Information

Function Description

RefreshLoot is a plugin designed to refresh items in containers across the world. Administrators can use commands to refresh random slots in all containers, including chests, trapped chests, large chests, barrels, furnaces, hoppers, and more.

Main Features

Commands

Configuration Instructions

Basic Settings

settings:
  debug: false                    # Whether to enable debug mode
  refresh-interval: 300           # Refresh interval in seconds
  random-slots: 3                 # Number of random slots to refresh each time
  clear-containers: true          # Whether to clear container contents before refreshing

Container Clearing Explanation:

Container Configuration

Each container type can be configured individually:

Item Format

Item configuration format: MATERIAL:min-max

Important Note: In Minecraft 1.21.4, the names of golden equipment have been changed:

Refer to the MATERIAL_NAMES.md file for a detailed list of item names.

Supported Container Types

Installation Method

  1. Place the compiled RefreshLoot-1.0.0.jar file into the server's plugins folder.
  2. Restart the server or use the /reload command.
  3. The plugin will automatically generate a configuration file config.yml.
  4. Modify the configuration file as needed.
  5. Use the /rloot command to start refreshing containers.

Reload Functionality

The plugin supports hot-reloading configuration files without restarting the server:

Usage

/rloot reload

Reload Features

When to Reload

Notes

Permissions

RefreshLoot - 物资刷新插件

插件信息

功能描述

RefreshLoot 是一个用于刷新世界内容器物品的插件。管理员可以使用命令来刷新世界内所有容器的随机槽位,包括箱子、陷阱箱、大箱子、木桶、熔炉、漏斗等。

主要特性

命令

配置说明

基本设置

settings:
  debug: false                    # 是否启用调试模式
  refresh-interval: 300           # 刷新间隔(秒)
  random-slots: 3                 # 每次刷新时随机刷新的槽位数量
  clear-containers: true          # 是否在刷新前清除容器内容

清除容器功能说明:

容器配置

每个容器类型都可以单独配置:

物品格式

物品配置格式:MATERIAL:min-max

重要提示: 在Minecraft 1.21.4版本中,金质装备的名称已更改:

详细物品名称对照表请参考 MATERIAL_NAMES.md 文件。

支持的容器类型

安装方法

  1. 将编译好的 RefreshLoot-1.0.0.jar 文件放入服务器的 plugins 文件夹
  2. 重启服务器或使用 /reload 命令
  3. 插件会自动生成配置文件 config.yml
  4. 根据需要修改配置文件
  5. 使用 /rloot 命令开始刷新容器

重载功能

插件支持热重载配置文件,无需重启服务器:

使用方法

/rloot reload

重载功能特点

重载时机


## 注意事项
- 插件会扫描世界中的所有区块来查找容器,在大世界中可能需要较长时间
- 建议在服务器负载较低时使用刷新命令
- 可以通过配置文件自定义每种容器刷新的物品和数量
- 启用调试模式可以查看详细的刷新信息

## 权限
- `refreshloot.admin` - 允许使用物资刷新命令(默认OP权限)
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