跳到正文

MMO Econ

作者:Misty Studios

An Economy & GUI Shop mod for NeoForge & Fabric!

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

MMO Econ

An Economy & GUI Shop mod,
Designed for small to medium scale multiplayer servers & singleplayer worlds!

Currently supports Minecraft 1.21.1 NeoForge & Fabric.
It is completely server-side and does NOT need to be installed on any clients in order to function in multiplayer.

Features

  • Manages persistent player balances server-side.
  • Completely customiseable admin GUI shop.
  • Player to player payments.
  • Sell hand / Inventory.
  • A balance Leaderboard.
  • Sell Wands.
  • Playtime balance rewards.
  • Player-to-player Auction House.

Commands

  • /bal, /money – Displays the player’s balance.
  • /pay – Pays money to player from your balance.
  • /bal top – Displays a list of the server’s richest players.
  • /shop – Opens the GUI shop.
  • /sell hand – Sells the currently held item, if its listed a valid sellable in the GUI shop.
  • /sell inv – Sells every item in your inventory that is listed as a valid sellable in the GUI shop.
  • /shop reload – Reloads MMOShop.json.
  • /ah – Open the Auction House GUI.
  • /ah sell (price) [quantity] – List an item on the Auction House.

Customising the Shop

The admin GUI shop is dynamically populated by /config/mmoecon/MMOShop.json.
If you don’t want to write a shop JSON file from scratch, an example one will be generated the first time the mod runs to get you started.

Example MMOShop.JSON

The shop will support any modded items supported by the server its running on.

{
  "categories": [
    {
      "name": "Building Blocks",
      "representativeItem": "minecraft:grass_block",
      "items": [
        { "id": "minecraft:stone", "buyPrice": 3.0, "sellPrice": 0.3  },
        { "id": "minecraft:grass_block", "buyPrice": 1.5, "sellPrice": 0.1  }
      ]
    },
    {
      "name": "Modded Items",
      "representativeItem": "create:cogwheel",
      "items": [
        { "id": "create:cogwheel", "buyPrice": 10.0 }
      ]
    }
    {
      "name": "Custom Server-side Items",
      "representativeItem": "minecraft:emerald",
      "items": [
        { "id": "mmoecon:sell_wand", "special":"sell_wand", "buyPrice": 35000.0 }
      ]
    }
  ]
}

The Sell Wand is currently the only supported “special” item.

Styling Category Names

Category names support Minecraft’s standard & (or §) color and formatting codes, so you can colour and style them however you like. For example, “name”: “&6&lModded Items” renders as a bold gold “Modded Items”. If you don’t supply any codes, the name is shown as normal white text.

常见问题

MMO Econ 支持哪些 Minecraft 版本?

MMO Econ 支持 Minecraft Java 版 1.21.1–1.21.11,共 11 个版本,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

MMO Econ 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Misty Studios 的其他作品

查看全部 →