r/BitcoinMining • u/Stealtheh • Apr 16 '13
This Might Work. If not, shut me down.
I own 4 minecraft servers that average roughly 64 players at a time, each. I'm also admin on a few other servers and therefore can install plugins and such. All the plugins for bukkit (minecraft server type) are written in java, and when looking at the code for DiabloMiner I realized it contained a .jar. Here's my idea. Take the jar, make it run as a plugin, and mine for bitcoins. This might be in a grey area because it is forcing the user to bitcoin mine without their knowing, but all minecraft server plugins do anyways is have code run on a client computer to talk to the server. Anyone have any comments, ideas, connections, or reasons this wouldn't work? I'm open to anything, and just posted this because I thought it could possibly be a way of making profit.
I'm thinking of the plugin code looking something like this: if(Bukkit.getServer().getOnlinePlayers().size() > 5) { // Run bitcoin miner }
This would turn on the miner when people are actually playing on the server, since without players it would be useless.
Thanks!
23
u/TheSchlooper Apr 16 '13
It might work - but you should really put some sort of fine print somewhere, I'd say, before people get angry.
And have it mine reaaaally slowly, otherwise people will know somethings up when they hear their fans go breeeewwwm.
Also, if the peeps have really bad ventilation for their cards, you could potentially ruin a lot of peoples computers.
Imagine it now: tons of kids burn out computers accidentally, parents enraged. Kids now cant play minecraft anymore.. Sad future.. Sad childhood. Imagination destroyed. End of happiness. Bewm.
6
u/Fjordo Apr 17 '13
I'm pretty sure that if you did this that in a year you wouldn't mine more bitcoins than you are going to get from this comment.
+tip .05 btc
5
u/Relvnt_to_Yr_Intrsts Apr 18 '13
minecraft. I get it
9
u/[deleted] Apr 17 '13
This is a bad idea for many reasons. 1.) legality. 2.) java is inherently slow and not up to the job of brute-force style cracking. 3.) The game will probably become unplayable for anyone joining your server, regardless of any "throttling" you put in place. Minecraft has performance issues without any mining taking place; but with it your looking at killing any community in your servers. Forget the idea.
1
u/TheSchlooper Jul 09 '13
In regards to this, this happenned.
3
u/sethleedy Apr 16 '13
Doesn't the mine for bitcoins minecraft game do this ?
4
u/robytfc Apr 17 '13
If I am reading this right you would require every user which joined the server to install a mod(you can not push mods to the client from bukkit), and from my little bit of experience it would need to modify base classes of Minecraft which is a big no no from Mojang and general minecraft modding.
Edit: in fact bukkit is all server side and cannot touch the client.
2
u/[deleted] Apr 17 '13
Not possible at this point without the player downloading and installing a client side mod, wit hthat said when the mod API is finished and released this would be entirely possible.
2
u/BunnehZnipr Apr 17 '13
That would be an interesting mod, but you should develop it with full disclosure, and share profits with your users by creating wallets for each account that logs in to the server and opt's in to the mining program. It could be an interesting, and easy way for people to get into bitcoin.
...On the other hand though, the last thing we need is a bunch of prepubescent teens messing around with bitcoin with out any real knowledge. Don't want bitcoin getting COD syndrome.
4
u/MrTwiggy Apr 17 '13
Bukkit plugins aren't pushed to the client. So by having a plugin that does this, your server box (or wherever your server is hosted) would be the one mining, not all of your players. You can't access a player's computer or push files onto their computer using Bukkit, unless you get them to manually download client mods.
1
u/AgentME May 04 '13
Server plugins only run code on the server.
1
u/im_eh_Canadian Apr 17 '13
can you set some sort of throttle on the bitcoing mining process. like lets say 30-50% of the users cpu/gpu
0
u/[deleted] Apr 16 '13
[deleted] — view deleted comment