
RandomCart
Add a surprise element to mining on your Minecraft server by giving blocks a chance to spawn a "RandomCart" with items in it.
- Загрузки
- 692
- Подписчики
- 5
- Обновлён
- 12 августа 2024 г.
- Лицензия
- MIT
Опубликован 29 декабря 2022 г.
RandomCart
Add an element of surprise to mining on your Minecraft server!
Features
- Lightweight & performant!
- Support for all Minecraft versions after 1.13.
- Easy to understand configuration.
- Create "Random Carts" easily through the configuration.
- Set the chance percentage for a block to spawn a Random Cart.
- The ability to specify enchantments, amount, display name & lore for each item.
- Now with support for Folia!
How does this work?
When mining, players on your server, each block they break will have a slight chance of summoning a random Minecart Chest from a list of Minecarts you have specified in the configuration file.
How to use?
- Download the latest release of the plugin.
- Put the downloaded file into your plugins directory.
- Restart your server.
- Head to "plugins/RandomCart/config.yml" and configure the plugin to your liking!
- Once you're done configuring, restart your server again!
Reporting issues
If you run into an issue whilst using my plugin, feel free to open an issue and please explain the issue you're experiencing thoroughly with reproduction steps. Make sure to attach your config.yml alongside your report and a stacktrace of the error, if any.
Ченджлог
1.1.0Релиз1.20.6, 1.21, 1.21.1 · 12 августа 2024 г.
- Migrated the project from Maven to Gradle.
- Adds
disabled-worlds,disabled-gamemodesanddisabled-enchantments, to disable summoning of RandomCarts in certain worlds, if the player is in a certain gamemode or if the player is holding an item with a certain enchantment.
⚠️ This update includes breaking changes to the configuration file, you may view the updated configuration in the config.yml file.
1.0.5Релиз1.19.4, 1.20, 1.20.1 · 31 июля 2023 г.
This release adds bStats metrics data collection, all data collected is fully anonymous and gives me useful insight on the usage of this plugin. You can opt-out by setting toggle-metrics to false in the config.yml file of this plugin.
1.0.4Релиз1.19.4, 1.20, 1.20.1 · 30 июля 2023 г.
This release adds support for running the plugin on Folia, the high performance multithreading Minecraft server software.
1.0.3Релиз1.19.4, 1.20, 1.20.1 · 29 июля 2023 г.
This release fixes a bug where the block break event wasn't being checked for whether it was cancelled or not, so the minecarts would summon even if the player's block break event was cancelled.
1.0.2Релиз1.19.1, 1.19.2, 1.19.3 · 30 декабря 2022 г.
This release introduces a new feature and fixes a major bug that 1.0.0 & 1.0.1 had.
Features introduced:
- You can now set the slot for an item and the item will appear in the slot you set in the configuration. Fixes:
- You can now define the same item twice, previously, you couldn't.
⚠️ This update includes breaking changes to the configuration file and you will have to manually update your configuration, the changes are listed below:
Here is an example of what the configuration looks like now:
miner-cart: # Identifier used internally by the plugin.
name: "&9Miner's Cart" # Displayed in the Minecart's Chest GUI as the title.
# List of items that will be included in this preset.
items:
0: # Slot the item should be added in. Slots begin from 0.
material: "IRON_PICKAXE" # The Item Name.
display-name: "&fMiner's Pickaxe" # The Name of the item displayed to players.
# Lore of the Item displayed to players.
lore:
- "&7From the deepest depths of the caves."
# Item Enchantments
enchantments:
EFFICIENCY: # Enchantment Name.
level: 4 # Enchantment Level.
1:
material: "STONE"
display-name: "&dSpecial Stone"
lore:
- "&7I don't know why!"
amount: 64
2:
material: "STONE_BRICKS"
amount: 64
3:
material: "COOKED_PORKCHOP"
amount: 16
4:
material: "COBBLESTONE"
As you may notice from looking at the configuration, here's what's changed:
- Item Names are now defined under the
materialkey. - Where once item names were defined, now the slot is defined.
Please make sure to update your configuration, else, it will not work!
1.0.1Релиз1.19.1, 1.19.2, 1.19.3 · 29 декабря 2022 г.
This release fixes an issue with the configuration file and how the configuration is read.
Комментарии
Загружаем…