introduction
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
introduction [2016/12/10 03:38] – avon | introduction [2021/06/13 12:01] – [MPLC - Mystic BBS Programming Language Compiler] g00r00 | ||
---|---|---|---|
Line 11: | Line 11: | ||
MYSTIC -CFG This tells Mystic to start in local configuration mode. | MYSTIC -CFG This tells Mystic to start in local configuration mode. | ||
| | ||
+ | MYSTIC -ANSI This invokes the built in ANSI editor using the syntax | ||
+ | | ||
+ | open that file otherwise it will create an empty buffer. | ||
+ | |||
+ | The ANSI editor can load display files with color codes from | ||
+ | | ||
+ | can save in ASCII or Pipe Code or ANSI and includes variable | ||
+ | line length saving for ANSI files as well as some display | ||
+ | | ||
+ | |||
+ | MYSTIC -AUTH Check password authentication for a user by supplying the | ||
+ | | ||
+ | | ||
+ | exit immediately (or FALSE if incorrect). | ||
+ | | ||
+ | MYSTIC -C$ This specifies the user's Country name which will be assigned | ||
+ | to the UO MCI code and ultimately saved to the user's record | ||
+ | as their last known country. | ||
+ | |||
MYSTIC -CP$ This tells Mystic in Unix environments to start in a | MYSTIC -CP$ This tells Mystic in Unix environments to start in a | ||
| | ||
Line 18: | Line 37: | ||
| | ||
MYSTIC -IP$ This specifies the user's IP address which should be passed | MYSTIC -IP$ This specifies the user's IP address which should be passed | ||
- | into Mystic by the telnet server. | + | into Mystic by the telnet server. |
+ | |||
+ | MYSTIC -L This tells Mystic to start in a local login mode. This | ||
+ | | ||
+ | your local console. | ||
+ | where Mystic is not able to tell the difference between | ||
+ | a local console login and a remote user. | ||
MYSTIC -N# This specifies a specific node number. | MYSTIC -N# This specifies a specific node number. | ||
no reason to use this, as Mystic will automatically select | no reason to use this, as Mystic will automatically select | ||
- | an available node. Ex: -N1 tells Mystic to start node 1. | + | an available node. In fact it is not recommended to use this |
+ | at all. Ex: -N1 tells Mystic to start node 1. | ||
- | MYSTIC -PATH | + | MYSTIC -NEWUSER |
- | can be configured. | + | using the following key=value pairs: |
- | operating systems | + | |
- | | + | handle=usernamehere |
+ | name=realnamehere | ||
+ | pass=passwordhere | ||
+ | email=emailhere | ||
+ | level=seclevelhere | ||
+ | menu=start | ||
+ | |||
+ | At a minimum | ||
+ | | ||
+ | | ||
+ | situations. | ||
+ | 249 and any attempt to set a security of 250 or higher | ||
+ | will result in the user being created with a security | ||
+ | level of 0. The menu option sets the user's start | ||
+ | menu that will be loaded when they log in. | ||
+ | |||
+ | | ||
+ | whether or not the user was properly created. | ||
+ | occur when minimum values are not supplied or when a | ||
+ | user already exists. | ||
+ | |||
+ | Example: | ||
+ | |||
+ | mystic -newuser handle=g00r00 | ||
+ | |||
MYSTIC -T# This specifies the number of minutes the user will be | MYSTIC -T# This specifies the number of minutes the user will be | ||
| | ||
to only an hour even if they have many hours of time left | to only an hour even if they have many hours of time left | ||
+ | | ||
+ | MYSTIC -TEXT This invokes the built in text editor using the syntax | ||
+ | | ||
+ | open that file otherwise it will create an empty buffer. | ||
| | ||
MYSTIC -TID# This specifies the socket handle when using Mystic with a | MYSTIC -TID# This specifies the socket handle when using Mystic with a | ||
third party telnet server under Windows | third party telnet server under Windows | ||
- | | + | |
MYSTIC -U$ This specifies the username to login to Mystic with and must | MYSTIC -U$ This specifies the username to login to Mystic with and must | ||
be used along side the -P command to supply the password. | be used along side the -P command to supply the password. | ||
Line 71: | Line 125: | ||
after logging in as Joe User, and then exit the BBS after | after logging in as Joe User, and then exit the BBS after | ||
| | ||
+ | |||
| | ||
==== MIS - Mystic Internet Server ==== | ==== MIS - Mystic Internet Server ==== | ||
Line 77: | Line 132: | ||
protocols. | protocols. | ||
- | Telnet, POP3, SMTP, FTP, NNTP, BINKP, Events | + | TELNET, RLOGIN, SSH, BINKP, FTP, NNTP, POP3, SMTP, HTTP, Events |
Note that the POP3, SMTP servers are used for Mystic BBS internal ' | Note that the POP3, SMTP servers are used for Mystic BBS internal ' | ||
Line 90: | Line 145: | ||
MYSTIC -CFG | MYSTIC -CFG | ||
- | |||
You can enable/ | You can enable/ | ||
Line 98: | Line 152: | ||
Setting up a telnet BBS is as simple as loading MIS and telnetting in! :) | Setting up a telnet BBS is as simple as loading MIS and telnetting in! :) | ||
- | ===== IP BLOCKING | + | === IP BLOCKING |
- | MIS will check your Mystic DATA directory for file named " | + | MIS will check your Mystic DATA directory for file named BLACKLIST.TXT It will use this file to check against the IP addresses of incoming connections. |
- | you would simply add a line into the badip.txt file with that IP address. | + | you would simply add a line into the BLACKLIST.TXT file with that IP address. |
IP blocking supports wildcards too, so for example, you could put 123.123.123.* and block any IP address that begins with 123.123.123. | IP blocking supports wildcards too, so for example, you could put 123.123.123.* and block any IP address that begins with 123.123.123. | ||
Line 109: | Line 163: | ||
If this file does not exist, it will simply print " | If this file does not exist, it will simply print " | ||
- | ===== DUPLICATE IP CONNECTIONS | + | You can also add a WHITELIST.TXT file the Mystic DATA directory. This file will exempt an IP address from the DNS blacklist, DNS country check, and the auto ban IP systems. |
+ | |||
+ | Entries in both BLACKLIST.TXT and WHITELIST.TXT can contain a mixture of both IPV4 and IPV6 addresses and can contain a single wildcard, using an asterisk to mask an IP range. | ||
+ | |||
+ | Refer also to the [[config_edit_ip_blacklist|Edit IP Blacklist]] and [[config_edit_ip_whitelist|Edit IP Whitelist]] sections of the Wiki. | ||
+ | |||
+ | === DUPLICATE IP CONNECTIONS === | ||
MIS will block an IP from opening multiple connections to the BBS. If a person is already connected to Mystic and they attempt to open a second connection, MIS will attempt to send them the contents of the file | MIS will block an IP from opening multiple connections to the BBS. If a person is already connected to Mystic and they attempt to open a second connection, MIS will attempt to send them the contents of the file | ||
Line 118: | Line 178: | ||
Their first connection will remain untouched. | Their first connection will remain untouched. | ||
- | ===== BUSY NOTIFICATIONS ===== | + | === BUSY NOTIFICATIONS === |
If a connection is made when all of the nodes configured for telnet are being used, MIS will attempt to send them the contents of busy.txt from the Mystic DATA directory. | If a connection is made when all of the nodes configured for telnet are being used, MIS will attempt to send them the contents of busy.txt from the Mystic DATA directory. | ||
Line 138: | Line 197: | ||
Optional switches for FIDOPOLL are: | Optional switches for FIDOPOLL are: | ||
- | FIDOPOLL LIST - List configured Echomail nodes | + | FIDOPOLL LIST |
- | FIDOPOLL ROUTE | + | FIDOPOLL ROUTE - Show netmail route information |
- | FIDOPOLL SEND - Only send/poll if node has new outbound messages | + | FIDOPOLL SEND |
- | FIDOPOLL FORCED [type] - Poll/send to all nodes of session [type] (blank/ | + | FIDOPOLL FORCED [type] |
- | FIDOPOLL [Address] | + | FIDOPOLL [Address] |
- | FIDOPOLL SEARCH [data] - Search nodelist for [DATA] can be address or text | + | FIDOPOLL SEARCH [data] |
- | FIDOPOLL KILLBUSY | + | FIDOPOLL KILLBUSY |
+ | " | ||
+ | only be used when Mystic+Utilities are NOT running | ||
EchoMail nodes are configured in the Mystic BBS Configuration System under the ' | EchoMail nodes are configured in the Mystic BBS Configuration System under the ' | ||
Line 164: | Line 225: | ||
QWKPOLL 1 EXPORT / | QWKPOLL 1 EXPORT / | ||
QWKPOLL ALL IMPORT /bbs/qwknet - Import QWK packets from /bbs/qwknet | QWKPOLL ALL IMPORT /bbs/qwknet - Import QWK packets from /bbs/qwknet | ||
- | |||
- | ==== MBBSUITL - Mystic BBS Utilities ==== | ||
- | |||
- | Mystic BBS Utilities is a depreciating set of utilities that are slowly being absorbed in to MUTIL. | ||
- | |||
- | In recent times the command line options for this program have started to be removed and now appear as stanzas in .ini configuration file(s) used by MUTIL. | ||
- | |||
- | At present the following options are available: | ||
- | |||
- | Usage: MBBSUTIL < | ||
- | | ||
- | The following command line options are available: | ||
- | | ||
- | -AREASOUT < | ||
- | -BKILL | ||
- | -BPACK | ||
- | -BSORT | ||
- | -FIXINDEX | ||
- | -FSORT | ||
- | -MTRASH | ||
- | -NOCHECK | ||
- | -UKILL | ||
- | |||
==== NODESPY ==== | ==== NODESPY ==== | ||
Line 194: | Line 232: | ||
==== MIDE - Mystic Integrated Development Environment ==== | ==== MIDE - Mystic Integrated Development Environment ==== | ||
- | Mystic Integrated Development Environment or MIDE is a development tool that aids budding coders in building scripts using Mystic Programming Language (MPL). | + | Mystic Integrated Development Environment or MIDE is a development tool that aids budding coders in building scripts using Mystic Programming Language (MPL). It's a text editor which helps you to create MPX programs. |
- | You will find this tool in the /mystic/ | + | You will find this tool in the /mystic directory. Run it using the following command. |
MIDE | MIDE | ||
Line 202: | Line 240: | ||
- | ==== MPLC - Mystic | + | ==== MPLC: Mystic Programming Language Compiler ==== |
- | The Mystic BBS Programming Language Compiler allows sysops to compile their own scripts written in Mystic Programming Language (MPL). | + | The Mystic BBS Programming Language Compiler allows sysops to compile their |
+ | own scripts written in Mystic Programming Language (MPL). MPL programs are | ||
+ | created using source file (.mps) and then compiled into executable files | ||
+ | (.mpx). | ||
+ | any text editor or the MIDE utility that ships with Mystic. | ||
- | Scripts are written with a .mps extension. Check out the / | + | You will find this tool in the /mystic directory. |
+ | |||
+ | Check out the /mystic/ | ||
Available options to use this program are: | Available options to use this program are: | ||
- | MPLC [filename] | + | MPLC [filename] Compile a specific |
+ | |||
+ | MPLC -T | ||
+ | current directory or the directory defined by mysticbbs | ||
+ | environment variable, and then uses Themes path to compile all | ||
+ | scripts in each theme' | ||
| | ||
- | MPLC -ALL Compile all scripts | + | MPLC -ALL |
- | + | | |
+ | MPLC -C | ||
+ | |||
+ | MPLC -F Works just like -T but also accepts a filemask to compile any | ||
+ | matching files in each theme' | ||
+ | example: mplc -f bulletin* | ||
introduction.txt · Last modified: 2023/01/20 03:36 by avon