AntiSeedMine
A plugin that anti seed mining(support folioa)
AntiSeedMine
AntiSeedMine
A Minecraft Spigot plugin designed to prevent seed-based ore X-ray by redistributing ore positions through timestamp-based random offsets.
🎯 Features
- Version Compatible: Automatically offsets ore positions during chunk generation - Version Compatible: Supports world creation time, server start time, or custom timestamps - Version Compatible: Independent offset configuration for X, Y, Z axes - Version Compatible: Enable for all worlds or specific worlds only - Version Compatible: Full support for Folia servers - Version Compatible: Supports Minecraft 1.16.5 to latest versions
🚀 Installation
1. Download the latest `AntiSeedMine.jar` file 2. Place the file in your server's `plugins` folder 3. Restart the server 4. Modify `config.yml` and `block.yml` configuration files as needed
⚙️ Configuration
Main Configuration (config.yml)
```yaml
Timestamp settings
timestamp: source: WORLD_CREATION # WORLD_CREATION | SERVER_START | CUSTOM custom-value: 0 # Only used when CUSTOM
Offset range settings
offset: x: { min: 5, max: 10 } z: { min: 5, max: 10 } y: { min: 1, max: 2 }
World settings
worlds: enable-all: true # Enable for all worlds enabled-worlds: # Only used when enable-all is false - world - world_nether - world_the_end
Debug mode
debug: false ```
Supported Ores
The plugin supports all vanilla ores, including: - Coal, Iron, Copper, Gold, Redstone, Lapis Lazuli, Diamond, Emerald ores - Deepslate variants (1.17+) - Nether Quartz ore, Ancient Debris
🎮 Commands
| Command | Permission | Description | |---------|------------|-------------| | `/antiseedmine` | `antiseedmine.use` | Show help information | | `/antiseedmine reload` | `antiseedmine.reload` | Reload configuration files | | `/antiseedmine info` | `antiseedmine.info` | Show plugin information |
🔧 How It Works
1. Listens to chunk generation events 2. Scans ore blocks in newly generated chunks 3. Generates deterministic random offsets based on timestamp and coordinates 4. Moves ores to new positions and replaces original positions with appropriate stone
Note: This plugin only works during initial chunk generation and has no effect on already generated chunks.
🛠️ Development
Building the Project
```bash git clone https://github.com/Little100/AntiSeedMine.git cd AntiSeedMine ./gradlew build ```
Requirements
- Java 17+ - Gradle 7.0+ - Spigot API 1.16.5+
📝 License
This project is licensed under the GPL-3.0 License - see the LICENSE file for details.
📞 Contact
- Author: Little_100 - Website: www.little100.top - Project Link: https://github.com/Little100/AntiSeedMine