#(krodis3) Is Citizens right for me?/Creating a RPG like Minecraft experince.

19 messages · Page 1 of 1 (latest)

rugged dew
#

Hi! So I've got a small Minecraft server running. My initial intrest in botting/npcs was to run "afk farms" on additional accounts while still playing with my main character. Initially I was running these bots using the MineFlayer API (https://github.com/PrismarineJS/mineflayer). Recently, I've decided to turn these bots more into NPCs adding chat, random behavior, scheduled actions, etc to provide some additional immersion. This has since grown into an interest in turning my server into a more RPG like experience. However, the use of MineFlayer has presented certain hurdles to clear.
1) As far as I am aware Mineflayer offers no support to run the bots/npc "server side" so to speak. I began writing my own PaperMC plugin to add this functionality, which is going fine, but I feel like I'm reinventing the wheel here and feel like my time would be better spent using a pre-built solution.
2) MineFlayer requires credentials for microsoft authentication for each bot/npc that is going to be run if the server is set to online mode. I've set my server to offline mode as a work around but I'd really rather prefer to use Microsoft's auth system and avoid any 3rd part auth plugins.

In seeking an alternative to Mineflayer I've come across Citizens, which seems to provide solutions for the problems I've outlined above. However, from what videos I've watched and the documentation I've read (I haven't read it all yet) I'm not seeing anyone using Citizens to create bot/npcs with more complex behaviors. For example my more immediate goal would be to impliment an npc/npcs that would issue quests and rewards similar to the Slayer system in OSRS. Long term (2+ years out) I am interested in developing a more fleshed out quest system with variable endings (something similar to skyrim's quest system/storytelling and "instanced" areas/dungeons/etc. Would Citizens be a good fit for filling this role as far as NPC behavior is concerned? Links to any relevant docs appreciated 🙂

flint impBOT
#

(krodis3) Is Citizens right for me?/Creating a RPG like Minecraft experince.

flint impBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

frozen solar
#

Hard question to answer but there’s add ons including denizen and quests that may help with your project

#

Up to you!

#

@rugged dew

rugged dew
#

Hey fullwall, thanks for writing. Can you provide any insight on if Citizens natively supports (or any addons, Denizens?) writing more complex behavior based on listening for events and then scripting input as if though they were a player caracter? Here is a link to the full MineFlayer API (https://github.com/PrismarineJS/mineflayer/blob/master/docs/api.md) if you are interested at taking a look. I guess a more specific question would be, What would be a very rough oultine for creating an NPC with Citizens than can:

GitHub

Create Minecraft bots with a powerful, stable, and high level JavaScript API. - PrismarineJS/mineflayer

#
  1. access some sort of common external reference (database, text file, etc
  2. search/perform logic on the information contained in the external reference and perform logic on it
  3. write to the external refrence
#

or even simpler is what I mentioned possible with pre-developed plugins?

#

@frozen solar

frozen solar
#

Denizen is a scripting add on @rugged dew

#

!guide

dry lanternBOT
sweet salmonBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@rugged dew