
Diamond Economy
Simple diamond-based economy for fabric
Обновлён 30 декабря 2024 г. · опубликован 6 октября 2021 г.
REQUIRES FABRIC API AND CLOTH CONFIG API
Currency is configurable from a diamond to any item.
Basic economy using diamonds. Uses the "/diamonds" (can be changed in config) command along with the following subcommands
balance [Optional: player] - tells user how many diamonds the player (defaults to self) has
buy price [item] - tells user buy price of item
buy [item] [Optional: int] - buys [int (default 1)] [item]
deposit [Optional: int] - deposits [int (defaults to no cap)] money from inventory
deposit hand [Optional: int] - deposits [int (defaults to unlimited)] money from inventory of the item in hand
deposit [item] [Optional: int] - deposits [int (defaults to unlimited)] money from inventory of [item]
sell price [item] - tells user sell price of item
sell hand [Optional: int] - sells [int (default 1)] of the item in hand
sell [item] [Optional: int] - sells [int (default 1)] [item]
send [player] [int] - takes [int] diamonds form your account and adds them to [player]'s account
top [Optional: int] - tells user current rank along with who has the most diamonds and how many
withdraw [int] - withdraws [int] from your account in the fewest items possible
withdraw [item] [int] - withdraws [int] from your account in the form of [item]
Operator only subcommands:
currency add [item] [int (sellValue)] [boolean (canSell)] [int (buyValue)] [boolean (canBuy)] [boolean inCurrencyList] - adds a currency of type item with the specified stats. sorts the currency list
currency remove [item] - removes [item] as a currency. sorts the currency list
currency sortList - sorts the currency list, run after manually changing the diamondeconomy.sqlite file
currency set buyValue [int] - sets the buy price to [int], and the sell price to [int] if inCurrencyList. sorts the currency list
currency set sellValue [int] - sets the sell price to [int], and the buy price to [int] if inCurrencyList. sorts the currency list
currency set canBuy [boolean] - if true, allows player to buy item. sorts the currency list
currency set canSell [boolean] - if true, allows player to sell item. sorts the currency list
currency set inCurrencyList [boolean] - if true, allows currency to be deposited, withdrawn, bought, and sold. also sets the buy price to the sell price. sorts the currency list
modify [players] [int] - modifies players money by [int]
set [players] [int] - sets players diamonds to [int]
Версии
| Версия | Канал | Игра | Загрузчики | Дата | Скачать |
|---|---|---|---|---|---|
| 1.6.1+1.21 | Релиз | 1.21, 1.21.1 | fabric | 30 декабря 2024 г. | Скачать (13.9 МБ) |
| 1.6.0+1.21 | Релиз | 1.21, 1.21.1 | fabric | 26 августа 2024 г. | Скачать (9.5 МБ) |
| 1.5.6 | Релиз | 1.20.2 | fabric | 21 сентября 2023 г. | Скачать (9.4 МБ) |
| 1.5.6 | Релиз | 1.20, 1.20.1 | fabric | 8 июня 2023 г. | Скачать (9.4 МБ) |
| 1.5.6 | Релиз | 1.19.4 | fabric | 23 марта 2023 г. | Скачать (9.4 МБ) |
| 1.5.5 | Релиз | 1.19.4 | fabric | 22 марта 2023 г. | Скачать (9.4 МБ) |
| 1.5.4 | Релиз | 1.19.3 | fabric | 15 февраля 2023 г. | Скачать (9.4 МБ) |
| 1.5.4-fabric | Релиз | 1.19, 1.19.1, 1.19.2 | fabric | 21 октября 2022 г. | Скачать (9.4 МБ) |
| 1.5.2-fabric | Релиз | 1.19, 1.19.1 | fabric | 18 июня 2022 г. | Скачать (9.4 МБ) |
| 1.5.1-fabric | Релиз | 1.19 | fabric | 7 июня 2022 г. | Скачать (9.4 МБ) |
| 1.5.0-fabric | Релиз | 1.18.1, 1.18.2 | fabric | 4 июня 2022 г. | Скачать (9.4 МБ) |
| 1.4.0-forge+1.16 | Релиз | 1.16.4, 1.16.5 | forge | 27 мая 2022 г. | Скачать (9.4 МБ) |
| 1.4.0-fabric+1.16 | Релиз | 1.16.4, 1.16.5 | fabric | 27 мая 2022 г. | Скачать (9.3 МБ) |
| 1.4.0-fabric | Релиз | 1.18.1, 1.18.2 | fabric | 27 мая 2022 г. | Скачать (9.3 МБ) |
| 1.4.0-forge | Релиз | 1.18.1, 1.18.2 | forge | 27 мая 2022 г. | Скачать (9.4 МБ) |
Показаны последние 15 из 20 версий.
Ченджлог
1.6.1+1.21Релиз1.21, 1.21.1 · 30 декабря 2024 г.
fix crash
note: mod is largely inactive and might not receive many updates beyond this one
1.6.0+1.21Релиз1.21, 1.21.1 · 26 августа 2024 г.
1.21 update reworked config added currency command added buy command added sell command added more withdraw and deposit options
1.5.6Релиз1.19.4 · 23 марта 2023 г.
allow changing permission levels of the commands in config
1.5.5Релиз1.19.4 · 22 марта 2023 г.
fix withdrawing large amounts
1.1.0Релиз1.17.1 · 11 ноября 2021 г.
fix #3 allow getting balance of offline players
Комментарии
Загружаем…