[mod] Bible Bot [mt_biblebot]

User avatar
maikerumine
Member
Posts: 1420
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

[mod] Bible Bot [mt_biblebot]

by maikerumine » Post

Type /verse and get a random verse from the KJV Holy Bible.

Based off of Random Messages by: arsdragonfly.

Code: Select all

RandomMessages mod by arsdragonfly.
Put your messages in (world directory)/random_messages,1 message per line.
Messages can be all kinds of hints, mod usage, etc.
Add/Remove messages on the fly:
/rmessages viewmessages
to see all the messages.
/rmessages addmessage blah blah blah
to add the random message blah blah blah.
/rmessages removemessage 2
to remove the 2nd random message in /rmessages viewmessages .
In minetest.conf, random_messages_interval decides how often a message is sent.
Released under CC0.
Special thanks to:
Michael Rasmussen (michael@jamhome.us)
Enjoy it! ^_^
arsdragonfly@gmail.com
6/19/2013

20170710 Converted into a biblebot by maikerumine
KJV Bibles from: [url]https://sites.google.com/site/ruwach/bibletext[/url]

bible.txt
Size: 1.27mb
Format: One Big Text file of the whole Bible
Bible Version: King James Bible also known as the Authorised Version
Bible Copyright: Public Domain
Software Copyright: Public Domain
Image


License:
code: Released under CC0.
text: Public Domain

GIT:
Browse code:
https://github.com/maikerumine/mt_biblebot
Download:
https://github.com/maikerumine/mt_bible ... master.zip
Talamh Survival Minetest-->viewtopic.php?f=10&t=12959

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Bible Bot [mt_biblebot]

by azekill_DIABLO » Post

hey what?
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Beerholder
Member
Posts: 199
Joined: Wed Aug 03, 2016 20:23
GitHub: evrooije
In-game: Beerholder

Re: [mod] Bible Bot [mt_biblebot]

by Beerholder » Post

Awesome that you took the King James Bible text :D

User avatar
maikerumine
Member
Posts: 1420
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

Re: [mod] Bible Bot [mt_biblebot]

by maikerumine » Post

Beerholder wrote:Awesome that you took the King James Bible text :D
I took some of your code from bt_messages to get this to work. :)
Talamh Survival Minetest-->viewtopic.php?f=10&t=12959

BBmine
Member
Posts: 3476
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

Re: [mod] Bible Bot [mt_biblebot]

by BBmine » Post

Oh here it is! I was looking for it to put it on my server :D I saw it on your server, and it's very good!

User avatar
Beerholder
Member
Posts: 199
Joined: Wed Aug 03, 2016 20:23
GitHub: evrooije
In-game: Beerholder

Re: [mod] Bible Bot [mt_biblebot]

by Beerholder » Post

Awesome, just awesome XD

Image
Attachments
screenshot_20170714_204552.png
screenshot_20170714_204552.png (985.92 KiB) Viewed 1633 times

BBmine
Member
Posts: 3476
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

Re: [mod] Bible Bot [mt_biblebot]

by BBmine » Post

Next time I power up noob academy, this mod'll be there :D

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: [mod] Bible Bot [mt_biblebot]

by sofar » Post

Genesis 38:8 And Judah said unto Onan, Go in unto thy brother's wife, and marry her, and raise up seed to thy brother.
Maybe it's better to just make a quotebot instead, and allow people to choose and download other sets of quotes for their server. Some may want an Quranbot or a FlyingSpaghettibot.

My personal favorite quote list would be something that's a little bit less science fiction, though, like The Hitch Hikers' Guide to the Galaxy - Douglas Adams.

User avatar
ThomasMonroe
Member
Posts: 286
Joined: Tue Apr 04, 2017 16:21
GitHub: ThomasMonroe314
IRC: ThomasMonroe TMcSquared
In-game: ThomasMonroe TMcSquared
Location: Wherever I am at

Re: [mod] Bible Bot [mt_biblebot]

by ThomasMonroe » Post

sofar wrote:
Genesis 38:8 And Judah said unto Onan, Go in unto thy brother's wife, and marry her, and raise up seed to thy brother.
Maybe it's better to just make a quotebot instead, and allow people to choose and download other sets of quotes for their server. Some may want an Quranbot or a FlyingSpaghettibot.

My personal favorite quote list would be something that's a little bit less science fiction, though, like The Hitch Hikers' Guide to the Galaxy - Douglas Adams.
i do agree that not all the verses in the KJV Bible are umm pleasant to have popup, but why not have a list of inspirational verses, maikerumine?

that way you could avoid verses like this XD.
I don't make messes, I just, er...disturb the local entropy!

User avatar
ThomasMonroe
Member
Posts: 286
Joined: Tue Apr 04, 2017 16:21
GitHub: ThomasMonroe314
IRC: ThomasMonroe TMcSquared
In-game: ThomasMonroe TMcSquared
Location: Wherever I am at

