Live Crypto Trader
Фото и видео: 1 из 2. Материалы автора из Steam Workshop.
О материале
«Live Crypto Trader» — материал мастерской DayZ. Оружие, транспорт, территории и моды для серверов. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
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 Donate via Paypal
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
};
};
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.