Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion

Developer Wanted, minecraft economy, display a players balance from an sql database.

I wondered if any devs would be interested in doing a super simple little addon. All it needs to do is display a players in game balance under their name from a mysql database. The player would just set what their ingame name is in their profile/ or it under there vanilla user name as default, and the addon does the rest. I can offer a small reward if needed.

Comments

  • 422422 Developer MVP

    Define : small

    422 Real Estate Australia , now open Check it out

  • define: super simple

    how come you don't do it?


    factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!

    Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant

    422UnderDog
  • 422422 Developer MVP

    Famous last words lol

    I recall when i owned our flooring business, customers would say:

    I would do it myself but i am too busy

    Its just a small job.

    Its straightforward and simple.

    Wouldnt take a pro long to do

    God lovem :)

    422 Real Estate Australia , now open Check it out

    peregrineUnderDog
  • If it bothers you all I can remove the scale description...

  • would the addition of points be on a vanilla page or a custom page.


    factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!

    Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant

  • Neither, it literally just needs to display a number from sql. Any changes to the sql happen ingame, all the addon does is display.

    To setup, you would just enter the mysql login info in addon config. The mysql table has two fields, money and name. So this addon displays the money for the corresponding name.

    It tries to use a players vanilla name as default, however if they have a different vanilla name to their game name, they can configure it in their profile.

  • let me try again

    would the "display" of points be on a vanilla page or a custom page.

    if it is on a custom page or in minecraft itself I can't help you

    if it is on a vanilla page, I might be able to help you on this forum if you post an image of where on the page you would like it.


    factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!

    Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant

  • It migth look something like this.

    Look just under your user name, The currency name would also need to be in the config, in this example I have used "Fe" as the currency name.

  • 1) So you just want to retrieve a number out of an external database and put it on the vanilla comment page? and the discussion page? for each user?

    2) and pull a symbol out of a config.php variable

    I know its clear in your head. not in my mind.

    Vanilla Pages Correct?


    factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!

    Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant

    UnderDog
  • i know what he needs- i run a minecraft server myself. the game server has a plugin that records user data to a mysql table- the first column is the player name, and each thereafter is one of the stats. he wants a page that pulls the player name and stats and displays them to the users. and for users to be able to attach that name to their profile?

    @Nonnisi I recommend the beard stat plugin if you're using bukkit I would do it myself if i knew how to make a vanilla addon/plugin, could do a webpage for it though or you could use the one on the bukkit forums (dunno if its been updated though)

  • Thx for the explanation.

    A vanilla plugin works with vanilla software. if he want to read an external database in vanilla, it can be done with the usual host, password, db, and user.

    he wants a page that pulls the player name and stats and displays them to the users. and for users to be able to attach that name to their profile?

    so he just wants a few more fields in the profile with those stats.

    is this what you want?

    so a user would enter the minecraft screen name in a field in the vanilla profile page, it would check the minecraft base and then display the users minecraft name, money from the minecraft database and a currency (e.g. Fe) from the config.php.

    how long can minecraft names be? upper and lower case A-Z and 0-9 (any other characters allowed?)


    factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!

    Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant

  • Yes, I think you have got it, minecraft names can be 16 chars long. a-z, A-Z, 0-9, _

    UnderDog
  • oops for some reason i thought it was for stats not iconomy -.- sorry, but same process to get/display info lol

Sign In or Register to comment.