Re: [mod] Bible Bot [mt_biblebot]

by ThomasMonroe » Post

Beerholder wrote:Awesome that you took the King James Bible text :D
what he said.
I don't make messes, I just, er...disturb the local entropy!

HighDesertBrikr
New member
Posts: 8
Joined: Sun Jul 30, 2017 00:50

Re: [mod] Bible Bot [mt_biblebot]

by HighDesertBrikr » Post

I do agree that not all the verses in the KJV Bible are umm pleasant to have popup, but why not have a list of inspirational verses, maikerumine?
In response to ThomasMonroe's post.

All scripture is given by inspiration of God, and is profitable for doctrine, for reproof, for correction, for instruction in righteousness.
2nd Timothy 3:16

The word spired means breathed, so you expire, you breath out. And if you inspire, you breath in. And with that in mind, the above verse means that the Bible is literally God breathed. Now that is inspirational!

You are right that some parts of the Bible are not pleasant to read, but keep in mind; so are parts of most novels on Amazon. This section here deals with Judah's sons. The first one, God killed because he was wicked, and his death left his wife with no lineage, and no children. Therefore, Judah told his second son to get her pregnant, so his first's sons lineage would continue, and his first son's wife would have an inheritance. The second son knew this, and decided that he did not want a son that would not be his. Therefore, God also killed him, because he displeased God.

Here though is the most inspirational part, God sent his Son to die in the place of our punishment. The punishment is for our sins, things like lying, theft, adultery (and Jesus said that if you even look at a woman with lust, you commit adultery with her in you heart, yikes!), and murder(Jesus said that if you even get mad at someone you commit murder in you heart. Well if you could have, and gotten away with it, you would have KILLED that guy that cut you off in traffic this morning!). The punishment for our sin is to be eternally in hell, a place that is constantly on fire with no escape. Now that you know that you are a sinner (if you lie once you are a liar, if you sin ONCE then you are a sinner), and why you are a sinner, let's talk about salvation and how you can escape hell (the location of punishment, a place that is always on fire). God loved us so much, that he sent His Son (Jesus) to die in our place, only He, a sinless person, could pay the debt. He took on the sin of the whole world, of all time, and He died on the cross so we could live in heaven. But Jesus rose from the dead on the third day, conquering death, and sin, proving that He is God. And after a while (I think it was 40 days, I can't remember) He ascended into heaven. Jesus said that he who believes and is baptized (the baptism is a public confession of faith, not necessary for salvation) will be saved; but he who does not believe, will be condemned. So what it comes down to is believing on Him, that He died on the cross to pay for your sins, repenting from your sins (turning away from sins, but also turning to God), and asking for forgiveness. The Bible tells us," the righteous live by faith" in the book of Hebrews, chapter 11, and many other places in the Word.

God bless! I hope this helps.
I made another post on the second page. It has more info. Post.
Last edited by HighDesertBrikr on Fri Sep 01, 2017 05:47, edited 1 time in total.

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [mod] Bible Bot [mt_biblebot]

by Napiophelios » Post

Random verses from the bible without context can be kinda weird.
The verses need to be stand alone nuggets of wisdom.

I would suggest using psalms or proverbs,
but some of them don't do so well on their own without context either.

HighDesertBrikr
New member
Posts: 8
Joined: Sun Jul 30, 2017 00:50

Re: [mod] Bible Bot [mt_biblebot]

by HighDesertBrikr » Post

Napiophelios wrote:Random verses from the bible without context can be kinda weird.
The verses need to be stand alone nuggets of wisdom.

I would suggest using psalms or proverbs,
but some of them don't do so well on their own without context either.
Yea, proverbs has a lot of great stuff in it.

I would suggest instead of verses, maybe have groups of verses. That way they won't be out of context.
I know that this requires a lot of work though, so the way it is right now is okay.

Also maybe you could add, /verse_NT, and /verse_OT. For the New and Old Testaments.

Thanks for taking time to make this mod maikerumine!

User avatar
maikerumine
Member
Posts: 1420
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

Re: [mod] Bible Bot [mt_biblebot]

by maikerumine » Post

I am not to sorry if any of you are offended, It makes me chuckle actually. :D

My plan is to eventually have a search function that chooses book/chapter/verse, but this is tricky to do.
You would type: "/John,3,16" or "/john 3 16" to get the selected verse.
Also, A general chapter like: "/Titus 1-5" etc. Since the document is already indexed this may be an easy task, if it isn't there is also a folder method that might work as well.
Currently I am busy IRL to do much coding, however plan on more later.

If one is as so much offended by the Bible then you can modify to suit your tastes without causing such a ruckus as to which you believe your beliefs are superior to others. :D
Talamh Survival Minetest-->viewtopic.php?f=10&t=12959

