Mods / CAN Economy

Tags: #Utility
Author: KenigVovan
Side: Both
Created: Apr 7th 2024 at 7:58 AM
Last modified: 3 days ago
Downloads: 5575
Follow Unfollow 26

Recommended download (for Vintage Story 1.20.1 and 1.21.5):
caneconomy_1.0.8.zip  1-click install


API for in-game players' money account

Mod Version For Game version Downloads Released Changelog Download 1-click mod install*
1.0.8 3622 Jan 23rd at 4:55 PM caneconomy_1.0.8.zip 1-click install
  • rebuild
1.0.7 280 Sep 11th 2024 at 10:39 PM caneconomy_1.0.7.zip 1-click install
  • error fix
1.0.6 796 Jul 5th 2024 at 7:35 AM caneconomy_1.0.6.zip 1-click install
  • REAL_MONEY fix format parse
1.0.5 122 Jul 2nd 2024 at 4:22 PM caneconomy_1.0.5.zip 1-click install
  • postfix instead of prefix for sign text check
1.0.4 168 Jun 7th 2024 at 8:12 PM caneconomy_1.0.4.zip 1-click install

- tryGetAccountByLastKnownName added to a handler interface

1.0.3 176 Apr 27th 2024 at 7:05 AM caneconomy_1.0.3.zip 1-click install
  • OperationResult for deposit/withdraw/depositFromAToB
  • locks moved
1.0.2 114 Apr 25th 2024 at 3:59 PM caneconomy_1.0.2.zip 1-click install
  • VirtualMoneyEconomyHandler(VIRTUAL_MONEY) added
  • DatabaseHandler base class added
1.0.1 158 Apr 15th 2024 at 3:19 PM Empty caneconomy_1.0.1.zip 1-click install
1.0.0 139 Apr 7th 2024 at 7:58 AM Empty caneconomy_1.0.0.zip 1-click install

3 Comments (oldest first | newest first)

💬 ScarlettJFG, 3 days ago

Forgive me, I have...an amatuer level of programming knowledge and next to nothing for VS but I still have a question.

Is there any way you can have the "COINS_VALUES_TO_CODE" also check for .db files (Such as Coinage's Coin DB file) and pull from them?

I use Coinage and wanted to convert custom coins to virtual or even potentially use the physical coins to do so, however they get assigned a new ID tag on the save (Not the code field, the numerical ID the save uses to quickly identify an item) and exists as a different item. If it isn't possible, that's alright, figured I could at least ask.

💬 KenigVovan , Sep 11th 2024 at 10:40 PM

Psychose

try .7

💬 Psychose, Sep 11th 2024 at 11:55 AM

Hello, I am having a recurring error seemingly caused by CAN Economy,
I have the configs set to use "Virtual Money" as well as use the Claims mod with the same configuration.
The error is below, if there is anything I can do to remedy this I would love to know.

10.9.2024 20:47:25 [Error] Exception: Object reference not set to an instance of an object.
at caneconomy.src.implementations.RealMoney.RealMoneyEconomyHandler.countOfItemCoinsInInventory(BlockEntity chest) in C:\Users\koeni\source\repos\caneconomy\caneconomy\caneconomy\caneconomy\src\implementations\RealMoney\RealMoneyEconomyHandler.cs:line 307
at caneconomy.src.implementations.RealMoney.RealMoneyEconomyHandler.onChunkColumnUnload(Vec3i chunkCoord) in C:\Users\koeni\source\repos\caneconomy\caneconomy\caneconomy\caneconomy\src\implementations\RealMoney\RealMoneyEconomyHandler.cs:line 463
at Vintagestory.Server.ServerSystemUnloadChunks.UnloadChunkColumns() in VintagestoryLib\Server\Systems\World\LoadThread\UnloadChunks.cs:line 374
at Vintagestory.Server.ServerSystemUnloadChunks.OnServerTick(Single dt) in VintagestoryLib\Server\Systems\World\LoadThread\UnloadChunks.cs:line 106
at Vintagestory.Server.ServerMain.Process() in VintagestoryLib\Server\ServerMain.cs:line 86

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом