Inspiration

My team and I are REALLY big fans of the popular game minecraft. We were think of ways to integrate the Xpring SDK, and we landed on this.

What it does

The Minecraft Sponge API sends API requests to the backed with all the information to generate XRP wallets and to send XRP to other players. The Sponge API can then be configured to send XRP to an individual minecraft user on certain in game events, such as a user purchasing something from a shop, or a user killing another player.

How I built it

I used the Xpring Javascript SDK as well as express and node.js to make an API that my front end plugin can call to.

Challenges I ran into

To preface this, the Sponge plugin is not exactly done, regardless, these were my short comings.

Long story short... I have ABSOLUTELY no idea how to manage java dependencies and running them outside of the gradle environment. I have spent countless hours trying to find the right dependencies just to use a single library in my plugin. Furthmore, I bounced between several different concepts on how I wanted to accomplish building it. First I wanted to run the Xpring java SDK directly in the plugin. But then I hit a wall on trying to get the dependencies together for it. Then I decided i was going to build a django api for the Xpring Python SDK, because thats what I'm good at. But, only after I had the API setup I realized the Xpring Python SDK is very broken, or I was doing something horribly wrong. So, I decided to jump over to the Xpring JS SDK and it worked. There were a few pieces of the documentation that I didn't feel was 100% and I had to fiddle with alot of different pieces of code. Regardless tho, I got that part to work! Also, I didn't start any of this until 6pm on Saturday because I had to be on campus at 1pm. Also, my team struggled to come up with an idea at first. But hey, its all good.

Accomplishments that I'm proud of

I am extremely proud that I got the API to work! That was a learning experience because I have never made a node REST API.

What I learned

I've kiiiiiinda learned how to manage dependencies in java with gradle, still working on that. But, I definitely learned how to make a REST API in node, thats pretty cool. I also learned how to use the Xpring javascript SDK with was definitly the biggest learning curve... Learning it at 4am definitely made it a bit harder tho.

What's next for XRP Minecraft Integration

I will definitely keep working on this and actually bring it to a usable state. I can see servers taking advantage of people using it. Also, I'd like to add the ability for users to buy XRP directly ingame. Furthermore, Id like to add a banking feature for users to store their XRP and have it operate like a real bank would.

Built With

Share this project:

Updates