User avatar
Beerholder
Member
Posts: 199
Joined: Wed Aug 03, 2016 20:23
GitHub: evrooije
In-game: Beerholder

Re: [mod] Bible Bot [mt_biblebot]

by Beerholder » Post

You see, in Minecraft they need a bot, in Minetest we make a mod ^^

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [mod] Bible Bot [mt_biblebot]

by Napiophelios » Post

meh..expressing criticism isn't the same as taking offense.

Good luck with the planned upgrades :)

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [mod] Bible Bot [mt_biblebot]

by Napiophelios » Post

sofar wrote:...My personal favorite quote list would be something that's a little bit less science fiction, though, like The Hitch Hikers' Guide to the Galaxy - Douglas Adams.
Douglas_Adams_quotes.zip
approx. 250 random messages
(13.03 KiB) Downloaded 63 times
Image

User avatar
Andrey01
Member
Posts: 2577
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [mod] Bible Bot [mt_biblebot]

by Andrey01 » Post

An error when i installed the mod:

Code: Select all

2017-08-30 17:03:52: ERROR[Main]: ModError: Failed to load and run script from /home/user/.minetest/mods/mt_biblebot/init.lua:
2017-08-30 17:03:52: ERROR[Main]: /home/user/.minetest/mods/mt_biblebot/init.lua:70: bad argument #1 to 'close' (FILE* expected, got nil)
2017-08-30 17:03:52: ERROR[Main]: stack traceback:
2017-08-30 17:03:52: ERROR[Main]: 	[C]: in function 'close'
2017-08-30 17:03:52: ERROR[Main]: 	/home/user/.minetest/mods/mt_biblebot/init.lua:70: in function 'read_verses'
2017-08-30 17:03:52: ERROR[Main]: 	/home/user/.minetest/mods/mt_biblebot/init.lua:141: in main chunk

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Bible Bot [mt_biblebot]

by azekill_DIABLO » Post

Napiophelios wrote: Image
+42
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

twoelk
Member
Posts: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

Re: [mod] Bible Bot [mt_biblebot]o

by twoelk » Post

Considering the possabilities of the idea of this mod how about a generic quote bot. You could choose a source book ingame or rather File and you get random quotes out of that Source. I guess most functionality is allready out there in some mod or other. The wiki mod or the Gutenberg mod might have usefull functions that could be nice to have in some combined Version. I mean like buying a poetry book ingame, taking it elswere an maybe placing it on some citing gadget to trigger the quoting.
Last edited by twoelk on Fri Sep 14, 2018 18:28, edited 1 time in total.

User avatar
Hamlet
Member
Posts: 766
Joined: Sat Jul 29, 2017 21:09
IRC: H4mlet
In-game: Hamlet
Location: Lombardy, Italy

Re: [mod] Bible Bot [mt_biblebot]

by Hamlet » Post

Napiophelios wrote:
sofar wrote:...My personal favorite quote list would be something that's a little bit less science fiction, though, like The Hitch Hikers' Guide to the Galaxy - Douglas Adams.
Douglas_Adams_quotes.zip
Image
Please make it a mod on github, it's going to be a must have.
My repositories: Codeberg.org | My ContentDB's page

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [mod] Bible Bot [mt_biblebot]

by Napiophelios » Post

The quotes work fine with this mod, no need to "make it a mod on github".
The quotes were kind of a gag anyways,
I was just funning with sofar.

I am glad you liked them tho :)

I have never been able to suffer through one of Douglas Adams' boring books,
but reading/compiling these quotes was actually fun.

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

Re: [mod] Bible Bot [mt_biblebot]

by sfan5 » Post

Yes, the God delusion posts were removed.
As Napiophelios already stated, this topic is not the right place to critically discuss the contents of the bible.

I ask you to move this discussion elsewhere or ideally not have it at all as nothing is bound to come of it.
Note that any further offtopic posts in this thread will also be removed.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

HighDesertBrikr
New member
Posts: 8
Joined: Sun Jul 30, 2017 00:50

Re: [mod] Bible Bot [mt_biblebot]

by HighDesertBrikr » Post

sfan5 wrote:Yes, the God delusion posts were removed.
As Napiophelios already stated, this topic is not the right place to critically discuss the contents of the bible.

I ask you to move this discussion elsewhere or ideally not have it at all as nothing is bound to come of it.
Note that any further offtopic posts in this thread will also be removed.
Okay, thanks for your reply. The reason I reposted it was that I did not receive a PM telling me not to post what I did. I understand why you want to keep things light on this forum.

BBmine
Member
Posts: 3476
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

Re: [mod] Bible Bot [mt_biblebot]

by BBmine » Post

Can someone explain how to make this mod work?

NVM, I figured it out :) You have to copy/move mt_biblebot from the mod dir to the world dir.

Post Reply

Who is online

Users browsing this forum: No registered users and 26 guests