Skip to content

Sauron971/SpawnerMineAR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpawnerMineAR Minecraft Plugin

This plugin is designed for Minecraft 1.20 servers.

It allows server administrators to create special mining areas where ore blocks are automatically generated with configurable chances.

The plugin creates a 5x5 area around a selected point and fills it with different resources using a random generation system.


Features

  • Supports Minecraft version 1.20;
  • Creates custom mining areas;
  • GUI for selecting generation points;
  • Saves created points in configuration;
  • Automatic ore generation by timer;
  • Configurable generation interval;
  • Random block generation system.

Generated Resources

The plugin supports generation of:

  • Iron ore;
  • Coal ore;
  • Copper ore;
  • Gold ore;
  • Redstone ore;
  • Amethyst;
  • Diamond;
  • Emerald.

Generation chances:

  • Common ores have a higher chance of appearing;
  • Diamond and emerald have a rare spawn chance.

How it works

  1. The player uses the GUI to select a point in the world.
  2. The selected location is saved in the configuration file.
  3. At the configured time interval, the plugin calculates a 5x5 area around this point.
  4. A two-dimensional array of Location objects is created.
  5. Each location is processed and filled with blocks using a random generation system.

Configuration

The plugin allows adjusting generation settings through the configuration file:

  • Generation interval;
  • Mining area location;
  • Resource generation parameters.

Installation

  1. Download the plugin .jar file.
  2. Place it into the server plugins folder.
  3. Restart the Minecraft server.
  4. Configure the plugin settings.

Requirements

  • Minecraft 1.20 Server;
  • Bukkit / Spigot / Paper API.

SpawnerMineAR Minecraft Plugin

Плагин для Minecraft 1.20 серверов.

Данный плагин позволяет создавать специальные зоны добычи, в которых автоматически генерируются блоки руды с настраиваемым шансом появления.

Плагин создаёт область размером 5x5 блоков вокруг выбранной точки и заполняет её ресурсами через систему случайной генерации.


Возможности

  • Поддержка Minecraft 1.20;
  • Создание специальных зон добычи;
  • Выбор точки генерации через GUI;
  • Сохранение точек в конфигурации;
  • Автоматическая генерация ресурсов по таймеру;
  • Настройка интервала генерации;
  • Система случайного появления блоков.

Генерируемые ресурсы

Плагин поддерживает генерацию:

  • Железной руды;
  • Угольной руды;
  • Медной руды;
  • Золотой руды;
  • Редстоуна;
  • Аметиста;
  • Алмазов;
  • Изумрудов.

Вероятность появления:

  • Обычные ресурсы имеют больший шанс генерации;
  • Алмазы и изумруды появляются редко.

Принцип работы

  1. Игрок через GUI выбирает точку в мире.
  2. Выбранная позиция сохраняется в конфигурационный файл.
  3. Через установленный промежуток времени рассчитывается область 5x5 относительно этой точки.
  4. Создаётся двумерный массив объектов Location.
  5. Каждая позиция обрабатывается в цикле и заполняется блоками через систему случайного выбора материала.

Настройка

Через конфигурацию можно изменить:

  • Интервал генерации;
  • Параметры зоны добычи;
  • Настройки генерации ресурсов.

Установка

  1. Скачать файл плагина .jar.
  2. Поместить его в папку plugins сервера.
  3. Перезапустить Minecraft сервер.
  4. Настроить конфигурацию плагина.

Требования

  • Minecraft сервер версии 1.20;
  • Bukkit / Spigot / Paper API.

About

Plugin for 1.21 Minecraft.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages