Skip to content

Feat: Archipelago Gifting API#4

Draft
LelouBil wants to merge 1 commit into
qixils:coehlrichfrom
LelouBil:coehlrich
Draft

Feat: Archipelago Gifting API#4
LelouBil wants to merge 1 commit into
qixils:coehlrichfrom
LelouBil:coehlrich

Conversation

@LelouBil

Copy link
Copy Markdown

This PR adds :

The gifting system is made in a generic way, using minecraft datapack registries for trait assignments (so it's easy to change via datapack if something is overpowered or simply wrong).

To use, simply do the /gift command which will gift the item currently in your hand to the AP slot specified in the argument

It's a draft because there is still some stuff to clean up/polish, namely :

  • Gift handing when the player's inventory is full, or when they are dead
  • Choose which player on the server receives a gift
  • Add data maps for Potion effects and for enchantments traits attribution
  • Handle wood types
  • Add configuration values for some behavior (like adding "Damage" gift tag if an armor has the Thorns enchantment)

@DDR-Khat

Copy link
Copy Markdown

@LelouBil
Rather than assuming the item in the player's hand. Maybe send a Inventory screen packet to the player (Dropper/Chest) which the player can put items into. And upon closing it, it gifts all items submitted via that container?
Similar to how Fabric server mods (I know this isn't a fabric implementation) like those made by "Patbox" or your typical "Auction" or "Trade" spigot/bukkit derivative plugins do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants