Nascraft - The Items Exchange [1.21] icon

Nascraft - The Items Exchange [1.21] -----

An alternative economy with dynamic prices based on supply and demand!




Added:
  • Simplified Chinese lang.
Fixed:
  • Bug with the direct access to market command.
  • Bug with limit orders.
  • Prices in the menu of /market not reflecting their actual value in some parts.
Full Changelog: v1.9.1...v1.9.2
----------, May 26, 2025

Added:
  • Option to self-host a website to display relevant charts and information.
Internal Changes:
  • Prices are now calculated integrating the price curve. Prices will be really accurate and they will include the increase/decrease in value of the same action.
Full Changelog: v1.8.5...v1.9.1
----------, Apr 18, 2025

Added:
  • Russian translation.
  • Sell all message displaying total revenue.
  • Market closures persist during restarts.
Fixed:
  • Sell menu can't be used now when market is closed.
Full Changelog: v1.8.4...v1.8.5
----------, Apr 12, 2025

Added:
  • Customizable hard limits per item.
Full Changelog: v1.8.3...v1.8.4
----------, Apr 8, 2025

Added:
  • Debt manager: Get debt against the portfolio.
  • New console command: /market <player>
  • New admin command: /nascraft info
  • Top based on portfolios worth.
  • New placeholders: %nascraft_portfoliovalue% %nascraft_debt% %nascraft_interest% %nascraft_cpiweek% %nascraft_cpimonth%
Internal Changes:
  • Now nicknames are displayed along with UUIDs in logs.
Fixed:
  • Error when withdrawing items from portfolio under certain conditions.
Full Changelog: v1.8.2...v1.8.3
----------, Mar 18, 2025

Added:
  • Support for 1.21.4
Internal Changes:
  • Removed the limit on minimum categories.
Fixed:
  • Error that happened in certain cases when logging prices.
Full Changelog: v1.8.1...v1.8.2
----------, Jan 28, 2025

Added:
  • Limit orders.
  • "Discord inventory" is now "Portfolio".
  • Pie chart in cartography table interface to check the composition of your portfolio.
  • Hard limits based on internal stock.
  • Option to select more decorative items in the market menu.
  • In-game messages for alerts.
Internal Changes:
  • Price graphs generated within the cartography table have now a gradient effect.
Fixed:
  • Some inconveniences in /sellhand and /sellall (Confirmation not working with alias etc)
  • Potential errors when logging non-crucial information.
Full Changelog: v1.7.3...v1.8.1
----------, Dec 29, 2024

[​IMG]
Added:

  • Players can now access graphs of the prices of each item in /market
    Code (YAML):

    gui_info_title
    : "              <gradient:#8c00ff:#1c3eff>Price evolution</gradient>"
    gui_info_timeframe_name
    : "<u><gradient:#ffe712:#c7a987>Time frame</gradient></u>"
    gui_info_timeframe_lore_before
    : " "
    gui_info_timeframe_lore_unselected_segment
    : "<gradient:#ffe712:#ffd83d>[OPTION]</gradient>\n"
    gui_info_timeframe_lore_selected_segment
    : "<gradient:#ffe712:#ffd83d>[OPTION]</gradient> <color:#2eff8c>☜</color>\n"
    gui_info_timeframe_option_1
    : "Day"
    gui_info_timeframe_option_2
    : "Month"
    gui_info_timeframe_option_3
    : "Year"
    gui_info_timeframe_option_4
    : "All"
    gui_info_timeframe_lore_after
    : " \n<gradient:#2eff8c:#5bff2e>Click to cycle between options</gradient>"
    gui_info_statistics_name
    : "[ITEM-NAME] <gradient:#ffe712:#c7a987>- Statistics</gradient>"
    gui_info_statistics_lore
    : "\n<gradient:#ff9778:#ffff55>Current price:</gradient> [PRICE]\n \n<b><gradient:#ffe712:#ffd83d>[OPTION]</gradient></b>\n <gradient:#ffe712:#ffd83d>╠═</gradient> <gradient:#ff9778:#ffff55>Change:</gradient> [CHANGE] \n <gradient:#ffe712:#ffd83d>╠═</gradient> <gradient:#ff9778:#ffff55>High:</gradient> [HIGH] \n <gradient:#ffe712:#ffd83d>╚═</gradient> <gradient:#ff9778:#ffff55>Low:</gradient> [LOW]"
    gui_info_positive_change
    : "<gradient:#55ff55:#39ff08>▲ [CHANGE]%</gradient>"
    gui_info_negative_change
    : "<gradient:#ff3b4e:#ff1900>▼ [CHANGE]%</gradient>"
     
Fixed:
  • Format of a line of lore not being parsed when no item is included in /sellmenu
  • Some errors being thrown because of the database under certain circumstances.
Full Changelog: v1.7.2...v1.7.3
----------, Oct 28, 2024

[​IMG]

Added:

  • New system to generate charts with AdvancedGUI with loading animation. (New layout! regenerate it in case you used a previous version)
  • Option to change the currency and itemstack of an item in /nascraft edit.
  • New API event: TransactionCompletedEvent.
  • Brazilian portuguese translation by @suzinho
Internal Changes:
  • Now "/sellall" sells everything by default and only valid items in the player inventory are suggested with tab completion
Fixed:
  • Sometimes images from the discord menu weren't removed properly.
  • German translation not being included with the rest of the langs.
  • Cooldown of sellwands not being properly applied when wands have permissions.
  • Formatting error in discord logs and some menus.
  • Error with discord inventory when using multiple currencies.
Full Changelog: v1.7.1...v1.7.2
----------, Oct 24, 2024

Added:
  • Multi currency system.
  • New console command: /market category [category-identifier] [username]
  • German translation by @BiigToastie
Due to formatting changes it is recommended to regenerate this files:
Code (YAML):

sellwand_sold_with_multiplier_segment
: "<light_purple>[INITIAL-WORTH] x [MULTIPLIER] = <bold>[WORTH]</bold></light_purple>"
sell_button_lore
: "<color:#85784d>Sell for approximately:</color> \n[WORTH-LIST]"
 
Code (YAML):

currencies
:
  # Currency to be used by default by all items.
  # It will also be the default price for things like discord inventory expansions etc.
  default-currency
: 'vault'

  suppliers
:

    # Vault has to be installed!
    vault
:
      format
: "<gradient:#f09947:#feed81>[AMOUNT]$</gradient>"
      not-enough
: "<gradient:#FB6363:#C4B3FD>✘ You don't have enough money to buy that!</gradient>"
      decimal-positions
: 3
      top-limit
: 9999999
      low-limit
: 0.005

    #################################################################
    #  TO ADD OTHER CURRENCIES PLACEHOLDEDRAPI HAS TO BE INSTALLED  #
    #################################################################

    # !!! Keep in mind that both commands and placeholder have to work even if the player
    # !!! is offline if you plan to use the discord extension!

    # Example of another kind of currency:
    player-points
:
      deposit-cmd
: 'playerpoints:p give [USER-NAME ] [AMOUNT ]'
      withdraw-cmd
: 'playerpoints:p take [USER-NAME ] [AMOUNT ]'
      balance-placeholder
: ' %playerpoints_points%'
      not-enough
: "<gradient:#FB6363:#C4B3FD>✘ You don't have enough points to buy that!</gradient>"
      format
: "<gradient:#ba24ff:#e8d1ff>[AMOUNT]p</gradient>"
      decimal-positions
: 0
      top-limit
: 9999
      low-limit
: 10

    # Add your own supplier! Create as many as you want.

price-options
:
  # With noise enabled, prices will vary over time in a pseudo-random manner.
  noise
:
    enabled
: true
    # Change the default intensity of the noise with this factor.
    default-intensity
: 1
    # Global multiplier
    intensity-multiplier
: 1
    # Time in seconds to apply noise. By default, 60 seconds, so each 60 seconds prices will change randomly.
    time
: 60
  # The default elasticity applies to all items unless otherwise explicitly stated at items.yml.
  default-elasticity
: 1
  # Global multiplier - Take into account that this variable will change the shape of all
  # price curves, changing the price instantly for all current items.
  elasticity-multiplier
: 1
 

Internal Changes:
  • Better descriptions in /nascraft edit
  • "/nascraft editmarket" is now "/nascraft edit"
  • Now the original lore of items is not overrided in /market
  • Improved error messages.
Removed:
  • Placeholder decimal precision
Fixed:
  • Itemstack not being used in /market
  • Database error when connection is flushed.
  • Error with the data plotter.
Full Changelog: https://github.com/Bounser/Nascraft/compare/v1.6.6...v1.7.1
----------, Sep 20, 2024

Added:
  • Option to enable/disable each command individually.
  • Option to change the alias of each command.
  • Lang is now reloaded with /nascraft reload too.
If updating from a previous version, replace the commands section of your config file:
Code (YAML):

commands
:
  nascraft
:
    enabled
: true
    alias
: 'nas'
  market
:
    enabled
: true
    alias
: 'shop'
  link
:
    enabled
: true
    alias
: 'nlink'
  discord
:
    enabled
: true
    alias
: 'dis'
  alerts
:
    enabled
: true
    alias
: 'nalerts'
  setalerts
:
    enabled
: true
    alias
: 'nsetalert'
  givesellwand
:
    enabled
: true
    alias
: 'givesw'
  sellall
:
    enabled
: true
    alias
: 'nsellall'
  sellhand
:
    enabled
: true
    alias
: 'nsellhand'
  sell-menu
:
    enabled
: true
    alias
: 'sell'
    size
: 45
    help
:
      enabled
: true
      slot
: 4
      texture
: 'bc8ea1f51f253ff5142ca11ae45193a4ad8c3ab5e9c6eec8ba7a4fcb7bac40'
    filler
:
      material
: 'black_stained_glass_pane'
    sell-button
:
      slot
: 40
      material
: 'yellow_stained_glass_pane'
    close-button
:
      enabled
: true
      slot
: 8
      material
: 'red_stained_glass_pane'
 

Fixed:
  • Inconsistency in the naming of noise-intensity in /nascraft editmarket
  • Error when more than 250 items are in the same category when entering /market
Full Changelog: v1.6.5...v1.6.6
----------, Aug 18, 2024

Added:
  • Option to set the interval between price changes from noise (by default 60 seconds)
  • Option to set the interval between discord menu updates (by default 60 seconds)
Code (YAML):

price-options
:
  noise
:
    # Time in seconds to apply noise. By default, 60 seconds, so each 60 seconds prices will change randomly.
    time
: 60

discord-bot
:
  main-menu
:
    options
:
      # Time in seconds between each update of the message.
      update-time
: 60
 

Fixed:
  • Incompatibility with Spigot (PlainTextSerializer)
  • Error when creating a new category with /nascraft editmarket
Internal Changes:
  • Slight improvments and adjustments to items.yml
Full Changelog: v1.6.4...v1.6.5
----------, Aug 16, 2024

