DynamicShop

DynamicShop

===

Features

  • Vault support
  • Custom item support
  • Open shop with multiple villager
  • Config support
  • Change item price followed by "Normal distribution (μ=0,σ=0.25)".
    • New price will be (Default price + (Default price * value of normal distribution above)), not affected by previous price, but still tracks the gap between now and latest price
  • Custom price-change period (default: every 1 hour since the plugin loaded)
  • Command Tab Completer included

Commands

  • /ds - Main command
  • /ds create [Shop Name] : create shop named by [Shop Name]. If [Shop Name] is blank, it will be "Default Name".
  • /ds additem (ShopId) (Buy Price) (Sell Price) : add your current item in your main hand to the shop which assigned with (shopId), by price of each parameter.
  • /ds open (shopId) : open shop UI
  • /ds npc (shopId): create new npc which bound to shop assigned to (shopId).
    • to remove npc, simply punch it in creative mode

Debug command (starts with /ds debug (args)

  • price : update (change) all stock's price immediately. Notify only command sender.
  • reload : reload plugin's config data. no notify included.
  • resetupdateperiod : update all stock's price immediately, reset price-updater scheduler to current config's info for now. Notify to all players.

Permissions

  • None. Op can only use commands, Everyone can use shop.

Dependency

  • Vault

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    867931
  • Created
    May 30, 2023
  • Last Released File
    Never
  • Total Downloads
    381
  • License

Categories

Members

Recent Files