TheGodFather Extensions 2
Bible, Dictionaries, Horoscopes, Jokes, Haiku, SurpriseMe
An extension is a separate PHP file that TheGodFather calls when a keyword match is found in a message. All extensions are set to work with FGC=https://YOUR-URL.COM/path-to-file.php
(in the Phrases box of the subset) which tells TheGodFather to make the call internally using php-curl
or file_get_contents
. A redirection is another option if the extension file is on the same server: RDR=https://YOUR-URL.COM/path-to-file.php
. In case you want to change the keywords - any change in AdminCP » Machines » TheGodFather » {subset} requires adjusting the code of the extension file.
TIP! It would be easier to maintain your extensions if you put the files in a separate folder outside the chat folder. The extensions that require a connection to a MySQL database - import the tables in a separate database (all extensions in one database is ok). The tables are large and you don't need to make regular backups as they don't change.
Numerology
Description
Calculates the numerology numbers derived from the full name of the user and their birth date and provides an interpretation.
How it works
- You: Numerology 1991-12-07 John Long Silver » TheGodFather:
Numerology report 👉 19911207 John Long Silver
🦹 Character: 9 ➡️ (This number represents primarily your public and social qualities, but you would also exhibit much of the same in your personal relations, too) As a born sage, aristocratic, socially pleasing humanitarian, you gravitate toward the community that can benefit most from your "selfless server" mission.
❤️ Soul Urge: 8 ➡️ (This influence presents a view of your intuitive, soulful self) Your Soul's Urge is to bring quality, consistency and inspiration to others and to effect your natural finesse, and quality in you all touch.
📅 Hidden Agenda: 1 ➡️ (This vibration offers your innate (hidden) desires) This agenda incites an innate desire to be independent, to lead, to innovate, and to create original and unique concepts and things.
🌌 Destiny: 3 ➡️ (This is the most influential number in relation to your personal motivations, what and who you like in your surroundings, and the career(s) you would be most likely to aspire toward) This is the path of the adventurous, creative, proverbial "Peter Pan", and/or the disciplined scientific "Dapper Dan/Danielle".
🧘 Personality: 7 ➡️ (This number describes the behind-the-scenes or private you) You are analytical, research-oriented, and your quest for knowledge is vast and unquenchable.
🙋 Attitude: 1 ➡️ (This number is most powerful in the first 30-35 years of your life and represents the how and why you react to circumstances in your youth) You are born with a strong will and independent nature. You prefer to make your own choices and are stubborn when pushed in a different direction.
⛪ Divine Purpose: 3 ➡️ (This is your farewell-performance number vibration. It is what your Soulful Self has chosen to achieve in your latter years of life) Your Divine Purpose is to use your creative and imaginative talents to produce a product, an idea, a book, a film, or some other form of artful expression.
How to install
-
Download Numerology, unzip, and review the settings at the beginning of the file
tgf_numerology.php
and uploadtgf_numerology.php
and the foldernumerology
to your server. -
AdminCP » Machines » TheGodFather » New Subset » Subset » IMPORT
- Replace Triggered in the PM box for the selected userID with the actual userID of TheGodFather
- Replace
https://YOUR-URL.COM/tgf_numerology.php
with the proper URL (subset » Phrases). - Save with OKAY
The Good Book
Description
- TheGodFather replies with a verse from the Bible when requested
- TheGodFather replies with a cross-reference from the Bible if a key to a verse is found
- TheGodFather provides a hint how to request a verse when the name of any book is found
How it works
- You: Romans 2:2 » TheGodFather: (Romans 2:2) And we know that the judgment of God is according to truth against them that practise such things.
- You: ...as Paul says in Romans 3:4... » TheGodFather: (Psalm 51:4) Against thee, thee only, have I sinned, And done that which is evil in thy sight; That thou mayest be justified when thou speakest, And be clear when thou judgest.
- You: What about Samuel? » TheGodFather: Any verse from the Bible can be displayed with the following syntax: Revelation 1:1 Deuteronomy 6:1-2 2 Corinthians 1:1-5. When the same is found in a message a cross-reference is returned.
How to install
It is recommended to use a separate MySQL database. bible-mysql.sql
and cross_reference-mysql.sql
can be downloaded from this GitHub repo or bible-mysql. You have to import bible-mysql.sql
and cross_reference-mysql.sql
in the MySQL database using phpMyAdmin or Adminer.
Import SQL files with Adminer
method 1: select target database from the drop-down menu » Import [uncheck STOP ON ERRORS] » Browse... » Execute
method 2: (an alternative for big files) select target database from the drop-down menu » Import [uncheck STOP ON ERRORS], upload the .sql file as adminer.sql
then Run file.
-
Download The Good Book, unzip, set MySQL database credentials in the PHP file (Database name, MySQL user & password) and review the other settings at the beginning of the file and upload
tgf_thegoodbook.php
to your server. -
AdminCP » Machines » TheGodFather » New Subset » Subset » IMPORT
- Replace Triggered in the PM box for the selected userID with the actual userID of TheGodFather
- Replace
https://YOUR-URL.COM/tgf_thegoodbook.php
with the proper URL (subset » Phrases). - Save with OKAY
Horoscopes (MySQL, English only)
Description
TheGodFather replies with the horoscope of the day. The syntax is: horoscope aquarius or horoscope libra tomorrow or horoscope gemini 2 where 2 is the day after tomorrow and values between 0 and 6 are accepted (0 = today).
How it works
You: horoscope aquarius tomorrow » TheGodFather: Aquarius 🏺 October 7th, Thursday ➡ You need to let certain people know that you no longer care what they say or what they do. That might sound a bit extreme but if you don't do it now they will keep annoying you and make an even bigger falling-out more likely later on.
How to install
It is recommended to use a separate MySQL database. Download Horoscopes MySQL Data. You have to import horoscope.sql.gz
in the MySQL database using phpMyAdmin or Adminer.
Import SQL files with Adminer
method 1: select target database from the drop-down menu » Import [uncheck STOP ON ERRORS] » Browse... » Execute
method 2: (an alternative for big files) select target database from the drop-down menu » Import [uncheck STOP ON ERRORS], upload the .sql.gz file as adminer.sql.gz
then Run file.
-
Download Horoscopes, unzip, set MySQL database credentials in the PHP file (Database name, MySQL user & password) and upload
tgf_horoscope.php
to your server. -
AdminCP » Machines » TheGodFather » New Subset » Subset » IMPORT
- Replace
https://YOUR-URL.COM/tgf_horoscope.php
with the proper URL (subset » Phrases). - Save with OKAY
Horoscopes ML (SQLite, multilanguage)
Description
TheGodFather replies with the horoscope of the day in English, French, German, Netherlands, Spanish, Portuguese and Polish. The syntax is: horoscope aquarius or horóscopo amanhã Gêmeos pt or horoscoop Boogschutter 2 where 2 is the day after tomorrow and values between 0 and 6 are accepted (0 = today). Automatic language selection based on the keywords. Having en, fr, de, nl, es, pt, pl match in the message forces the corresponding language.
How it works
You: horoscop Zwillinge 2 » TheGodFather: Zwillinge 👬 2022-09-11 ➡ Ihre körperlichen und emotionalen Reserven sind im Moment wahrscheinlich etwas erschöpft, also lassen Sie es heute und morgen ruhig angehen. Es gibt eine Reihe von Möglichkeiten, wie Sie Ihre Gesundheit verbessern und Ihre Arbeitsroutine straffen können, ohne dabei albern zu wirken.
How to install
- You need PHP SQLite3 extension enabled!
- Download Horoscopes: DE,EN,ES,FR,NL,PL,PT, unzip and upload all the files on your server.
- AdminCP » Machines » TheGodFather » New Subset » Subset » IMPORT
- Replace
https://YOUR-URL.COM/tgf_horoscopes_ml.php
with the proper URL (subset » Phrases). - Save with OKAY
Jokes
Description
TheGodFather replies with a random joke from all jokes or from a category.
How it works
- You: joke » TheGodFather: I was teaching my 6-year-old daughter how to unbuckle her seat belt. She asked, "Do I click the square?" I said yes. She then asked me, "Single click or double click?" 🤣🤣🤣 found in Children
- You: joke animals » TheGodFather: What does the lion say to his friends before they go out hunting for food? "Let us prey." 🤣🤣🤣 found in Animals
How to install
It is recommended to use a separate MySQL database. Download Jokes MySQL. You have to import jokes.sql.gz
in the MySQL database using phpMyAdmin or Adminer.
Import SQL files with Adminer
method 1: select target database from the drop-down menu » Import [uncheck STOP ON ERRORS] » Browse... » Execute
method 2: (an alternative for big files) select target database from the drop-down menu » Import [uncheck STOP ON ERRORS], upload the .sql.gz file as adminer.sql.gz
then Run file.
-
Download Jokes, unzip, set MySQL database credentials in the PHP file (Database name, MySQL user & password) and upload
tgf_jokes.php
to your server. -
AdminCP » Machines » TheGodFather » New Subset » Subset » IMPORT
- Replace
https://YOUR-URL.COM/tgf_jokes.php
with the proper URL (subset » Phrases). - Save with OKAY
Webster Dictionary
Description
TheGodFather replies with a definition from Webster's Revised Unabridged Dictionary 1913.
How it works
You: define boat » TheGodFather: boat (n.) A small open vessel, or water craft, usually moved by cars or paddles, but often by a sail.
How to install
It is recommended to use a separate MySQL database. Download Webster MySQL. You have to import webster.sql.gz
in the MySQL database using phpMyAdmin or Adminer.
Import SQL files with Adminer
method 1: select target database from the drop-down menu » Import [uncheck STOP ON ERRORS] » Browse... » Execute
method 2: (an alternative for big files) select target database from the drop-down menu » Import [uncheck STOP ON ERRORS], upload the .sql.gz file as adminer.sql.gz
then Run file.
-
Download Webster Dictionary, unzip, set MySQL database credentials in the PHP file (Database name, MySQL user & password) and upload
tgf_webster.php
to your server. -
AdminCP » Machines » TheGodFather » New Subset » Subset » IMPORT
- Replace
https://YOUR-URL.COM/tgf_webster.php
with the proper URL (subset » Phrases). - Save with OKAY
Wordset Dictionary
Description
TheGodFather replies with results from WordSet.org (abandoned project).
How it works
- You: describe hell » TheGodFather: hell (noun) means any place of pain and turmoil. Synonym: snake pit, inferno, hell on earth, hellhole Example: the hell of battle
- You: synonym hell » TheGodFather: hell = snake pit, inferno, hell on earth, hellhole
How to install
It is recommended to use a separate MySQL database. Download Wordset MySQL. You have to import wordset.sql.gz
in the MySQL database using phpMyAdmin or Adminer.
Import SQL files with Adminer
method 1: select target database from the drop-down menu » Import [uncheck STOP ON ERRORS] » Browse... » Execute
method 2: (an alternative for big files) select target database from the drop-down menu » Import [uncheck STOP ON ERRORS], upload the .sql.gz file as adminer.sql.gz
then Run file.
-
Download Wordset Dictionary, unzip, set MySQL database credentials in the PHP file (Database name, MySQL user & password) and upload
tgf_wordset.php
to your server. -
AdminCP » Machines » TheGodFather » New Subset » Subset » IMPORT
- Replace
https://YOUR-URL.COM/tgf_wordset.php
with the proper URL (subset » Phrases). - Save with OKAY
Haiku
Description
Returns a random haiku from a list of 5000.
How it works
- You: haiku » TheGodFather: obsidian night | the white sound | of rain
How to install
- Download Haiku.
- Unzip and upload
tgf_haiku.php
andtgf_haiku.txt
to your server. - AdminCP » Machines » TheGodFather » New Subset » Subset » IMPORT
- Replace
https://YOUR-URL.COM/tgf_haiku.php
with the proper URL (subset » Phrases). - Save with OKAY
SurpriseMe
Description
Replies with interesting facts from a large list.
How it works
- You: SurpriseMe » TheGodFather: Elephants can't jump. Every other mammal can.
How to install
- Download SurpriseMe.
- Unzip and upload
tgf_surprise.php
to your server. - AdminCP » Machines » TheGodFather » New Subset » Subset » IMPORT
- Replace
https://YOUR-URL.COM/tgf_surprise.php
with the proper URL (subset » Phrases). - Save with OKAY
SurpriseMe - multilang
Description
Replies with interesting facts from a large list and in different languages.
How it works
- You: überraschung » TheGodFather: 27 % der weiblichen Lottogewinnerinnen versteckten ihren Gewinnschein in ihrem BH.
The keywords are: překvapení
overraskelse
überraschung
surprise
sorpresa
yllätys
etonne
étonné
έκπληξη
meglepetés
sorpresa
verrassing
surpriză
överraskning
prekvapenie
How to install
- Download SurpriseMe-Multilang.
- Unzip and upload
tgf_surpriseme.php
and alltgf_surpriseme_**.txt
files to your server. - AdminCP » Machines » TheGodFather » New Subset » Subset » IMPORT
- Replace
https://YOUR-URL.COM/tgf_surprise.php
with the proper URL (subset » Phrases). - Save with OKAY
Pure Fun
Description
Returns a funny phrase (input: row number, random or input) from a list (tgf_purefun.txt) without showing the input.
This extension requires version 22.01 and the following stopword in AdminCP » Machines:
/purefun
How it works
- Number: You: /purefun 12 » TheGodFather: I always say "Morning" instead of "Good morning" — if it were a good morning, I'd still be sleeping and not talking to people!
- Random: You: /purefun » TheGodFather: After millions of years of evolution, you're kind of a disappointment.
- Input: You: /purefun Oh, that's hellish! » TheGodFather: Oh, that's hellish!
How to install
- Download Pure Fun.
- Unzip and upload
tgf_purefun.php
andtgf_purefun.txt
to your server. - AdminCP » Machines » TheGodFather » New Subset » Subset » IMPORT
- Replace
https://YOUR-URL.COM/tgf_purefun.php
with the proper URL (subset » Phrases). - Save with OKAY