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

  1. 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


The Good Book

Description

  1. TheGodFather replies with a verse from the Bible when requested
  2. TheGodFather replies with a cross-reference from the Bible if a key to a verse is found
  3. TheGodFather provides a hint how to request a verse when the name of any book is found

How it works

  1. 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.
  2. 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.
  3. 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.


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.


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


Jokes

Description

TheGodFather replies with a random joke from all jokes or from a category.

How it works

  1. 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
  2. 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.


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.


Wordset Dictionary

Description

TheGodFather replies with results from WordSet.org (abandoned project).

How it works

  1. 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
  2. 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.


Haiku

Description

Returns a random haiku from a list of 5000.

How it works

How to install


SurpriseMe

Description

Replies with interesting facts from a large list.

How it works

How to install


SurpriseMe - multilang

Description

Replies with interesting facts from a large list and in different languages.

How it works

The keywords are: překvapení overraskelse überraschung surprise sorpresa yllätys etonne étonné έκπληξη meglepetés sorpresa verrassing surpriză överraskning prekvapenie

How to install


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

How to install


Page updated: 2025-02-25
 
Powered by BlaB! Pages