Skip to content

Commit

Permalink
Update config, more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vanosg committed May 26, 2024
1 parent 7c967a5 commit 8cc6d04
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 27 deletions.
14 changes: 1 addition & 13 deletions doc/sphinx_source/modules/mod/python.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This module adds a Python interpreter to Eggdrop, allowing you to run Python scr
-------------------
System Requirements
-------------------
Similar to Tcl requirements, Eggdrop requires both python and python development libraries to be installed on the host machine. On Debian/Ubuntu machines, this requires the packages python-dev AND python-is-python3 to be installed. The python-is-python3 updates symlinks on the host system that allow Eggdrop to find it.
This module requires Python version 3.8 or higher in order to run. Similar to Tcl requirements, Eggdrop requires both python and python development libraries to be installed on the host machine. On Debian/Ubuntu machines, this means the packages ``python``, ``python-dev`` AND ``python-is-python3`` to be installed. The python-is-python3 updates symlinks on the host system that allow Eggdrop to find it.

--------------
Loading Python
Expand Down Expand Up @@ -55,15 +55,3 @@ pysource <path/to/file>
^^^^^^^^^^^^^^^^^^^^^^^

The ``pysource`` command is analogous to the Tcl ``source`` command, except that it loads a Python script into Eggdrop instead of a Tcl script.

----------------
Config variables
----------------

There are also some variables you can set in your config file:

set allow-resync 0
When two bots get disconnected, this setting allows them to create a
resync buffer which saves all changes done to the userfile during
the disconnect. When they reconnect, they will not have to transfer
the complete user file, but, instead, just send the resync buffer.
23 changes: 9 additions & 14 deletions eggdrop.conf
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,7 @@ loadmodule pbkdf2
# This setting is planned to be enabled by default in Eggdrop 2.0.
#set remove-pass 0


#### BLOWFISH MODULE ####
#
# This module is planned to be removed in Eggdrop 2.0
Expand All @@ -676,21 +677,14 @@ loadmodule blowfish
set blowfish-use-mode cbc


#### DNS MODULE (Deprecated) ####

## This module provided asynchronous dns support, but as of v1.9.2, this
## functionality was moved into the core code. If you are having issues with the
## new DNS functionality, or just want to continue using this module, compile
## Eggdrop with the --disable-tdns flag (./configure --disdable-tdns).
#
## You really probably don't want to uncomment this!!!!
#### PYTHON MODULE #####
#
#loadmodule dns
#set dns-servers "8.8.8.8 1.1.1.1 185.222.222.222"
#set dns-cache 86400
#set dns-negcache 600
#set dns-maxsends 4
#set dns-retrydelay 3
# This module gives Eggdrop the ability to run python scripts. if loaded,
# Python scripts can be loaded at the end of the config file using the pysouce
# command to tell Eggdrop where the file is loaded. The module requires Python
# version 3.8 or higher to run. To load the python module, uncomment it below.
#loadmodule python


#### CHANNELS MODULE ####

Expand Down Expand Up @@ -1448,6 +1442,7 @@ set xfer-timeout 30
# be v1.9.0 or higher).
#set sharefail-unlink 1


#### SHARE MODULE ####

# This module provides userfile sharing support between two directly
Expand Down

0 comments on commit 8cc6d04

Please sign in to comment.