Giter VIP home page Giter VIP logo

Comments (4)

TheoKah avatar TheoKah commented on August 23, 2024 1

I like the idea.
Obviously this would be a new sign type, like [sBuy] and [sSell] (s for stock)
I'm open to name ideas.

Note that this will require to overwrite the price line on the sign.
I might not be able to do that this week as I want to work on other issues and features first, like an auto-link feature with no redstone if a sign is placed directly on a chest; or the tax system,

from carrotshop.

TheoKah avatar TheoKah commented on August 23, 2024

Tell me more. Can you give me a concrete example?

I plan to work on the plugin this week end

from carrotshop.

Shybella avatar Shybella commented on August 23, 2024

Ex: 1 bought/sold item = 0.1% increase/decrease to current price.

If 10 units of Diamond are bought from a [iBuy] sign. Every x amount of time passed (Ex: 1h) and total units bought equal 10 as an example. The price on the Diamond [iBuy] sign after the 1 hour period timer has passed runs a task that adds items-sold(10) x 0.1% = 1.0%. The current prices gets increased 1.0% of its current price or default initial price.

10 items sold would increase the current price by 1.0% So, if the Diamond costs 100 and 10 untils sold in that hour. The price would increase to 101 up from 100.

If no units are sold within that hour it resets back to the default initial price OR previous price unless previous price was default initial price.

The same concept would be applied for [iSell] signs but instead of increasing the default initial price or current price, it decreases. If non sold set back to default initial price or previous price.

Opinion:

  • Percentage needs to be modifiable.
  • Rate at when the task runs needs to be modifiable.

Ex: 1h = 0.0001 or 0.1% for each time sold
OR
Ex: items_sold/bought_regardless_of_time_passed = 0.0001 or 0.1%. 0.1% gets added regardless of time, the amount of time passed when task runs to update [iBuy] or [iSell] signs does not matter. The units sold/bought within that time is the only thing that matters.

The amount of new tactics and strategies If this was implemented correctly would open a whole new can of worms when it comes to competition and market manipulation.

from carrotshop.

Shybella avatar Shybella commented on August 23, 2024

In sense, this would be taking control of a already existent supply and demand system but regulating it based on volumetric traffic from items sold/bought.

from carrotshop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.