Skip to content

Instantly share code, notes, and snippets.

@KageDesu
Created October 30, 2025 14:05
Show Gist options
  • Select an option

  • Save KageDesu/c6a2493994a75c3ad06fc54746758de0 to your computer and use it in GitHub Desktop.

Select an option

Save KageDesu/c6a2493994a75c3ad06fc54746758de0 to your computer and use it in GitHub Desktop.
Trade (ANETZ Extension)

Trade (ANETZ Extension)

This extension plugin requires Alpha NET Z to work.

⚠️ Information valid for version 0.9 and above

Overview

NETZ_tradeExample

How to Start a Trade with Another Player

Via Player Menu

  1. Open the Interaction menu for another player
  2. Select the default option Trade
NETZ_startTradePMO

Via Script Call

Use the following script call:

nAPI.callPlayerMenuAction('trade', ACTOR_ID);

Parameters:

  • ACTOR_ID - The actor ID of the player you want to trade with

Example:

nAPI.callPlayerMenuAction('trade', 1); // Starts a trade with the player who selected Reid (ID == 1)

You can retrieve another player's Actor ID using nAPI script calls.


Trade Request System

By default, when you initiate a trade with another player, they will receive a trade request from you.

NETZ_TradeRequestModal

Configuring Trade Requests

You can configure or disable the trade request window in the plugin parameters under Trade settings.

NETZ_tradeConfirmWindowPP

To disable the trade request (trade will start immediately):

  • Set the plugin parameter Is need trade confirm to false

Future Updates

⚠️ The in-game trade system will have more options and parameters (including visual configuration) in future updates.

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