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


  • I'm new in the NodeBB-Universe and atm im porting my website from Joomla+Kunena to NodeBB. I would really love to see this plugin in the 0.6 Version of NodeBB so my community can use the cash-system for useful stuff. On my last website I had a "points"-system and I always wondered what to do with those points. I never had an answer to that, ... ^^

    Anyway, this plugin looks awsome! 😃

  • Swedes

    Yeah, this is cool 🙂 All my forums use phpbb 3.1.x but this project is getting better and better for every month I check it out.

  • Admin

    I wish I had the time to complete this 😞 I'll try and get this working with latest NodeBB so at least you can install it and see the progress for yourself (and maybe even contribute)

    EDIT: you know what, I'm going to make this a minimum viable product by just focusing on the shop (which is done, sans-ACP) and cutting out all other code into a branch. Then this could function as a shop to buy things with points your earned from posting. Then when I get more time I'll reintroduce the other aspects, character creation, battling, etc!


  • @psychobunny said:

    I wish I had the time to complete this 😞 I'll try and get this working with latest NodeBB so at least you can install it and see the progress for yourself (and maybe even contribute)

    EDIT: you know what, I'm going to make this a minimum viable product by just focusing on the shop (which is done, sans-ACP) and cutting out all other code into a branch. Then this could function as a shop to buy things with points your earned from posting. Then when I get more time I'll reintroduce the other aspects, character creation, battling, etc!

    I LOVE This Idea! 🙂

  • Admin

    A few weekends ago I updated this plugin to 0.7 and worked on a ton of battle and animation code 🙂

  • GNU/Linux

    Awesome, I started my journey on the web on an RPG forum 🙂

  • Swedes

    This is really cool, a lot of work 😉

  • Admin

    Awesome, I started my journey on the web on an RPG forum

    If you had something similar then it was probably ADR by phpBB? 😉 This is a continuation of that project 🙂


  • long live adr..

    I think i still have everysingle addon ever made.

    I miss seteo blokes website, espeially the albums with chicks in it 😛


  • I remember when I ran a BBS and had The Pit for my dial-up users to play. Kick ass game and this is a fun addition to many genre of forums.

  • GNU/Linux

    I just installed this on my forums running 0.7-dev and it seems to be working OK. I had to manually copy the translations files since they didn't seem to install correctly but other than that it's working.

    I really want to contribute to this plugin, is there a TODO or project page for this somewhere?


  • Glad this popped up as a new post. This plugins looks awesome...

  • Admin

    @KingCat I'll write up a roadmap / todo on the weekend. Thanks for offering to help 🙂

  • GNU/Linux

    @psychobunny I've always wanted to make a browser based rpg but never had the wherewithal to create something useable, I think this way I can scratch my itch without having to create all the underlying plumbing haha.

    Also, I'm in the nodebb IRC on freenode if you ever want to come by and chat about it.

  • Anime Lovers

    I will be installing the latest version in the next few days and testing it out. 😛 Sounds like the changes you did are pretty sweet.

  • Admin

    I'll make a roadmap soon but I think the most immediate need is an admin interface to modify data. Right now everything is hardcoded to the default install, you can see the data here:

    https://github.com/psychobunny/nodebb-plugin-openfantasy/blob/master/data/data.js

    Basically this is what you get when you install for the first time, so monster/item/class/element definitions, etc. The original ADR had a pretty in-depth admin interface that allowed you to create or modify the above.

    It's definitely a bit of an undertaking, but if anybody's interested I can go ahead and create one sample page (ex. Elements ACP - creating/editing) and then you could go from there by copying how I did it?

  • GNU/Linux

    @psychobunny That would be great. I've been struggling with the new settings system so seeing it implemented correctly would be nice.


  • Just installed openfantasy after upgrading to nodebb 0.7.0-dev, i noticed that images were not working.
    I saw that it was trying to load images from localhost:4567/plugins/nodebb-plugin-openfantasy/static/images/.

    This was caused by the following line in node_modules/nodebb-plugin-openfantasy/openfantasy.js:

    var constants = Object.freeze({
    "image_path": nconf.get('url') + "/plugins/nodebb-plugin-openfantasy/static/images/"
    });

    Because I'm running nginx as a proxy to force ssl it couldn't get the correct url, I simply hacked the url into it as such, of course fill in your own url:
    var constants = Object.freeze({
    "image_path": "https://community.aeterna.nl" + "/plugins/nodebb-plugin-openfantasy/static/images/"
    });

    I'll see if I can find a better fix for this in the meanwhile.


  • @Aeterna said:

    nconf.get('url')

    Should just be the output of URL inside config.json, which, should really be your domain name if you have one.


  • @a_5mith
    This would make sense, but it then results in images not loading and a persistent "connecting...".
    There are then calls being made on the url (which in my case would be https://community.aeterna.nl:4567). I see the tcp connections; but there is no response from nodebb.

    It simply times out.
    I also tried rebinding nginx to also listen on the outside ip port 4567 to proxy connections through to 127.0.0.1 where nodebb would reside; however this changed nothing.


Suggested Topics

  • 6
  • 5
  • 8
  • 10
  • 74
| |