[nodebb-plugin-openfantasy] Full-fledged RPG system for NodeBB


  • Admin

    (Taking gamification to the next level, literally :p)

    About 10 years ago I worked on this project called ADR (Advanced Dungeons and Rabbits), which was an RPG modification for phpBB2. There were a few of those modifications back in the day, such as Moogies and Zarath's RPG mods. Even Gaia Online was based upon phpBB at some point.

    Anyways, that project was very dear to my heart and I've always wanted to port it to something more modern (initially to phpBB3, thank goodness I didn't bother with that!)

    Anyways, here it is. *Do not use on production environment - I only spent a grand total of two weekends on this... I have a ton left to do! Any help is appreciated :)

    I'll set up a Transifex project for this at some point, because we actually have a ton of translations already, I think maybe even more than what NodeBB has at the moment :p

    Screenshots

    battle
    inventory

    mining

    profile

    skills

    stores

    Installation

    npm install nodebb-plugin-openfantasy
    

    Note: You need the Cash MOD currency plugin installed in order for the RPG system to be activated.

    Fork it on GitHub.


  • GNU/Linux

    wow! the screens look very promising, need to take a look the days ;)


  • Plugin & Theme Dev

    Was going to post a rather long comment about this but, I'll shorten it up by saying this is totally awesome. Excellent work on this!


  • Plugin & Theme Dev

    Insane, haha.

    Anyway, found this: https://github.com/psychobunny/nodebb-plugin-openfantasy/blob/master/lib/nodebb.js
    It's pretty similar to how I did it (https://github.com/Schamper/nodebb-plugin-shoutbox/blob/master/lib/nodebb.js), yours is much cleaner though, will probably refactor mine to that ;)


  • Admin

    haha great minds think alike :p although reading your version I realized that I could simplify:

    ../src/database.js
    

    should be

    ./database.js
    

    I'll try and get a demo up for this soon, :)


  • Anime Lovers

    ADRRRRRRRRRRRRRRRRRRRR!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    YESSSSSSSS!!!!!

    Want!!!!!

    dies

    comes back to life

    It even uses the old ADR graphics.

    If only I could upvote this 100 times. πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘

    You get what I mean.


  • Admin

    haha hey :) are you from the old ADR community?


  • Anime Lovers

    I didn't spend much time on the actual ADR community website. But I had my own phpbb2 forum with ADR installed on it (I was using the premodded metabb back then on my community. ADR was the best plugin ever created for forum scripts.


  • Admin

    oh yeah metabb.. think Ex0dus wrote that one. It was actually the first one I used as well :)


  • Anime Lovers

    Yeah, it was Exo. His website (shockv2) just perished recently too which was pretty sad as it was one of the first forums I frequented.

    Anyway, thanks soooo much for this plugin! Now I am going to go digging deep into the NodeBB plugin architecture to see if I can help at all. My experience from web development is all java faces and asp.net related with some lesser experience in PHP from my love of forums. Nodejs shouldn't be too hard to figure out though. :p


  • Admin

    :) this will be my weekend project for the forseeable future ;) I'll be putting hooks all over the place in ADR and I'll come up with a couple of sample plugins for it (maybe will port a few of the popular but simpler ADR 0.x addons) so that might be a good starting point if you were interested



  • awesome news pb =) thx for ur work=)



  • Fantastic!!! Glad to see this still alive. Looking forward to the updates. If you need any help or webspace for testing, I'm ready to help. :)



  • PM to a demo

    ADR Is probably the best most versatile complete rpg on the net it's a shame it's reliant on phpbb. It's great to see this as a standalone project using open fantasy.

    To see a live example of how ADR was check out Midorea, probably the last live site using the old technology.

    Can't wait to get into this even just to get the core live.

    Are you supporting this on your openFantasy forum, I haven seen updates but I check it every other day.
    Are you only going to work on this as a plug in for node, like is it reliant or will this still be stand alone but bridged to work with Node or any other forum?

    Will work on core with you if stand alone, I don't have any chance of working with nodebb unless I get hosted..


  • Anime Lovers

    @psychobunny said:

    :) this will be my weekend project for the forseeable future ;) I'll be putting hooks all over the place in ADR and I'll come up with a couple of sample plugins for it (maybe will port a few of the popular but simpler ADR 0.x addons) so that might be a good starting point if you were interested

    Awesome! I started following the project on github yesterday. When you get a couple of smaller plugins as examples up and running I'll see if I can start working on porting other plugins over. Or just writing new ones. :) Whichever I find more useful.


  • Admin

    @Oroton said:

    Are you supporting this on your openFantasy forum, I haven seen updates but I check it every other day.
    Are you only going to work on this as a plug in for node, like is it reliant or will this still be stand alone but bridged to work with Node or any other forum?

    I'm definitely retiring the PHP version (although anybody who wants to continue development can go for it :P) - and definitely I'll only be working on this for NodeBB, mainly because this forum software is my baby afterall so definitely not in my best interests to have ADR ported on to any other forum :p

    Will work on core with you if stand alone, I don't have any chance of working with nodebb unless I get hosted..

    There are actually some free hosts out there that you can use. Koding.com comes to mind, another one that seems to be popular is OpenShift (although am waiting for a tutorial from @never hopefully :p)

    When you get a couple of smaller plugins as examples up and running I'll see if I can start working on porting other plugins over.

    Okay :) I'll be working on this project during the weekends, definitely :)



  • @psychobunny

    Hi psychobunny,
    Thanks for the info via FB on how to set it up. I have the server running now but for some reason I can't get the plugin to work. I've installed the CASH mod as well. Strange that it won't show up on the admin menu when I activate it.

    Cheers!


  • Admin

    Ah, did you restart NodeBB? Any plugin/theme activation requires you to restart the forum



  • @psychobunny

    Hey there, I did use the "restart" in the admin. Should I do this via the putty command line instead?


  • Admin

    Yup. The restart button in the admin requires you to have launched NodeBB via ./nodebb start

    That's useful for production mode, but otherwise I'd use ./nodebb watch if you have supervisor installed, which auto-restarts if any changes to the code is made


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.