Garry's Mod

Garry's Mod

Not enough ratings
STBitMining 2
Type: Tool, Addon
File Size
0.010 MB
Jul 1 @ 10:27pm
Jul 3 @ 12:00am
2 Change Notes ( view )

Subscribe to download
STBitMining 2

In 2 collections by SweptThrone
Throneco Complete Pack
106 items
SweptRP Content
36 items
Get money by actually roleplaying!

STBitMining 2 is an addon with the intent of encouraging actual roleplay in DarkRP.

To start mining Bitcoin, simply buy any one of the new ST models of BitMiners and you're good to go! Give it some time, and withdraw the mined Bitcoin to your wallet whenever you want. Then, when you're ready, either hold on to your Bitcoin or list some on the server's market!

The market works (almost) like a real market would, as in you can list Bitcoin at the current price, and anyone can buy it for that amount of money at any time. You can also cancel listings at any time if you wish. If you decide to purchase Bitcoin, it's added to your wallet and your money spent. If the person you bought the Bitcoin from is offline, they'll still get the money once they come online.

Times and amounts can be configured, though there isn't an actual specific config file. They're all just thrown into the top of the shared Lua file.

Features and Contents
Functionality in DarkRP (setup required).
Simple to use.
Six different BitMiner models to use.
Config settings for each model.
Real player-to-player interactions.
Persistent market listings and wallets.
Tablet SWep to access your wallet and market.
Uses the true price of Bitcoin.

Disclaimers and Issues Section
This addon requires player-to-player interaction in order for any player to make money from it. This is not an automated system, as this was created with the intent to add roleplay back to DarkRP.
This addon does not influence the Bitcoin market at all. That would be ridiculous, and although it's unrealistic for it to work like this, it's better than relying on players of a server for 100% of the market's activity.
There are some floating-point precision errors when purchasing Bitcoin. It's possible that you will pay $1 more or less than what is listed on the market. We are working to resolve this issue.
For the same reason, it is also possible for low amounts to be listed for $0.
This addon is incompatible with my other Bitcoin addon, STBitMiners. Only use one at a time.

Note that this addon may not work perfectly, as it has been a bit since I've done GLua coding. If anything goes wrong, that means script errors, incorrect calculations, or anything else, leave it in a comment below.


Me - Code
< >
AYDS Oct 3 @ 7:55am 
There should be a bank exchange where you can convert money to bitcoin and reverse. Or a way to directly give or sell it to players.
FullNetHell Jul 30 @ 8:37am 
SweptThrone  [author] Jul 17 @ 8:30am 
I think it uses too much DarkRP stuff, but I can work on making it work in sandbox
tero Jul 17 @ 8:15am 
can be used in sandbox ?
SweptThrone  [author] Jul 2 @ 10:02am 
Make a listing from the tablet or miner
FullNetHell Jul 2 @ 8:59am 
How to add items in market?