DayZ
Оцінок: 39
Live Crypto Trader
   
Нагородити
До улюбленого
В улюблених
Прибрати
Type: Mod
Mod Type: Economy
Розмір файлу
Додано
Оновлено
40.081 MB
23 груд. 2021 о 9:47
23 груд. 2021 о 11:25

Підпишіться, аби завантажити
Live Crypto Trader

Опис
Live Crypto Trader
This mod allows server owners to set up a live crypto trader, this trader will allow players to buy and sell ingame crypto currencies based on real world prices.

THIS MOD REQUIRES UNIVERSAL API TO FUNCTION


Discord
For More support and information please visit my discord
https://discord.gg/BwTp3mg

Monetization Rules
Allowed to be used on monetized servers as long as you have monetization approval from Bohemia Interactive

How to Support Me
If you are interested in donating to help support the mod or just buy me a beer to keep me motivated you can do so
Sponsor Me On Github[github.com]
Donate via Paypal[www.paypal.me]

Config Details
This config file will auto generate for you on first start this mod will also automaticly add a types entry to your ecomeny core for you if you wish to manage that your self just edit the config and then remove the entry from your econmey core.
{ "ConfigVersion": "1", "Currencies": [ { "CurrencyCode": "USD", //Links a currency with a currency CODE "Values": [ { "m_TypeClass": "MoneyRuble100", "m_Value": 100 }, { "m_TypeClass": "MoneyRuble50", "m_Value": 50 }, { "m_TypeClass": "MoneyRuble25", "m_Value": 25 }, { "m_TypeClass": "MoneyRuble10", "m_Value": 10 }, { "m_TypeClass": "MoneyRuble5", "m_Value": 5 }, { "m_TypeClass": "MoneyRuble1", "m_Value": 1 } ] } ], "CryptoTraders": [ { "ObjectType": "SurvivorM_Boris", "Attachemts": [ "BomberJacket_Black", "CargoPants_Blue", "DressShoes_Black" ], "Pos": [ 3715.949951171875, 402.55999755859377, 5984.85009765625 ], "Ori": [ -55.0, 0.0, 0.0 ], "AcceptedCurrency": "USD", //What Currency is accepted at this trader the code needs to match the currency at the top of the config and a realworld currency "Cryptos": [ //What cyrpto items this trader sells "Cryptocurrency_bitcoin", "Cryptocurrency_ethereum", "Cryptocurrency_litecoin", "Cryptocurrency_Sack_ripple", "Cryptocurrency_Sack_cardano", "Cryptocurrency_Sack_dogecoin", "Cryptocurrency_Sack_shiba", "Cryptocurrency_Sack_binance", "Cryptocurrency_Sack_solana", "Cryptocurrency_Sack_stellar" ] } ], "ManagedTypesFile": 1 //Will create the types file automaticly and add it to the economycfg }


Adding your own custom Crypto's
To add your own crypto currency you must make a mod and pack a config.cpp if you don't know how to do this I recommend reaching out a modder to help
class cfgvehicles { class Cryptocurrency_Coin_base; class Cryptocurrency_bitcoin: Cryptocurrency_Coin_base { scope=2; displayName="Bitcoin"; //Display Name marketSymbol="BTC"; //Crypto Currency Code pileCount=1; //How many coins this item is valued at (must be whole number) hiddenSelectionsMaterials[]= { "Crypto\data\Cryptocurrency\data\Cryptocurrency_bitcoin.rvmat" //Path to your rvmat/rvmat you want to use }; hiddenSelectionsTextures[]= { "Crypto\data\Cryptocurrency\data\Cryptocurrency_gold_co.paa" //Path to your texutre/textureyou want to use }; }; class Cryptocurrency_Sack_bitcoin: Cryptocurrency_Sack_base { scope=2; displayName="5 Bitcoins"; //Display Name marketSymbol="BTC"; //Crypto Currency Code pileCount=5; //How many coins this item is valued at (must be whole number) hiddenSelectionsTextures[]= { "Crypto\data\Cryptocurrency\data\Cryptocurrency_Sack_bitcoin_co.paa" //Path to your texutre/textureyou want to use }; };
Коментарів: 6
水杉 6 лип. о 5:36 
Why did I fail to obtain the price of currency?
twitchhd 3 лют. 2022 о 15:23 
может кто то помочь настроят что и куда нужно вписывать а то я в этом деле сплошной 0/can someone help set up what and where to enter, otherwise I’m solid in this matter 0
Sheldon 22 січ. 2022 о 2:20 
Another useless mod...
HaxxOR1337 26 груд. 2021 о 15:51 
Love it <3
Rishat 24 груд. 2021 о 4:36 
Shiba!!!!
R0Lu 23 груд. 2021 о 16:06 
Crazy ♥