Added:
  • Cooldown between buy/sell actions with the AdvancedGUI layout. By default, 1 second.
  • Pages for /market (Category menu) when a category has too many items.
  • Option to take into account taxes to change prices proportionally.
  • Option to hide content (items) of categories in the main menu of /market.
  • "/market category <category-identifier>" to open the category menu directly.
  • "/market item <item-identifier>" to open the menu of the item directly.
  • Attributes of items inside /market menu removed (e.g. now swords won't display damage).
Code (YAML):

gui_category_previous_name
: "<b><gradient:#ff816b:#ff2e38>←</gradient></b>"
gui_category_next_name
: "<b><gradient:#ff816b:#ff2e38>→</gradient></b>"
market_cmd_invalid_category
: "<gradient:#FB6363:#C4B3FD>✘ That category doesn't exist! </gradient>"
market_cmd_invalid_item
: "<gradient:#FB6363:#C4B3FD>✘ That item doesn't exist! </gradient>"
 
Code (YAML):

main-menu
:
  # ...
  categories
:
    item-list
: true
# ...
category-section
:
  # ...
  next-button
:
    enabled
: true
    slot
: 8
    material
: 'arrow'
 
Code (YAML):

# Cooldown between buy/sell transactions, in seconds.
layout-cooldown
: 1

market-control
:
  taxation
:
    # ...

    # Choose whether to take into account taxes in price fluctuations.
    # Example: If an item has a tax when buying of a 100%, when you buy an item with this option
    # activated, the item goes in price as if you bought 1 + 1 * 100% = 2 items.
    take-into-account-taxes
: false
 

Fixed:
  • Errors with some placeholders.
  • Minor adjustments to graphs.
Full Changelog: https://github.com/Bounser/Nascraft/compare/v1.6.3...v1.6.4
----------, Aug 4, 2024

[​IMG]
Added:

  • New admin command with an inventory GUI to check previous transactions: /nascraft logs <item / player nick / uuid / global>
  • New placeholder to check inflation %nascraft_cpi%
  • Option to not include an item in the CPI calculation.
  • Icons of images now automatically adapt to images named like the identifier inside the images folder.
  • Italian (it_IT.yml) translation, courtesy of @Try___
  • Global noise intensity and elasticity multipliers.
  • More discord graphs:
    • Option to select an item and see its progression against the CPI.
    • Market money flows and total taxes collected.
    • Now the price graph of all items includes transactions (buy/sell) of the player who is consulting it with dots.
Code (YAML):
discord_compare_cpi : "Compare CPI and Item"
discord_flows
: "Market Flows"

discord_cpi_y
: "CPI"
discord_cpi
: "CPI"
discord_cpi_vs_item
: "CPI vs [NAME] (Relative Return)"
discord_flow_y_1
: "Accumulated Flow ($)"
discord_flow_y_2
: "Daily Variation ($)"
discord_flow_legend_1
: "Market Flow"
discord_flow_legend_2
: "Taxes Collected"

discord_advanced_tools
: "Tools:"
discord_advanced_graphs
: "Graphs:"
Code (YAML):
price-options :
  # Set (hard) limits on the minimum and maximum prices.
  limits
:
    low
: 0.001
    high
: 9999999
  # With noise enabled, prices will vary over time in a pseudo-random manner.
  noise
:
    enabled
: true
    # Change the default intensity of the noise with this factor.
    default-intensity
: 1
    # Global multiplier
    intensity-multiplier
: 1
  # The default elasticity applies to all items unless otherwise explicitly stated at items.yml.
  default-elasticity
: 1
  # Global multiplier - Take into account that this variable will change the shape of all
  # price curves, changing the price instantly for all current items.
  elasticity-multiplier
: 1

Removed:
  • /nascraft lasttrades - as /nascraft logs < > is its replacement.
  • /nascraft list
Full Changelog: https://github.com/Bounser/Nascraft/compare/v1.6.2...v1.6.3
----------, Jul 26, 2024

Added:
  • Two new messages (lang file) for the Discord inventory:
    (You will have to manually add them in case you are updating from the previous version)
    disinv_no_space: "gradient:#FB6363:#C4B3FD✘ You don't have space in your inventory to move that item!"
    disinv_invalid: "gradient:#FB6363:#C4B3FD✘ Invalid item!"
Fixed:
  • Childs are no longer accessible through the Discord Search button.
Internal Changes:
  • Discord Inventory in-game GUI is now more simple and reliable.
Full Changelog: https://github.com/Bounser/Nascraft/compare/v1.6.1...v1.6.2
----------, Jul 10, 2024

[​IMG]
Added:

  • New in-game inventory-based GUI to buy/sell items. Options in inventorygui.yml. Access the GUI with /market
  • Hex support for almost every text/menu including categories' display name, items' alias, sell wands etc
  • More options in config.yml for the discord bot and menus.
  • Persistent alerts. Config option to choose how many days should an alert be active before expiring
Removed:
  • /nascraft locate
IF UPDATING FROM A PREVIOUS VERSION, REGENERATE CONFIG AND LANG FILES
----------, Jul 9, 2024

Added:
  • 1.21 compatibility.
  • New command: /nascraft lasttrades [page]
  • New command: /nascraft lasttrades [username] [page]
  • Option to log every transaction in a discord channel
  • Childs now are applied in all contexts apart from AdvancedGUI's layout (e.g. you can now sell slabs with /sellall everything)
  • CPI indicator (inflation, with base 100) with a graph that can be consulted in Discord (Main menu -> Advanced -> CPI Evolution) or get just the value with /nascraft cpi
Fixed:
  • An error when trying to buy non-stackable items (Thanks to @Zekaria for reporting this bug)
  • Selling inventory with shift now doesn't distinct between amounts.
  • Precision of the sell menu/commands.
  • Sell wands imprecision in estimations.
Internal Changes:
  • Day, month and year in the in-game layout, only one option (last hour) remains.
  • AdvancedGUI layout has been slightly improved.
  • /nascraft info changes to /nascraft list
  • /getsellwand [wand-id] changes to /givesellwand [wand-id]
IF UPDATING FROM A PREVIOUS VERSION, REGENERATE CONFIG, LANG FILES AND ADVANCEDGUI LAYOUT (And database potentially)
----------, Jun 29, 2024

[​IMG]
Added:
  • New commands: /nascraft reload, /nascraft editmarket (New menu to easily edit the market and add/remove/edit items and categories)
  • The plugin now supports the use of custom items. (Add them using /nascraft editmarket)
  • Now you can set a custom image to represent an item in AdvancedGUI and Discord.
  • Sellwands. Generate items that can sell the content of containers (Chests & barrels) with multipliers and limited by uses or volume.
  • New detailed graphs (Only available through discord)
  • Set specific taxes for each item.
  • Two new placeholders: %nascraft_linked% and %nascraft_discordid%
  • %nascraft_[buyprice/sellprice]_identifier% changed to %nascraft_[buyprice/sellprice]_amount_identifier%. Projects the value with more accuracy.
  • Categories have a display item.
  • More translatable texts (Discord wiki, Discord Inventory and link command)
Fixes:
  • Fixed some problems with childs (In the AdvancedGUI GUI)
Internal Changes:
  • Better debug messages (Specially when loading)
  • categories.yml now uses display-name instead of display_name (Clear distinction between routes (-) and materials (_))
  • Value estimates when selling/buying should be more precise in big orders.
  • Improvements in the AdvancedGUI GUI.
If updating from a previous version, regenerate all files, including the AdvancedGUI layout.
----------, Feb 9, 2024

Added:
  • Configurable default values: Noise intensity and elasticity.
  • Shift-Click to add all items of the clicked material into the sell menu (/sell or /nsell)
  • Configurable decimal precision of placeholders.
  • More translatable text (100% minecraft texts, 70% discord texts)
  • Better AdvancedGUI layout. (Now can fit perfectly the Spanish translation)

    If using from an older version, replace or add this into your config file:

    Code (YAML):

    ...
    price-options
    :
      # Set (hard) limits on the minimum and maximum prices.
      limits
    :
        low
    : 0.001
        high
    : 9999999
      # With noise enabled, prices will vary over time in a pseudo-random manner.
      noise
    :
        enabled
    : true
        # Change the default intensity of the noise with this factor.
        default-intensity
    : 1
      # The default elasticity applies to all items unless otherwise explicitly stated at items.yml.
      default-elasticity
    : 1
    ...

    placeholders
    :
    # Number of decimals to display in prices.
      # For instance, with a price of 2.2732:
      # 1 -> 2.3$
      # 2 -> 2.27$
      # 3 -> 2.273$
      decimal-precision
    : 2
     
Fixed:
  • Some properties not being properly utilized in the calculation of price and noise in some situations.
Internal changes:
  • Removed the minimum spread (0.002$)
----------, Dec 29, 2023

Added:
  • New linking method: DiscordSRV. Now you can use the same linking method of the (arguably) most popular plugin bridging Minecraft and Discord.
  • New time stamps in discord graphs (1 hour).
  • New log of daily prices.
Fixed:
  • Fixed history log not displaying the first trade.
  • A series of incompatibilities with both AdvancedGUI and MiniMessage on certain softwares.
  • Message "NO_PERMISSION" not processed by MiniMessage in /nsell
----------, Dec 25, 2023

Added:
  • Discord alerts: Users can setup alerts to get notified through Discord when an item reaches a certain price desired by the player.
  • New discord commands: /seeinv, /seebal, /stop and /resume
  • New placeholders: %nascraft_linked% %nascraft_discord_id%
Internal changes:
  • New stats tracked by bStats: Usage of the discord extension, AdvancedGUI, number of operations and linking statistics.
----------, Dec 16, 2023

Please regenerate all files.
Added:
  • Added a new keyword in placeholders: "mainhand" Example: %nascraft_sellprice_mainhand%.
  • Enabled the use of nested placeholders using {} instead of %%.
  • Tracking new information: historical highs & 24-hour volume.
  • Introduced per-player trade logs.
  • Discord extension now available!:D Beta stage - Use with caution!
    [​IMG]
  • Enhanced preset of items and prices.
  • New lang files: en_US (English) and es_ES (Spanish)
Internal changes:
  • Improved price formula, now based on stock.
  • Changed the basic time span from 30 minutes to 1 hour.
  • Upgraded database system: Now utilizing SQLite instead of JSON. More alternatives will be added soon.
----------, Dec 7, 2023

Please regenerate the config files!
Added:
  • Two new commands:
/nsell - Opens an inventory GUI that allows you to easily sell items. Permission: nascraft.sellinv
/nsellall [material/everything]
- Sells every item of a desired material, or directly sells every sellable item in your inventory. Permission: nascraft.sellall

nsell (left) --- nsellall everything (right):
[​IMG]
  • Increased item capacity per category - Now unlimited.
  • New file system: Configuration has been split into the following files:
    • config.yml
    • items.yml
    • categories.yml
    • lang.yml
----------, Aug 12, 2023

Added:
  • stop & resume commands: Now admins with the permission nascraft.admin will have access to two new commands: /ns stop and /ns resume. The first one will make it impossible for all players to buy or sell until the second command is executed.
  • A more reliable pricing system
  • Images of new materials (1.20.1)
Internal changes:
  • Layout now compatible with AdvancedGUI 2.2.6: Texts re-centered. Older versions of AdvancedGUI are no longer supported, although can still be used when AutoResourcesInjection is disabled in the config.
----------, Jul 13, 2023

Added:
  • Sell command: Now players will be able to sell the item they are holding using the /sell command, which requires confirmation.
  • New placeholder:
%nascraft_change_TIME_MATERIAL% Returns the change in percentage in a given time (30m, 1d, 1m, 1y)​
Fixed:
  • Decimal precission of child items.
Internal changes:
  • Added bStats support.
----------, May 7, 2023

Added:
  • PlaceholderAPI support:
%nascraft_price_ MATERIAL%
%nascraft_buyprice_ MATERIAL%
%nascraft_sellprice_ MATERIAL%
%nascraft_stock_ MATERIAL%​
----------, May 6, 2023

It is recommended to regenerate the configuration file.
Added:
  • Price options:
- Elasticity: Degree of deviations caused by player movements.
- Support. Preferred minimum value.
- Resistance. Preferred maximum value
- Noise intensity. Magnitude of the random fluctuations.​

Removed:
  • Price trend.
  • Decimal precission: Now it has a fixed precission of 2 decimals.
----------, May 6, 2023

Added:
  • Mat alias: Now you can translate or change material names in the GUI.
  • More translatable texts: All the texts of the GUI can now be changed.
Fixed:
  • Now the display-name of categories is always applied correctly.
Internal changes:
  • Improved graph rendering scalability: Now the plugin will render the graphs intelligently (and cache them) to avoid the use of unnecessary processing power.
  • Layout injector improved (Can now distinguish between versions)
----------, Apr 12, 2023

Resource Information
Author:
----------
Total Downloads: 2,851
First Release: Feb 23, 2023
Last Update: May 26, 2025
Category: ---------------
All-Time Rating:
29 ratings
Find more info at bounser.gitbook.io...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings