BUG FIX
Random Inventory Bug Fix
-
Fixed a bug in the random inventory feature that caused it to always be active, regardless of the configuration setting.
-
What was the issue?
- The random inventory feature remained active even when the
random_inventory.enabled
setting in the configuration was set tofalse
.
- The random inventory feature remained active even when the
-
How was it resolved?
- The issue has been fixed so that the feature correctly follows the configuration settings.
- If
random_inventory.enabled
is set tofalse
, the functionality is now fully disabled.
2. Custom Drops for Modded Mobs (NEW)
-
What does it do?
- Extends the custom drops functionality to support modded mobs or entities beyond vanilla Minecraft.
-
How does it work?
- You can now specify entities using the format
namespace:entity_name
in theconfig.yml
. - This allows for adding custom drops to any mob, including those introduced by mods.
- You can now specify entities using the format
-
Configuration Example:
custom_drops: replace_drops: false # Determines whether original drops are replaced or combined with custom ones. entities: minecraft:chicken: # Vanilla Minecraft mob drop_1: item: minecraft:stone probability: 0.05 modnamespace:custom_mob: # Custom modded mob drop_1: item: modnamespace:custom_item probability: 0.3 drop_2: item: modnamespace:rare_item probability: 0.1
PREVIEW NEXT PATCH
- In custom drops add drops for mods/plugin/datpack..etc
Some Fixs
- Some logs for dev be deleted
- Some process be Async for more efficiency
NEW ADD 1.0.4
1. BlockItem Configuration (NEW)
-
What does it do?
Introduces a system to block specific items from being used in the game. -
Key Features:
- Enable/Disable Blocking: Controlled via the
BlockItem
option inconfig.yml
.BlockItem: true
enables blocking.BlockItem: false
disables blocking (all items function normally).
- Blocked Items List: Items specified under
BlockedItems
in the configuration will have their usage restricted. - Namespace Support: Fully supports both vanilla and modded items using
<namespace>:<item_name>
format.
- Enable/Disable Blocking: Controlled via the
-
Behavior:
- Weapons: Blocked weapons (e.g., swords, axes) cannot deal damage. Players receive the message:
"Can't use this weapon, it is blocked."
- Potions: Blocked potions (both drinkable and throwable) cannot be consumed or thrown.
- Activable Items: Any right-click activable items in the blocked list will not function.
- Weapons: Blocked weapons (e.g., swords, axes) cannot deal damage. Players receive the message:
-
Configuration Example:
BlockItem: true BlockedItems: - minecraft:diamond_sword # Diamond Sword - minecraft:diamond_axe # Diamond Axe - minecraft:bow # Bow - minecraft:potion # All Potions - iceandfire:sword_lighthing # Modded Item Example # Mensajes configurables Messages: WeaponBlocked: "§cCan't use this weapon, it is blocked." ItemBlocked: "§cYou can't use this item, it is blocked." ConsumeBlocked: "§cYou can't consume this item, it is blocked."
BUG FIX 1.0.3
- Some translates
- Command fix
/reloadconfig
for Custom drop - Delete debugs (dev) innecesary
CHANGELOG 1.0.3
1. Announcement System (NEW)
-
What does it do?
- Allows the configuration and scheduling of announcements in the server at specified intervals.
-
How does it work?
- Announcements are defined in the
config.yml
file, where each entry includes aMessage
and aTime
(interval in seconds). - The plugin automatically loads and broadcasts the announcements to all players at the defined intervals.
- The announcements are loaded when the plugin starts and can be reloaded without restarting the server by using the
/reloadconfig
command.
- Announcements are defined in the
-
Configuration:
- Added a new section in
config.yml
to configure multiple announcements:Announce: - Message: "This is a test message 1" Time: 300 - Message: "This is a test message 2" Time: 500 - Message: "This is a test message 3" Time: 600
Message
: The message to be broadcast to all players.Time
: The interval in seconds between each announcement.
- Added a new section in
-
Automatic Announcement Broadcast:
- The plugin will send announcements at the specified time intervals without any additional action from the user.
-
Why is it useful?
- Useful for periodic server-wide messages such as events, reminders, or announcements.
- Provides a way to inform players at regular intervals, improving communication across the server.
Additional Notes
- Announcements can be reloaded dynamically without restarting the server using the
/reloadconfig
command. - The plugin will log details about the loaded announcements and any issues with the configuration.
1. Custom Drops System
- What does it do?
Adds a customizable drops system where entities can drop specific items with defined probabilities. - How does it work?
- You can configure custom drops for specific entities (mobs) in the
config.yml
. - Each drop is assigned an item and a probability. For example:
item: minecraft:stone
probability: 0.05
(5% chance of dropping)
- Replace Drops Option: You can decide if the custom drops should replace the default drops or be added to them using
replace_drops: true
orfalse
. - Debugging Messages: Logs in the console will notify if a custom drop was successful or failed, providing transparency during testing.
- You can configure custom drops for specific entities (mobs) in the
- Why is it useful?
This feature allows server admins to enhance gameplay by giving mobs custom rewards, adding variety and excitement to encounters.
2. Dynamic Configuration Reload
- What does it do?
Enables admins to reload the plugin's configuration dynamically without restarting the server. - How does it work?
- Players with the
threadsplugin.reload
permission can run the/reloadconfig
command. - This command reloads the plugin configuration (
config.yml
) and applies the new settings immediately. - Debugging messages confirm the reload process in real-time, ensuring admins know if the process was successful.
- Players with the
- Why is it useful?
This feature provides flexibility for server administrators to tweak settings and implement changes on the fly, minimizing downtime.
VERSION OF MINECRAFT TESTED: 1.20.1.
1. Damage and HP Modifier Settings **What does it do?
-
What it does** **modifies the damage done by entities (mobs) in the game or the max health of enemies. You can increase or decrease the damage/hp of enemies like zombies or creepers.
-
How does it work? You adjust the “damage multiplier” of each entity:
-
dmgmodifier: 1.0
: Damage is normal. -
dmgmodifier: 2.0
: Damage is doubled (it does double damage). -
dmgmodifier: 0.5
: Damage is halved. -
hpmodifier: 1.0
: Hp is normal. -
hpmodifier: 2.0
: Hp doubles (does double damage). -
hpmodifier: 0.5
: Hp is halved.
-
-
Why is it useful?** Allows to create a more challenging or balanced game, adjusting the mobs power according to the server needs.
2. Random Inventory
- What does it do?** When a Phantom (the flying mob) attacks a player at night, it revolves his inventory, i.e. it changes the items in his inventory randomly.
- How does it work? If the option is enabled, the Phantom changes the player's items when it hits him. If it is disabled, nothing happens.
- Why is it useful?** It adds a touch of chaos to the game, where players have to keep an eye on their inventory, as they may lose important items in an attack.
3. Sunburn
- What does it do? Players who are directly exposed to the sun will take damage.
- How does it work?** If enabled:
- During the day (from 0 to 11999 ticks in game), if a player is in the sun , will suffer damage.
- If the player has a Fire Protection potion or Is in the “shadow ”, they will not be affected by sun damage.
- Why is this useful? Introduces a new challenge where players must seek shelter in the shade or use potions to avoid being damaged by the sun.
4. Divine Totem
- What does it do?** It is a special item that resurrects the player when they die, giving them a second chance.
- How does it work?** The Divine Totem is used when the player dies. If he has the Totem in his hand (primary or secondary), it will resurrect him with some life remaining, and reduce the uses of the Totem.
- Each Totem has a limited number of uses, such as 3 uses by default.
- After using it, the number of remaining uses is displayed on the object and is updated each time it is used.
- Why is it useful? The Divine Totem is a “last chance” for players in dangerous situations, which adds a layer of strategy to the game. Also, since it has limited uses, players must decide when and how to use it wisely.