Garry's Mod

Garry's Mod

47 ratings
STBitMining 2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
68.267 KB
1 Jul, 2019 @ 10:27pm
15 Feb @ 4:26pm
16 Change Notes ( view )

Subscribe to download
STBitMining 2

In 1 collection by SweptThr.one
SweptThrone Catalogue
135 items
Description
Get money by actually roleplaying!

//

Important Update: Feb 15, 2025
CoinDesk shut down their free API, so this addon now uses a configured Bitcoin value. If you had this addon installed on your server prior to February 15, 2025, you will need to delete the config file at data/sweptthrone_addons/stbitmining2.txt to let the addon generate a new file with the Bitcoin value field. If you made changes to your config file, you can back it up and replace the values in the new file, but you still need to let the addon generate a new config file.

---

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 through the .txt file generated in data/sweptthrone_addons.

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

Need help configuring this addon? Check out docs.sweptthr.one/stsettings#stbitmining2.

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.


[sweptthr.one]

Credits:
Me - Code
19 Comments
SweptThr.one  [author] 15 Feb @ 4:33pm 
if you use this on your server, you will need to delete your current config file at data/sweptthrone_addons/stbitmining2.txt to let the addon recreate it with a new Bitcoin value field. you can just back up the file you have now if you made changes and bring your changes over, but you still need to let the addon generate a new file.

CoinDesk shut down their API or something so i can no longer use it, so unfortunately you will have to configure your own Bitcoin price. sucks
epic cod gamer 24 Sep, 2021 @ 4:08pm 
yeah i realized that a couple days ago lmao
SweptThr.one  [author] 19 Sep, 2021 @ 4:39pm 
the description only mentions darkrp. nothing mentions sandbox. there is no money system in sandbox. this only works properly in darkrp. think a little bit before commenting.
epic cod gamer 19 Sep, 2021 @ 3:14pm 
its possibly because i am using this in sandbox but when i click cancel on listings i get an error but i get the bitcoin but the lisiting doesn't disappear meaning i can pretty much get unlimited bitcoin.
SweptThr.one  [author] 10 Sep, 2021 @ 9:49am 
read the description.
Kofola~ 10 Sep, 2021 @ 8:26am 
how to sell bitcoins?
shark 3 Mar, 2021 @ 9:00am 
only dark rp?
Gordon Freeman 8 Jul, 2020 @ 10:27am 
could this work with nmoney addon?
The Pirate 8 Apr, 2020 @ 11:22am 
where is the file to configure it?
Rhodesians never die 17 Feb, 2020 @ 9:55pm 
ок попробую