PennMUSH Community

root/1.8.3/trunk/game/restrictcnf.dst

Revision 525, 4.3 kB (checked in by pennmush, 2 years ago)

PennMUSH 1.8.1p7 Archival

Line 
1 #
2 # Commands to restrict
3 # Syntax: restrict_command <command> <restriction> [" <error message>]
4 #         restrict_function <function> <restriction>
5 # <restriction> is a space separated list that may include:
6 #   nobody      Totally disable the command
7 #   nogagged    Gagged players can't use it
8 #   nofixed     Fixed players can't use it
9 #   noguest     Guests can't use it
10 #   noplayer    Player objects can't use it (things, rooms, exits may. Command only)
11 #   admin       Must be roy or wiz to use it
12 #   wizard      Must be wiz to use it
13 #   god     Must be god to use it
14 #   logname     When func/cmd is used, log its name and user
15 #   logargs     When func/cmd is used, log its name, args, and user
16 #       <flag>      Any flag that must be present to use it (Command only)
17 #       <power>     Any power that must be present to use it (Command only)
18 #   !<restriction>  The opposite of a restriction (Command only).
19 #       nosidefx        The side-effect version of a function won't work (Function only).
20 #
21 # If <error message> is given to a restrict_command, it is sent to the player
22 # instead of a more generic, typically useless error message.
23 #
24 # Command restrictions typically also apply to side-effect functions that
25 # emulate the command.
26
27 # Don't let guests mess with the database
28 # (This replaces the HARSH_GUEST compile-time define)
29 # The "ATTRIB_SET" command controls the setting of attributes with
30 #  @attr obj=value or &attr obj=value
31 restrict_command @set noguest
32 restrict_command ATTRIB_SET noguest
33 restrict_command @chown noguest
34 restrict_command @chzone noguest
35 restrict_command @cpattr noguest
36 restrict_command @mvattr noguest
37 restrict_command @edit noguest
38 restrict_command @gedit noguest
39 restrict_command @parent noguest
40 restrict_command @wipe noguest
41 restrict_command @unlink noguest
42 restrict_command @link noguest
43 restrict_command @lock noguest
44 restrict_command @unlock noguest
45 restrict_command @create noguest
46 restrict_command @dig noguest
47 restrict_command @open noguest
48
49 # @power is traditionally logged
50 restrict_command @power logargs
51
52 # Prevent players going home while set FIXED
53 restrict_command home nofixed " You can't do that IC!
54
55 # Some additional protection against spam attacks by guests
56 #restrict_command @dolist noguest
57 #restrict_function repeat noguest
58 #restrict_function iter noguest
59 #restrict_function map noguest
60 #restrict_function fold noguest
61
62 # Don't allow kill (slay still works)
63 #restrict_command kill nobody
64
65 # Uncomment to allow only admin or @powered builders to build
66 #restrict_command @open admin builder " You need the builder power to do that.
67 #restrict_command @dig admin builder " You need the builder power to do that.
68
69 # Uncomment to disallow them to create objects
70 #restrict_command @create admin builder " You need the builder power to do that.
71
72 # Used to be player_locate
73 #restrict_command @whereis nobody
74
75 # Used to be hate_dest
76 restrict_command @destroy noplayer " Use @recycle instead
77
78 # Used to be cemit_power
79 #restrict_command @cemit admin cemit " You can't @cemit without cemit @power
80
81 # Turn off ansi().
82 #restrict_function ansi nobody
83
84 # And some of the more dangerous side-effect functions.
85 #restrict_function set nobody
86 #restrict_function wipe nobody
87 #restrict_function create nobody
88 #restrict_function clone nobody
89 #restrict_function tel nobody
90
91 # If you turn this on, players who try to use functions in place
92 # of commands (e.g. $foo: [pemit(%#,blah)] will get error messages.
93 # Disabled by default for backward compatibility.
94 restrict_command warn_on_missing nobody
95
96 # We add a dummy here to make updating easier
97 restrict_function lstats noguest
98
99 # Remove the hardcode chat system by uncommenting these
100 #restrict_command @cemit nobody
101 #restrict_command @nscemit nobody
102 #restrict_command @channel nobody
103 #restrict_command @chat nobody
104 #restrict_command @clock nobody
105 #restrict_function cowner nobody
106 #restrict_function ctitle nobody
107 #restrict_function cwho nobody
108 #restrict_function channels nobody
109 #restrict_function cflags nobody
110
111 # Remove the hardcode mail system by uncommenting these
112 #restrict_command @mail nobody
113 #restrict_command @malias nobody
114 #restrict_function mail nobody
115 #restrict_function maildstats nobody
116 #restrict_function mailfrom nobody
117 #restrict_function mailfstats nobody
118 #restrict_function mailstats nobody
119 #restrict_function mailstatus nobody
120 #restrict_function mailsubject nobody
121 #restrict_function mailtime nobody
122 #restrict_function malias nobody
123 #restrict_function folderstats nobody
Note: See TracBrowser for help on using the browser.