amxx-modding-kit-api-shops

Register shops, items, and guard callbacks for AMXX mods.

32|4|Updated Mar 23, 2023
One-click install
npx skills add https://github.com/hedgefog/amxx-modding-kit --skill amxx-modding-kit-api-shops
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: amxx-modding-kit-api-shops
Source: https://github.com/hedgefog/amxx-modding-kit/tree/main/.agents/skills/amxx-modding-kit/api/shops
Command: npx skills add https://github.com/hedgefog/amxx-modding-kit --skill amxx-modding-kit-api-shops

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Shops API guide helps plugin developers implement flexible in-game shops with items, balance systems, and access control for AMXX mods.

Core Features & Use Cases

  • Shop registration, item registration, and guard callbacks to control access and purchases.
  • Custom balance system integration and dynamic item pricing across shops.
  • Use Case: Create a mod shop for equipment with VIP areas and guarded items to demonstrate shop behaviors.

Quick Start

Register your first shop, add items with prices, and attach guards to control access.

Frequently Asked Questions about amxx-modding-kit-api-shops

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an in-game shop with item registration and access control in AMXX?

You create in-game shops in AMXX by using the Shop_Register function to define a shop, then registering items with Shop_Item_Register and attaching guard callbacks to control player access and purchases.

How does a custom balance system work for GoldSrc mod shops?

A custom balance system for GoldSrc mod shops works by attaching Shop_SetBalanceCallbacks to your shop, which enables dynamic item pricing and custom logic to deduct or validate player currency during purchases.

Can I use buy guards to restrict specific items in a Pawn mod shop?

Yes, you can restrict specific items in a Pawn mod shop by implementing buy guards, which are callback functions that evaluate player conditions and block access to guarded items before the purchase completes.

What is the best way to manage multiple shops with different VIP areas in AMXX?

The best way to manage multiple shops with VIP areas in AMXX is to register separate shop instances using Shop_Register, then apply unique guard callbacks to each shop to segregate VIP items and restrict general player access.

Does this AMXX shops API support dynamic item pricing across different shops?

Yes, the AMXX shops API supports dynamic item pricing across different shops by integrating custom balance callbacks, allowing you to adjust item costs and currency requirements based on the specific shop context.