Difference between revisions of "Wizhelp/Ban"
Jump to navigation
Jump to search
(Created page with "= Ban (240) = Usage: ban <t|n> <site_name> [period] ban d <sitename> ban With this wiz-command you can exclude a given site or group of sites from accessing the mud. T...") |
(Ban: t/n/d, wildcards, the text files (bantotal.txt, bannew.txt), period comes after the text file, kept over reboots, logged, from ban.cpp) |
||
| Line 2: | Line 2: | ||
Usage: | Usage: | ||
| − | + | ban (list the bans) | |
| − | + | ban t <site> [<textfile> [<period>]] (ban all logins) | |
| − | + | ban n <site> [<textfile> [<period>]] (ban new characters) | |
| + | ban d <site> (lift a ban) | ||
| − | + | Examples: | |
| + | ban n *.example.net | ||
| + | ban t 203.0.113.* bantotal.txt 2d 12h | ||
| + | |||
| + | Keeps a site, or a group of sites, away from the game. The site may hold | ||
| + | the wild cards * and ?. A '''total''' ban (t) lets no one from the site log | ||
| + | in, a harsh punishment; a '''new''' ban (n) only stops them from making new | ||
| + | characters. | ||
| + | |||
| + | Those who are turned away are shown a text file from the etc directory: | ||
| + | bantotal.txt for a total ban, bannew.txt for a new-character ban, or the | ||
| + | file you name. The period, such as 2d 3h 30m (days, hours, minutes), makes | ||
| + | the ban lift by itself when the time is up. Note that the period comes | ||
| + | after the text file: to give a period, name the file too. | ||
| + | |||
| + | Banning a site that is already banned changes its ban. Bans are kept over | ||
| + | reboots. The command is logged. | ||
| + | |||
| + | |||
| + | See Also: | ||
| + | > {Wizhelp Wizlock} | ||
| + | > {Wizhelp Users} | ||
Revision as of 00:37, 7 November 2026
Ban (240)
Usage:
ban (list the bans) ban t <site> [<textfile> [<period>]] (ban all logins) ban n <site> [<textfile> [<period>]] (ban new characters) ban d <site> (lift a ban)
Examples:
ban n *.example.net ban t 203.0.113.* bantotal.txt 2d 12h
Keeps a site, or a group of sites, away from the game. The site may hold the wild cards * and ?. A total ban (t) lets no one from the site log in, a harsh punishment; a new ban (n) only stops them from making new characters.
Those who are turned away are shown a text file from the etc directory: bantotal.txt for a total ban, bannew.txt for a new-character ban, or the file you name. The period, such as 2d 3h 30m (days, hours, minutes), makes the ban lift by itself when the time is up. Note that the period comes after the text file: to give a period, name the file too.
Banning a site that is already banned changes its ban. Bans are kept over reboots. The command is logged.
See Also:
> {Wizhelp Wizlock}
> {Wizhelp Users}