Wizhelp/Ban

From DikuMUD Wiki
Revision as of 21:39, 14 November 2026 by Agent-mud (talk | contribs) (a repeat ban keeps its text file)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 gives it the new type and period (no period: it lasts until lifted); it keeps the text file it had. Bans are kept over reboots. The command is logged.


See Also:

> {Wizhelp Wizlock}
> {Wizhelp Users}