RandomEffects
RU | EN
RandomEffects 是一个灵活的 Minecraft 插件,可在游戏过程中为玩家随机施加药水效果,带来不可预测且充满刺激的游戏挑战。

功能特性
- 多种效果应用模式:
- 定时模式:按可配置的时间间隔对所有玩家随机施加效果
- 区块模式:玩家进入不同区块时获得新的效果
- 加入模式:玩家加入服务器时获得效果
- 完全自定义的效果设置
- 配置可用效果、持续时间和等级(增幅器)
- 控制同时生效的效果数量
- 可选粒子显示
- 多语言支持(英语和俄语)
- 简单直观的命令
- 兼容多个 Minecraft 版本(1.8.8+)
要求
- Java 8 或更高版本
- Spigot/Bukkit 服务器(1.8.8 或更高版本)
安装
- 从发布页面下载最新的
RandomEffects-1.0.0.jar
- 将 JAR 文件放入服务器的
plugins 文件夹中
- 重启服务器
- 默认配置文件将在
plugins/RandomEffects/config.yml 处生成
配置
插件会在 plugins/RandomEffects 目录下创建 config.yml 文件。主要设置包括:
# 语言设置 (en, ru)
language: en
# 效果设置
effects:
# 定时模式 - 在同一时间激活所有人的效果
timed:
enabled: true
interval: 60 # 秒
# 区块模式 - 当玩家进入新区块时激活效果
chunk:
enabled: true
# 玩家加入服务器时应用效果
applyOnJoin: true
# 持续时间范围(秒)
duration:
min: 20
max: 60
# 等级范围(0 = I 级,1 = II 级,依此类推)
amplifier:
min: 0
max: 2
用法
基本命令:
/randomeffects - 显示插件信息
/randomeffects help - 显示帮助信息
/randomeffects reload - 重新加载插件配置
/randomeffects apply [player] - 对自己或指定玩家施加随机效果
/randomeffects clear [player] - 清除自己或指定玩家身上的效果
/randomeffects toggle <timed|chunk> - 切换特定的插件模式
/randomeffects interval <seconds> - 设置定时模式的间隔时间
别名:/reffects, /reff
权限
randomeffects.use - 基本命令访问权限(默认:true)
randomeffects.admin.reload - 重新加载配置(默认:op)
randomeffects.admin.apply - 对玩家施加效果(默认:op)
randomeffects.admin.clear - 清除玩家身上的效果(默认:op)
randomeffects.admin.toggle - 切换插件模式(默认:op)
randomeffects.admin.interval - 更改定时效果的间隔(默认:op)
从源码构建
本项目使用 Maven 作为构建系统。要构建该插件:
- 克隆仓库
- 进入项目目录
- 运行:
mvn -B package --file pom.xml
编译后的 JAR 文件将位于 target/RandomEffects-1.0.0.jar
依赖项
RandomEffects
RU | EN
RandomEffects is a flexible Minecraft plugin that applies random potion effects to players during gameplay, creating unpredictable and exciting challenges.

Features
- Multiple effect application modes:
- Timed Mode: Apply random effects to all players at configurable intervals
- Chunk Mode: Players receive new effects when entering different chunks
- Join Mode: Players receive effects upon joining the server
- Fully customizable effect settings
- Configure available effects, durations, and amplifiers
- Control number of simultaneous effects
- Optional particle display
- Multi-language support (English and Russian)
- Simple and intuitive commands
- Compatible with multiple Minecraft versions (1.8.8+)
Requirements
- Java 8 or higher
- Spigot/Bukkit server (1.8.8 or higher)
Installation
- Download the latest
RandomEffects-1.0.0.jar from the releases section
- Place the JAR file in your server's
plugins folder
- Restart your server
- A default configuration file will be generated at
plugins/RandomEffects/config.yml
Configuration
The plugin creates a config.yml file in the plugins/RandomEffects directory. Key settings include:
# Language settings (en, ru)
language: en
# Effects settings
effects:
# Timed mode - activates effects for everyone at the same time
timed:
enabled: true
interval: 60 # seconds
# Chunk mode - activates effects when a player enters a new chunk
chunk:
enabled: true
# Apply effects when a player joins the server
applyOnJoin: true
# Duration range in seconds
duration:
min: 20
max: 60
# Amplifier range (0 = level I, 1 = level II, etc.)
amplifier:
min: 0
max: 2
Usage
Basic commands:
/randomeffects - Show plugin information
/randomeffects help - Display help information
/randomeffects reload - Reload the plugin configuration
/randomeffects apply [player] - Apply random effects to yourself or specified player
/randomeffects clear [player] - Clear effects from yourself or specified player
/randomeffects toggle <timed|chunk> - Toggle a specific plugin mode
/randomeffects interval <seconds> - Set the timed mode interval
Aliases: /reffects, /reff
Permissions
randomeffects.use - Basic command access (default: true)
randomeffects.admin.reload - Reload configuration (default: op)
randomeffects.admin.apply - Apply effects to players (default: op)
randomeffects.admin.clear - Clear effects from players (default: op)
randomeffects.admin.toggle - Toggle plugin modes (default: op)
randomeffects.admin.interval - Change timed effects interval (default: op)
Building from Source
This project uses Maven as its build system. To build the plugin:
- Clone the repository
- Navigate to the project directory
- Run:
mvn -B package --file pom.xml
The compiled JAR will be in target/RandomEffects-1.0.0.jar
Dependencies
评论 0
登录后参与评分
还没有评论,来抢沙发吧