Project icon Hyllo Soft Peaceful
Hyllo Soft Peaceful

Make monsters passive toward players, unless attacked, for a soft peaceful experience.

226
4 days ago
AdventureGame MechanicsMobsUtility

A Hytale plugin for a peaceful experience.

This plugin makes monsters passive toward players by default. When a player attacks a monster, the player is considered aggressive for a configurable duration, causing nearby monsters to target and attack them. After the player's last attack, a timer counts down a configured duration, and once it expires, monsters return to being passive toward that player.

Since 2.4.0, the player is also healed (optional).

Configuration

Configuration file

The configuration is saved in file mods/Hyllo_SoftPeaceful/config.json:

{
  "Enabled": true,
  "PlayerHeal": true,
  "AggressionDuration": 30.0
}
Configuration keyDescriptionDefault value
EnabledWhether the plugin is enabled. Set to false to disable it.true
PlayerHealWhether debuffs are removed and health restored when becoming passive.true
AggressionDurationHow long a player remains aggressive after their last attack (in seconds).30.0

Configuration command

This plugin can be configured with the /softpeaceful command:

CommandDescription
/softpeaceful showShow all configuration values
/softpeaceful menuOpen the in-game configuration menu
/softpeaceful enabled true/falseEnable or disable the plugin
/softpeaceful playerheal true/falseEnable or disable the player healing
/softpeaceful aggressionduration 30Set aggression duration to 30 seconds

Configuration menu

/softpeaceful menu opens an in-game menu with the same settings. Every change is applied and saved immediately, so there is nothing to confirm. The menu also has a "Reset to default" button, and closes with the "Close" button or the Escape key.

The aggression duration field in the menu is limited to 0 to 3600 seconds. The /softpeaceful aggressionduration command is not limited.

Development

If you like this plugin, you can donate to help its development.

License

This is free and unencumbered software released into the public domain.

For the full license terms, see UNLICENSE.

Creators

0followers
1project
226downloads

Details

Licensed Unlicense
Created Mar 17
Updated Oct 4
ID: 2U9auA