PacificSMP

Dolphins file

Reference the item, effect, attribute and recipe fields in dolphins.yml.

dolphins.yml defines the Slot Reroll item, its recipe and every Dolphin type. The dolphins-version value is managed by the plugin. The file is merged when its format version advances, while removed custom types are kept removed.

Slot Reroll item

The reroll-item section has these values:

KeyDefaultPurpose
materialECHO_SHARDItem material
nameSlot Reroll with colour formattingDisplay name
loreTwo description lines and a right-click hintItem description
glowtrueEnchantment shine
modelemptyResource-pack item model on newer supported Minecraft releases
custom-model-data0Older resource-pack item model value
recipe.enabledtrueWhether the recipe is registered
recipe.amount1Items produced by one craft
recipe.shapeNTG, DHD, GTNCrafting grid rows
recipe.ingredientsN, T, G, D and H map to the vanilla itemsCharacter-to-item mapping

Dolphin type fields

Every entry under dolphins uses the same fields:

KeyWhat it controls
display-nameName shown in chat and player information
iconText shown above the hotbar while active
item.materialBase item type, blue dye by default
item.nameItem display name
item.loreItem description lines
item.glowEnchantment shine
item.modelResource-pack item model for Minecraft 1.21.4 and newer
item.custom-model-dataResource-pack item value used by older 1.21 releases
effectsPotion effect names and levels, or an empty map
attributesAttribute names and amounts, or an empty map
kill-bonus-dropsExtra Dolphins dropped when the holder kills a player
recipe.enabledWhether the recipe is registered
recipe.amountItems produced by one craft
recipe.shapeOne to three grid rows
recipe.ingredientsCharacter-to-item mapping for used shape characters

Potion effect levels are written as whole numbers. An attribute can be a number or a section with amount and operation. A recipe ingredient can be a vanilla material, REROLL, or DOLPHIN:<type-id>.

Default type values

Type idPotion effectsAttribute bonusExtra kill drops
darkresistance: 2none0
speedspeed: 1, dolphins_grace: 1none0
flamefire_resistance: 1none0
powerstrength: 1none0
healthynonemax_health: 60
assassinnight_vision: 1sneaking_speed: 0.31

All six default recipes are enabled and produce one item. See Crafting recipes for the exact grids and Custom Dolphins for an editable example.

Reload the file

Run /pacificsmp admin reload after editing. New recipe book entries appear at once on Paper. On Spigot, crafting uses the new recipe immediately, but players need to rejoin to refresh the recipe book.

On this page