StockCraft
StockCraft - Trade real stocks in Minecraft
Stock api updated,
- Looking up stocks now goes faster!
- 15 minute delay from Yahoo again.
This is the continuation of the original StockCraft made by @henning77 But I couldn't reach him for 15 months... And the plugin has not been updated since, untill now!
Features:
- Buy and sell real stocks in Minecraft (courses from finance.google.com)
- Compare profit with other players
- More
Requirements:
- MYSQL Database
- economy plugin
- Permissions
- Vault
How to install:
- Install MYSQL Database if not available
- Install the missing plugins (iConomy,Permissions, Vault)
- Download the rar archieve
- Extract it to plugins
- Add Stocks with /addid or load example list with /addidlist examplelist
Config File:
Edit your config file to access your database and to activate some functions!
- shorten=false -> change to true if you want to activate shorting (Check Wiki!)
- Vault=true -> change to false if you want to use an old iConomy Version
- fee=0 -> If you want a trading fee, you can set one here. (percentage of money paid for stocks!)
- minimumfee=0 -> Here you can set a minimum fee! (You can leave fee=0 and set a static fee!)
database:
- host: localhost
- port: '3306'
- database: stockcraft
- username: root
- password: ''
Commands:
- /stock help -> Help
- /stock ids [page]-> Shows the stocks that are available
- /stock ids symbol [page]-> Shows the symbols of the stocks that are available
- /stock ids s [page]-> Shows the symbols of the stocks that are available
- /stock course [id] -> Shows the course of the stock
- /stock list -> Shows your stocks if you have some
- /stock buy [id] [amount] -> to buy stocks
- /stock sell [id] [amount] -> to sell stocks
- /stock top -> Top 10 with the highest profit
- /stock add [id] [symbol] -> adds a new stock to the id list (you can find the symbol on finance.yahoo.com!)
- /stock addlist [name] -> adds new stocks from a file (examplelist: /addidlist examplelist) in /plugins/StockCraft/
- /stock remove [id] -> removes stock from the id list
Permissions: default to op.
- stockcraft.addid -> add this to permissions plugin to allow admins or mods to add stocks
- stockcraft.removeid -> to allow admins or mods to remove stocks
- stockcraft.commands.* (only needed if you set detailedpermissions = true in stockcraft.cfg)
- stockcraft.commands.course
- stockcraft.commands.stockbuy
- stockcraft.commands.stocksell
- stockcraft.commands.stocktop
- stockcraft.commands.stocks
- stockcraft.commands.ids
- stockcraft.commands.stockhelp
Examples for stocks (with symbols):
- BMW BMW.DE
- DeutscheBank DBK.DE
- Lufthansa LHA.DE
- Commerzbank CBK.DE
- Telekom DTE.DE
- Infineon IFX.DE
- SAP SAP.DE
- Siemens SIE.DE
- SONY SON1.F
- ACER ACX.MC
- Oil CLK11.NYM
- Gold GCJ11.CMX
- Gas NGK11.NYM
Example:
- /stock add BMW BMW.DE
Get new stocks:
If you want to add new stocks go to finance.yahoo.com and check the id
after that add the id in Minecraft:
- /stock add BMW BMW.DE
Donate:
Donate if you like this plugin!
Aww plugin wont load :(
http://pastie.org/pastes/7170189/text?key=fo133dk4urauziibr3m3a
That is with MySQL info set in the .cfg file and running a very recent CB/Spigot version.
An update how cool, testing this!
Only confusing thing right now is overlapping config options in the .cfg file and the .yml file. Is the .cfg file only used for DB info now?
@Joymo
I'm going to look into it, but I'm afraid I can't promise anything.
Well read what I said...it's just a few minutes behind of live data, so yes, you can consistently abuse this and make free money.
is the problem that @Joymo referring to - the updating of the stock exchange, a consistent problem, or uncommon? I am really interested in adding this to our server but if its a way for people to make free money without actually talking risks then I dont think we can add it. If its an uncommon problem then it would be okay.
Thanks
Scottish
qcbob: what you're referring to is called gambling :P
I would like to offer a suggestion, the idea of renaming an ID to any name we want. It will solve the problem of people looking at stocks from Google Finance before it update on Yahoo Finance. That way people won't really know the actual stock behind the name and it can offer a certain theme for different kind of server.
The idea is simple: /stockrename [id] [Name] /stockshow [Name] (will show the actual id)
But, on the overall I am really happy to have this plugin on my server. Keep going!
Use Google finance perhaps? if possible.
I mean you can see this plugin is useless when it's so easily cheated? :P
@Joymo
This is a problem of yahoo, I can't fix this.
I remember the original version of this was easily exploitable, as it was using outdated stock information. So people could check live stock information, I think on Google Finance, and as the Yahoo stock info was a few minutes behind, basically super easily cheat this.
Is this still the case, and if so, any chance for a fix so this can be used on an economy server?
Thanks!
@BlockCat
Yup, using Vault, the latest version as of now 1-7-2013
@TheSpaceBetween
use Vault?
@BlockCat Well maybe I'm doing something terribly wrong but I have Bpermissions and I have thrown all the perms into it, bPerm works fine and so does every other plugin, but StockCraft says permissions not loaded. I assume this means that this plugin is compatible with BPermissions, or am I just being stupid?
@TheSpaceBetween
like vault?
@BlockCat Man, no bPermissions support? So sad, I was really excited about this plugin. It would be great if you could add support for bPerms.
Could you add signs? just so you can easily see what is going on. E.g
GOLD B:34 S:12 +31
and you could also add a {right click to buy} thingy.
-blame me if this is already in.-
@Xcelsior1991
Well, I never removed it actually...
What makes you think nobody would use vault? Most of the plugins we use on our Server use it O.o and most of the bigger plugins support it (at least they did when I last checked for updates)
@Xcelsior1991
I tought since nobody uses it...
One question, why do you want to remove vault?