跳到正文

Monee

作者:Sniff_Lord

A simple multiplayer mod/datapack that adds simple currency to any server. This can be used as base of an economy

收藏

介绍

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

Monee – A basic money datapack

Monee adds a basic money system that includes a deposit & banknote system. It allows you to make an economy. This datapack should be used on a server.

Features

  • Wallet and Bank. Any money you earn will be placed in your wallet. When you die, the money in your wallet will be divided by three, this is configurable. To keep yourself from losing your money, place it in your bank.
  • Banknotes. An item that when interacted with will give the user a certain ammount of money
  • Earning money. When you kill a mob, you will gain a small ammount of money. Boss mobs will grant you larger ammounts of money.
  • Configurable. By editing the “mon:config” function file, you can edit certain values. Save changes to the config by reloading and running the function (Money gained from mobs and bosses & the ammount of money lost on death)

Economy Commands

/trigger tutorial

Displays all available basic commands in chat

/trigger Deposit set

Moves a certain ammount of money from your wallet to your bank

/trigger Withdraw set

Moves a certain ammount of money from your bank to your wallet

/trigger Banknote set

Converts a certain ammount of money from your bank to a banknote

Admin Commands

Setting, Adding, and Resetting Wallets & Banks

You can modify the wallets & banks of players by using the vanilla /scoreboard command.
Below are some examples :

  • /scoreboard players set wallet
  • /scoreboard players add bank
  • /scoreboard players reset wallet

(‘wallet’ and ‘bank’ are interchangeable, ‘wallet’ will modify a persons wallet and ‘bank’ will modify a persons bank)

Getting a Custom Banknote

To get a custom banknote use “/function mon:bank/give_note”.
There are some required arguments for this command that are listed below.

/function mon:bank/give_note {“value”:50}

50 can be replaced with any integer (Non-decimal number)

常见问题

Monee 支持哪些 Minecraft 版本?

Monee 支持 Minecraft Java 版 1.20.5–1.20.6,共 2 个版本,可用的加载器:Fabric / Forge / Quilt。下载时注意选择和你游戏版本一致的文件。

Monee 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

Sniff_Lord 的其他作品

查看全部 →