Zum Hauptinhalt springen

Pets Open Menu

Open the pet selection menu

Felder

FeldTypStandardBeschreibung
menuPetMenuSettings—Permet de personnaliser les slots, boutons et visuels du menu des familiers.
PetMenuSettings (5)
FeldTypStandardBeschreibung
slotsList<Int>DEFAULT_PET_SLOTS—
lockedSlotsList<LockedSlotSettings>empty—
LockedSlotSettings (2)
FeldTypStandardBeschreibung
slotInt0—
permissionString——
storageRef<PetStorageEntry>——
rowsInt6—
maxSlotsIntDEFAULT_PET_SLOTS.size—
Gemeinsame TypeWriter-Felder (criteria, modifiers, triggers)
FeldTypStandardBeschreibung
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<Ref<TriggerableEntry>>empty—

How to use it​

Trigger this action from an NPC, an item or a command to open the companion menu for the triggering player. In menu:

  • storage — the Pet Storage artifact. When set, the extension switches to it and reloads the profiles of online players. Set it on at least one menu action.
  • slots — inventory slots where pets appear. These also decide where tokens can be placed.
  • lockedSlots — a slot and a permission. Players without the permission see a locked marker and cannot fill that slot.
  • maxSlots — maximum number of slots used (default 21, minimum 1). Only the first maxSlots entries of slots are laid out and can receive a new pet; pets already owned beyond that are shown in free cells of the menu instead of being hidden.
  • rows — height from 1 to 6.

The last opened menu configuration is remembered, so the menu also opens with the same layout from /pets open.