I want to become a programmer. I enjoy programming and using problem solving skills to work out the problems. I have had relatively little learning experience, only a class in java (only learned up to arrays) and another in VB6 (lol)
I wanted to try and make a mod that takes a plugin (called physicalshop I believe) and creates a database so at the very minimum, you would be able to type a command such as /market search [item] and it would display a list of all the player shops that contain that item and how much they are selling for.
Other things that could be included into the mod would be to notify staff when a shop has been inactive, tell a player were a shop is in the market for easier finding, stuff like that.
Im not adding any new items or anyting but Im completely new to this so I dont know if this is over my head or not. I dont know what exactly I would need to do to achieve my idea for the mod (make an array with values for owner of the shop, item of the shop, last time it was used, etc) or make a new object of a shop class for each shop made?
Halp pl0x D=
Rollback Post to RevisionRollBack
Why does there never seem to be any nice servers...
I'm pretty new to this too, but you would probably need a file for all items held within a shop. Then you could add a search function that goes for a specific Block ID. Then all shops would be displayed (somewhere) and the prices could be next to it. As for the inactive thing, I would say that every two hours or so the server would see if any of the shops have been used for the last two hours. If a shop gets, say, 24 of those in a row it could notify certain people.
I'm pretty new to this too, but you would probably need a file for all items held within a shop. Then you could add a search function that goes for a specific Block ID. Then all shops would be displayed (somewhere) and the prices could be next to it. As for the inactive thing, I would say that every two hours or so the server would see if any of the shops have been used for the last two hours. If a shop gets, say, 24 of those in a row it could notify certain people.
I know how to go about designing it, that part is super easy. Its the actual making of it that I need help with.
Rollback Post to RevisionRollBack
Why does there never seem to be any nice servers...
Are you sure you're not trying to make a plugin? There's a big difference between a plugin and a mod because one uses an api (bukkit) while the other uses pure java.
Are you sure you're not trying to make a plugin? There's a big difference between a plugin and a mod because one uses an api (bukkit) while the other uses pure java.
If you are going to work with databases you are going to need to learn about networking in java (I think). This webpage may help you out: http://docs.oracle.c...king/index.html
SQL is a popular database coding language. You will need to learn it in order to execute what you want to do well.
It may seem like what you are trying to do is simple, but unless you have an intimate understanding of programming you will struggle to do this. I would recommend learning java thoroughly first (or start with an easier language like C++ and then learn java), and come back to making plugins/mods for minecraft later. A preexisting understanding of java will help you immensely when trying to achieve what you want. It may also help to learn a thing or two about internet protocols and TCP/UDP. All this you can find on my previous link/wikipedia (with the exception of documentation on C++ and SQL; those you can just look up on google).
I want to become a programmer. I enjoy programming and using problem solving skills to work out the problems. I have had relatively little learning experience, only a class in java (only learned up to arrays) and another in VB6 (lol)
I wanted to try and make a mod that takes a plugin (called physicalshop I believe) and creates a database so at the very minimum, you would be able to type a command such as /market search [item] and it would display a list of all the player shops that contain that item and how much they are selling for.
Other things that could be included into the mod would be to notify staff when a shop has been inactive, tell a player were a shop is in the market for easier finding, stuff like that.
Im not adding any new items or anyting but Im completely new to this so I dont know if this is over my head or not. I dont know what exactly I would need to do to achieve my idea for the mod (make an array with values for owner of the shop, item of the shop, last time it was used, etc) or make a new object of a shop class for each shop made?
Halp pl0x D=
I know how to go about designing it, that part is super easy. Its the actual making of it that I need help with.
If you are going to work with databases you are going to need to learn about networking in java (I think). This webpage may help you out: http://docs.oracle.com/javase/tutorial/networking/index.html
thats the thing, idk wtf im doing
well idk anything about sql so...yay me
Bukkit plugins are for multiplayer servers.
Mods are for single player.
SQL is a popular database coding language. You will need to learn it in order to execute what you want to do well.
It may seem like what you are trying to do is simple, but unless you have an intimate understanding of programming you will struggle to do this. I would recommend learning java thoroughly first (or start with an easier language like C++ and then learn java), and come back to making plugins/mods for minecraft later. A preexisting understanding of java will help you immensely when trying to achieve what you want. It may also help to learn a thing or two about internet protocols and TCP/UDP. All this you can find on my previous link/wikipedia (with the exception of documentation on C++ and SQL; those you can just look up on google).