Nascraft - The Items Exchange [1.21] icon

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

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



1.7.1 - Multi-currency and improvements.
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
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