MCPcopy Index your code
hub / github.com/erikzimmermann/TradeSystem

github.com/erikzimmermann/TradeSystem @v2.6.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.6.3 ↗ · + Follow
1,610 symbols 4,521 edges 205 files 297 documented · 18%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

API

When working with the API of TradeSystem, please note the library relocation as stated below.

Maven

<repository>
  <id>jitpack.io</id>
  <url>https://jitpack.io</url>
</repository>

<dependency>  
  <groupId>com.github.CodingAir</groupId>
  <artifactId>TradeSystem</artifactId>  
  <version>v2.6.2</version>  
</dependency>

<dependency>
    <groupId>com.github.CodingAir</groupId>
    <artifactId>CodingAPI</artifactId>
    <version>1.84</version>
    <scope>provided</scope>
</dependency>

<plugins>
    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-shade-plugin</artifactId>
        <version>3.2.3</version>

        <configuration>
            <relocations>
                <relocation>
                    <pattern>de.codingair.codingapi</pattern>
                    <shadedPattern>de.codingair.tradesystem.lib.codingapi</shadedPattern>
                </relocation>
            </relocations>
        </configuration>

        <executions>
            <execution>
                <phase>package</phase>
                <goals>
                    <goal>shade</goal>
                </goals>
            </execution>
        </executions>
    </plugin>
</plugins>

Gradle

plugins {
    id 'java'
    id 'com.github.johnrengelman.shadow' version "7.1.2"
}

repositories {
    ...
    maven { url 'https://jitpack.io' }
    ...
}

dependencies {
    ...
    compileOnly 'com.github.CodingAir:TradeSystem:2.5.3'
    compileOnly 'com.github.CodingAir:CodingAPI:1.79'
    ...
}

java {
    toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}

shadowJar {
    relocate 'de.codingair.codingapi', 'de.codingair.tradesystem.lib.codingapi'
}

Extension points exported contracts — how you extend this code

TradeIcon (Interface)
Each trade GUI get its own icon instances. This means that you can store custom variables in your own class implementati [7 …
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/trade/gui/layout/types/TradeIcon.java
PlayerSubscriber (Interface)
Used to subscribe to de.codingair.tradesystem.spigot.trade.Trade trade updates. Also adds the available {@li [10 implementers]
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/trade/subscribe/PlayerSubscriber.java
Supplier (Interface)
Just like the java.util.function.Supplier but with the extension of a throwable. @param The class that shou [4 implementers]
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/utils/Supplier.java
Migration (Interface)
(no doc) [12 implementers]
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/database/migrations/Migration.java
PluginDependency (Interface)
(no doc) [8 implementers]
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/extras/external/PluginDependency.java

Core symbols most depended-on inside this repo

getInstance
called by 164
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/TradeSystem.java
get
called by 89
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/utils/Supplier.java
getItem
called by 89
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/trade/gui/InventoryMask.java
equals
called by 89
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/trade/gui/InventoryMask.java
send
called by 80
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/utils/Lang.java
get
called by 69
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/utils/Lang.java
getName
called by 68
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/trade/gui/layout/Pattern.java
handler
called by 65
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/TradeSystem.java

Shape

Method 1,385
Class 195
Interface 17
Enum 13

Languages

Java100%

Modules by API surface

TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/trade/Trade.java98 symbols
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/trade/TradeHandler.java49 symbols
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/trade/ProxyTrade.java39 symbols
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/trade/gui/layout/types/impl/basic/StatusIcon.java36 symbols
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/extras/blacklist/BlockedItem.java33 symbols
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/trade/managers/InvitationManager.java30 symbols
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/TradeSystem.java30 symbols
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/trade/gui/editor/Editor.java29 symbols
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/trade/gui/layout/types/impl/economy/EconomyIcon.java27 symbols
TradeSystem-Spigot/src/main/java/de/codingair/tradesystem/spigot/trade/BukkitTrade.java24 symbols
TradeSystem-Packets/src/main/java/de/codingair/tradesystem/proxy/packets/TradeInvitePacket.java24 symbols
TradeSystem-Packets/src/main/java/de/codingair/tradesystem/proxy/packets/InviteResponsePacket.java23 symbols

Datastores touched

(mysql)Database · 1 repos
tradesystemDatabase · 1 repos

For agents

$ claude mcp add TradeSystem \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact