メインコンテンツまでスキップ

Pets

The Pets Extension allows players to collect, level up, and customize companion pets. These companions follow the player and can provide both cosmetic flair and practical combat assistance.

Features

  • Companions — Head or Ground following modes.
    • Progression — Leveling system with XP rewards.
    • Visuals — Custom textures and ModelEngine support.
    • Combat — Retaliation system for defense.

Architecture

Entries

Quick Start

  • 1. Configure Settings — Start with the configuration entry: pet_definition. This defines global settings for the extension. → pet_definition
  • 2. Trigger Actions — Use action entries to interact with the extension: add_xp, open_menu, state. Trigger them from commands, NPCs, events, or other entries. → add_xp → open_menu

Commands

CommandDescriptionPermission
/petsOpen menutypewriter.pets.open
/pets activate <id>Activate pettypewriter.pets.activate
/pets give <id>Give pettypewriter.pets.give

Placeholders

Prefix: %pets_*%

PlaceholderDescription
%pets_active_name%Active pet name
%pets_active_level%Active pet level
%pets_pet_<id>_owned%Owns specific pet?

Permissions

PermissionDescription
typewriter.petsBase access to pet commands.
typewriter.pets.openOpen the pets menu.
typewriter.pets.giveGive a pet to a player.
typewriter.pets.removeRemove a pet.
typewriter.pets.activateActivate a pet.
typewriter.pets.deactivateDeactivate a pet.
typewriter.pets.showShow a pet.
typewriter.pets.hideHide a pet.

Dependencies

ExtensionRequiredUsage
GUI ExtensionRequiredMenu rendering and layout system.
PlaceholderAPIOptionalFor @Placeholder fields.