š Dogs Companion ā Loyal Combat Companions
ā ļø BETA VERSION This is a beta version, several features are still work in progress.
Important update note:
Always remove all old versions of this plugin from your mods folder before updating, to avoid
issues like double saving or server startup errors!
š Overview
Bring loyal dog companions into your Hytale world.
This plugin adds tameable dogs that can follow you, defend you, and fight alongside you in combat.
Unlike passive companions such as cats (which are designed for decoration and interaction), dogs are
active combat companions that can deal damage, defend their owner, and assist in battles.
Dogs support multiple behavior modes including defensive guarding and offensive assault, making them
powerful allies for exploration, dungeon raids, and base defense.
Companion comparison:
- š± Cats ā Peaceful decorative companions without combat abilities
- š Dogs ā Active combat companions that fight and defend
ā Current Features
Working Features
- Multiple dog breeds: Generic Dog, German Shepherd, Shiba Inu (more breeds planned)
- Taming system using raw or cooked meat
- Automatic dog naming with unique names for each dog
- Full command-based interaction via
/dog - Custom dog names with
/dog name - Dog ownership limits configurable via permissions
- Combat capabilities with damage dealing (6.0 damage per attack)
- Defense Mode: Dogs automatically defend their owner when attacked (20 block radius)
- Offense Mode: Dogs assist their owner in combat when owner attacks (20 block radius)
- Attack Command: Direct your dog to attack specific targets
- Multiple behavior states: sitting, following, waiting, wandering, sleeping, playing, attacking
- Matching animations for each behavior
- Visual nameplate indicators showing current mode: [DEF], [OFF], [ATK], [SIT]
- Dog sounds
- Item consumption for taming and feeding (items are consumed from the player's inventory)
- Persistent component data for owner + state (component CODECs)
- Full memory system support for NPC tracking and persistence
- Persistent dog data storage with owner names, positions, and states
(saved inworlds/default/resources/DogsCompanionData.json)
How to Get a Dog
Manual Spawning: Use the NPC spawn command to create dogs:
/npc spawn DogsCompanion_Wild
/npc spawn DogsCompanion_GermanShepherd_Wild
/npc spawn DogsCompanion_ShibaInu_Wild
Spawn Eggs: Each breed has a spawn egg:
Egg_Spawner_DogsCompanionā Generic DogEgg_Spawner_DogsCompanion_GermanShepherdā German ShepherdEgg_Spawner_DogsCompanion_ShibaInuā Shiba Inu
Note: Natural spawning is planned for a future update.
How to Tame a Dog
- Get meat (Raw Wildmeat or Cooked Wildmeat)
- Hold meat and approach a wild dog
- Press F (interact) on the dog multiple times - requires 2-5 feedings (random)
- Your dog gets an automatic unique name (e.g., "Max", "Buddy", "Rex")
Tips:
- Enable "Allow NPC Detection" in Creative Mode Quick Settings (TAB) to interact in Creative
- Tamed dogs can be fed meat to keep them happy
- Use empty hand to cycle combat modes (press F)
- Wrong items may upset wild dogs
Combat System
Dogs have powerful combat capabilities that make them valuable companions:
Attack Stats
- Base Damage: 6.0 per hit
- Attack Speed: 2.5 seconds cooldown between attacks
- Attack Range: ~2.5 blocks
- Strike Delay: 400ms wind-up before damage is dealt
Combat Modes
Mode Cycling (Interact with Dog)
- Press F (interact) on your dog with an empty hand to cycle through combat modes
- Cycle order: Following ā Defense ā Offense ā Sitting ā Following
- Current mode is shown on the dog's nameplate
Defense Mode [DEF]
- Dogs automatically defend their owner when attacked by enemies
- Activation radius: 20 blocks
- Dogs will engage any entity that damages their owner
- Ideal for: Base defense, exploring dangerous areas, dungeon exploration
Offense Mode [OFF]
- Dogs assist when their owner initiates combat
- Activation radius: 20 blocks
- Dogs will attack the same target as their owner
- Ideal for: Hunting, raiding, aggressive playstyle
Attack Command (/dog attack)
- Manually direct your dog to attack a specific target
- Look at the target entity and use
/dog attack - Dog will engage until the target is defeated or command is cancelled
- Visual indicator: [ATK] on nameplate
Combat Tips:
- Dogs show a striking animation before dealing damage
- Heart particles appear when dogs defeat enemies
- Dogs automatically return to following after defeating targets in Defense/Offense mode
- Cycle to Sitting mode to keep dogs out of combat
- Use
/dog sitor/dog waitto keep dogs stationary
Available Commands
General Commands
/dog infoā Show detailed dog information (works on any dog)/dog listā List all dogs owned by a player/dog ownerā Admin command to change ownership/dog spawnā Spawn a previously despawned dog/dog despawnā Despawn a dog (saves state, can be respawned later)
Tamed Dog Commands
Commands work by looking at your tamed dog or by providing its entity ID:
/dog followā Make the dog follow you (default behavior)/dog name <name>ā Set a custom name/dog playā Enable playful behavior/dog releaseā Release your dog back to the wild/dog sitā Make the dog sit and stay/dog sleepā Put the dog to sleep/dog waitā Stop following and wait in place/dog wanderā Allow free roaming/dog attackā [Combat] Command dog to attack the target you're looking at
Combat Mode Switching:
- Interact (F key) with your dog using an empty hand to cycle combat modes:
Following ā Defense ā Offense ā Sitting - Visual indicators on nameplate: [DEF], [OFF], [ATK], [SIT]
Command Aliases:
/dogor/dogsā Both work as the main command
Tip: For best results, look directly at your dog when using commands.
š Permissions
The plugin supports both Hytale's permission system and LuckPerms.
Default Dog Limit: Players can own up to 16 dogs. Admins can adjust this using permissions like markusbordihn.dogs.limit.8 or markusbordihn.dogs.limit.unlimited.
ā ļø Known Limitations
Important Notes
-
No UI menu
The interactive menu is temporarily disabled and will return in a later version. -
Natural spawning
Wild dogs do not yet spawn naturally in the world. Use spawn commands or spawn eggs. -
Limited breed variety
Currently only 3 dog breeds are available. More breeds are planned for future updates.
š§ Planned Features
Planned improvements and additions:
- Natural spawning across different biomes
- More dog breeds (Husky, Golden Retriever, Border Collie, etc.)
- Dog breeding and puppies
- Accessories such as collars and armor
- Dog beds and toys
- Advanced combat AI and tactics
- Experience/leveling system for dogs
- Special abilities per breed
- Pack behavior for multiple dogs
šļø Data Storage
Dog data is automatically saved to worlds/default/resources/DogsCompanionData.json.
This includes:
- Dog UUID and owner information
- Dog type, name, and current state
- Last known position and spawn status
- Combat mode and target information
Backup this file to preserve your dogs when moving worlds.
š Known Issues
- Wild dogs may occasionally get stuck while approaching players holding meat
- Some animation transitions are not yet smooth
- Pathfinding still needs refinement
- Defense/Offense mode activation timing may delay slightly
š Related Plugins
š± Cats Companion
Looking for peaceful companions? Check out the Cats Companion plugin! While dogs are perfect for combat and protection, cats are designed for peaceful companionship with decorative features, natural spawning, and playful interactions.
š License
This project is open source under the MIT License.
ā ļø Important: The license applies only to the source code in this repository.
Assets are excluded from the license:
- 3D models (
.bbmodelfiles) - Textures and images
- Sounds and music
- Animations
- Other creative/artistic content
These assets may not be redistributed, modified, or used in other projects without permission.
For the full license text, see LICENSE.md.
Enjoy your new canine companions. š
This plugin is under active development. Updates and improvements are added regularly.




