Inactive [ECON] StockCraft 0.3 - When minecraft players care about economy crisis [818]

Discussion in 'Inactive/Unsupported Plugins' started by henning77, Apr 18, 2011.

  1. Offline

    henning77

    StockCraft - Trade real stocks in Minecraft
    Version: v0.3

    Features:
    • Buy and sell real stocks in Minecraft (courses from finance.yahoo.com)
    • Compare profit with other players
    Downloads:
    Requirements:
    • MYSQL Database
    • iConomy
    • Permissions
    How to install:
    • Install MYSQL Database if not available
    • Install the missing plugins (iConomy,Permissions)
    • Download the rar archieve
    • Extract it to plugins
    • Modify StockCraft.cfg -> /plugins/StockCraft/StockCraft.cfg for connection to the Database
    • 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!
    • url=//localhost:3306/minecraft -> change "minecraft" to the name of your database
    • user=root -> change "root" to your database user
    • password= -> Add password of your database
    • detailedpermissions=false -> change to true if you want to activate more permissions, if false you don't need to change permissions if admin rights are "*"
    • shorten=false -> change to true if you want to activate shorting (Check Wiki!)
    • iConomy5=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!)
    Commands:
    • /stockhelp -> Help
    • /ids [page]-> Shows the stocks that are available
      • /ids symbol [page]-> Shows the symbols of the stocks that are available
      • /ids s [page]-> Shows the symbols of the stocks that are available
    • /course [id] -> Shows the course of the stock
    • /stocks -> Shows your stocks if you have some
    • /stockbuy [id] [amount] -> to buy stocks
    • /stocksell [id] [amount] -> to sell stocks
    • /stocktop -> Top 10 with the highest profit
    • /addid [id] [symbol] -> adds a new stock to the id list (you can find the symbol on finance.yahoo.com!)
    • /addidlist [name] -> adds new stocks from a file (examplelist: /addidlist examplelist) in /plugins/StockCraft/
    • /removeid [id] -> removes stock from the id list
    Permissions:
    • 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:
    /addid BMW BMW.DE

    Get new stocks:
    If you want to add new stocks go to finance.yahoo.com and check the id

    [​IMG]

    after that add the id in Minecraft:
    /addid BMW BMW.DE


    Changelog:

    Version 0.3
    • Added support for iConomy5 (you can still use old versions if you set iConomy5=false!)
    • Added pages to /ids -> /ids [page]
    • Added symbol optiion to /ids -> /ids symbol [page] or /ids s [page]
    • Added option to set trading fee
    • Fixed some bugs
    Version 0.2
    • Added the option shorten (you can sell stocks which you don't have and buy them later! -> (Check Wiki!) To activate set shorten=true in StockCraft.cfg
    • Added new permissions -> To activate set detailedpermissions=true in StockCraft.cfg
    • Added some error messages
    • You can load stocklists now! Look at /plugins/StockCraft/examplelist.txt! Load the list with /addidlist examplelist or load your own list!
    • Getting courses (/ids and /stocks) is now speeded up!
    Version 0.1
    • First Release
    Donate:
    If you want to support me
    Donate
     
  2. Offline

    napkin

    works perfectly! ;)
     
  3. Offline

    SirHedgehog

    Haha brilliant idea. I love how it actually tracks stocks.
     
  4. Offline

    Divermax

    cool server...I like stocks...testing it now
     
  5. Offline

    Jonathan Bloom

    Oh man, if you get this integrated with iConomy, KA-CHING! I'd get this on my Survival server.
     
  6. Offline

    Arzeus

    I love it! Yet more ways for my players to use their hard earned cash [diamond]
     
  7. Offline

    henning77

    It works with iConomy Plugin... sorry for my first reply... I didn't get it.

    Thanks for all replies!
     
  8. Offline

    Torrey Leonard

    Hello, GitHub noob here,

    How do I download it? I went to your GitHub site and accidentally downloaded the source then went to the link above "Rar!" and it shows some sort of Yoda/cat saying I didn't want to go there... Help? I know I know... don't yell at me! :)

    Aside that... I LOVE THIS! This plugin is actually what I've been looking for for ages! Finally developed... with real stocks too! I thought it would be more like Minecraft Industries.... MCI based in Minetopia... or something... this is awesome! Thanks!
     
  9. Offline

    henning77

    Sorry that was my fault... I am new to github too ;-)
    Now it should work!
     
  10. Offline

    Torrey Leonard

    EDIT:
    Nevermind! For all you noobs like me, (Unless your indenile then... not-so-smart-at-github-people) Just download it on the page by clicking downloads, a given, then follow the directory on the page bin/StockCraft.rar and unrar it!


    Thanks henning! PLEASE make more economy plugins, if you do, I will worship you! Thanks!
     
  11. Offline

    Lhjnhnas

    If there were awards for revolutionary plugins of the month/year/quarter/whatever, you just won the award.
     
  12. Offline

    Torrey Leonard


    EDIT2:
    Whenever I add an id like APPL or APPL.DE it says no such id... for your example you use BMW.DE i tried that and nothing happened, along with /ids and other commands that dont work :(
     
  13. Offline

    henning77

    Its aApl not APPL -> try:

    /addid Apple AAPL

    And /ids doesn't work if there are no stocks added...(also /stocks) I will add an error message!
     
  14. Offline

    tha d0ctor

    umm i now this might be a little too complicated for v0.1 but does this have support for dividends?
     
  15. Offline

    henning77

    No sorry... not yet! Maybe in later release...!
     
  16. Offline

    WhosDaMan

    You want to know what would make this even better? support for BOSEconomy! Then i would totally dl it
     
  17. Offline

    renxwar

    What are the permissions nodes?
    If permission nodes aren't being used, can you add them?
     
  18. Offline

    henning77

    Yes you are right I missed that. The nodes are: StockCraft.addid and Stockcraft.removeid

    I will add more nodes later!
     
  19. Offline

    renxwar

    Can you add one thats like 'StockCraft.use'? Ability to /ids, /stocks. /stockbuy, stocksell.
     
  20. Offline

    City Builder

    Everything seems to work with the one big exception of:
    /stock -> Shows your stocks if you have some

    I do /stock after having bought stock and I get a unknown console command message.

    Any clues why all of the stock system works with the exception of being able to see what stocks I've bought?

    Thanks,

    EDIT: The correct command is /stocks (not the s on the end) the instructions in the OP are incorrect.

    Merged Post:

    Hi,

    First off love this plugin, would love to see more quality econ plugins.

    I only wonder what kind of load this might put on a server? I notice that anytime that a player does the /ids command we get the MC message of 'can't keep up, did the system time change or is the server overloaded".

    Is this plugin really putting a large load on our server, or no?

    Thanks again

    EDIT AGAIN: I believe that the /remove <id> conflicts with another plugin though I don't know which, when I try to use /remove msft I get a message:
    Too few arguments,
    .remove <type> <radius>

    Any chance of changing that to like /stockremove
     
  21. Offline

    henning77

    I don't think its much load but I havn't tested.

    The command is /removeid [id] not just /remove...

    Yes I will add... will be available in 0.2!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  22. Offline

    City Builder

    Ok, the docs in the OP are wrong then, they simply say /remove [id]
    Just like the /stock command listed in the OP should be /stocks
    Thanks
     
  23. Offline

    henning77

    Shame on me...thanks!
     
  24. Offline

    woodzy

    maby you could make in-game stocks that admins/ops can make? and players can buy/sell/trade.
    and maby have it like in with the Ijobs plugin? or Uquest? i try to keep my server as close to reallife as i can :D
    im nuts right?
     
  25. Offline

    Piedo_bear

    Could you have a special sign set up which displays the stock price, and updates say hourly?
     
  26. Offline

    Torrey Leonard

    Ok thanks... now how would I know the stock id from the stock symbol, I can't find aApl on finance.yahoo.com
     
  27. Offline

    City Builder

    Go onto finance.yahoo.com and type in AAPL in the search, if you are then just looking for general stocks and you don't care what they are, look in the left side bar and click on each different one where you'll then be given the name of the company (which is what I use for the ID) and the stock symbol.

    You can probably get more like this than you'll actually want to put into your system due to the limitations of the chat panel in Minecraft.
     
  28. Offline

    Torrey Leonard

    I got a market summary, (on the left hand side) news, currencies, "investing ideas" and "market movers" but no real id's/symbols.

    Also, along with everthing else I've said :) I have some suggestions for the future:

    1. Maybe have a default set of id's with major names in it, or even full of all the symbols automaticlly...
    2. If 1 doesn't happen, then maybe we could have something like /id aApl BMW.DE ____ _____ ____ instead of one at a time...
    3. A shortened command would be nice for players buying... /s (stock) b (buy) __id__... /s b __id__ __amount__
    4. Maybe make it easier on us by using actual symbols not id's, I know this could be hard of course so no need to rush if you decide on it, but it could help allot!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  29. Offline

    City Builder

    Sorry, I meant click the words finance search next to where you can type in a stock symbol, then on the search page type in something like aapl, then it will list more stocks on the left side bar, everytime you click on one of them you'll get a somewhat different list of stocks come up on the sidebar.

    That's how I filled our stock system.
     
  30. Offline

    henning77

    I am not quite sure how this should work... maybe on large servers... but if you have a good idea -> tell me!

    I will think about!

    I have added an Image... check the plugin post.

    -> 1. Yes I will give an option to load default stocks... so if someone has a good "default" list with international stocks please tell me!
    -> 2. I will think about to add that
    -> 3. you are right but maybe more clear so that there is no complication with other plugins (got problems with shops)
    -> 4. It would be hard to remember for the users but I will keep this in mind...maybe both...!?
     

Share This Page