DayZ
Ocen: 39
Live Crypto Trader
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Type: Mod
Mod Type: Economy
Rozmiar pliku
Zamieszczono
Zaktualizowano
40.081 MB
23 grudnia 2021 o 9:47
23 grudnia 2021 o 11:25
Listy zmian: 3 ( zobacz )

Zasubskrybuj, aby pobrać
Live Crypto Trader

Opis
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 }; };
Komentarzy: 6
水杉 6 lipca o 5:36 
Why did I fail to obtain the price of currency?
twitchhd 3 lutego 2022 o 15:23 
может кто то помочь настроят что и куда нужно вписывать а то я в этом деле сплошной 0/can someone help set up what and where to enter, otherwise I’m solid in this matter 0
Sheldon 22 stycznia 2022 o 2:20 
Another useless mod...
HaxxOR1337 26 grudnia 2021 o 15:51 
Love it <3
Rishat 24 grudnia 2021 o 4:36 
Shiba!!!!
R0Lu 23 grudnia 2021 o 16:06 
Crazy ♥