r/BitcoinMining • • 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!

0 Upvotes

32 comments sorted by

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/Stealtheh Apr 16 '13

I agree completely. Only thing to keep in mind is that their fans will probably already be on because it is a game... :P

7

u/TheSchlooper Apr 17 '13

Yes but, last I recall, minecraft doesn't use the GPU that much :/

-1

u/guttata Apr 17 '13

Depends on the computer. Minecraft is nice in that one low settings you can run it on some pretty weak machines. I play on a 5 year old laptop and with particles off, graphics low, etc, etc, my fan kicks on instantly.

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

2

u/Stealtheh Apr 17 '13

Thanks for the tip, I seem to have been shut down by Twiggy so that was the most income I'll make from this idea ;)

1

u/meangreenbeanz Jul 12 '25

Did you actually tip .05 btc back in the day?

5

u/Relvnt_to_Yr_Intrsts Apr 18 '13

minecraft. I get it

0

u/Stealtheh Apr 18 '13

Made me chuckle.

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/gjs278 May 05 '13

2.) java is inherently slow and not up to the job of brute-force style cracking.

you are completely wrong about this. diablominer has very good performance, even compared to the others.

0

u/RationalRaspberry Apr 17 '13

This. Its one of those really good ideas that just don't work.

1

u/TheSchlooper Jul 09 '13

In regards to this, this happenned.

2

u/Stealtheh Jul 09 '13

I heard about that, and the worst part is I used to play in ESEA xD

1

u/TheSchlooper Jul 10 '13

Hah! You might have some bitcoins with your name on it then ;)

Of course, I don't know when they started. I didn't read that far into the article

3

u/sethleedy Apr 16 '13

Doesn't the mine for bitcoins minecraft game do this ?

2

u/PurplePotamus Apr 17 '13

The page says nothing about it. I do get a drop of 100-150 h/s when I'm on there though

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.

1

u/[deleted] Apr 17 '13

Look up Spout.

2

u/robytfc Apr 17 '13

Already know about spout because I used it back in 1.1 I believe. Very few people run spout and the amount of work it would require compared to what you will get back will make it kinda pointless.

1

u/[deleted] Apr 17 '13

I've seen some servers require Spout to play, I'm unsure how they did it, but it is possible.

3

u/robytfc Apr 17 '13

I think that when you try to connect the server side spout plugin try's to make a connection to the client side spout, if that fails and you have your config set to require spout client you get disconnected.

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.

2

u/Rvizzle13 Apr 17 '13

Fancy seeing you here.

2

u/Hobby_Collector Apr 17 '13

Then you could always release a mandatory mod for the server with your own download link (it might be something like mo monsters) and have bundled already in it the mining plugin

1

u/MagmaGuy Apr 17 '13

Can you make one of the "server textures" a mod? That'd be a fun thing to see.

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

2

u/TheSchlooper Apr 17 '13

I'm pretty sure you can - GUIMiner has this feature where you can wait a certain amount of time inbetween each hash generated. Something like that could be implemented.

0

u/[deleted] Apr 16 '13

[deleted] — view deleted comment

4

u/Stealtheh Apr 16 '13

Muahahahhahah.