This plugin is a mapper plugin
usage: #bp.mapper.dbbackup [-h] [name]
backup the database
positional arguments:
name the name to backup to
optional arguments:
-h, --help show help (default: False)
usage: #bp.mapper.dbclose [-h]
close the database
optional arguments:
-h, --help show help (default: False)
usage: #bp.mapper.dbmodify [-h] [stmt]
run a sql update/insert against the database
positional arguments:
stmt the sql statement
optional arguments:
-h, --help show help (default: False)
usage: #bp.mapper.dbremove [-h] [table] [rownumber]
remove a row from a table
positional arguments:
table the table to remove the row from
rownumber the row number to remove (default: -1)
optional arguments:
-h, --help show help (default: False)
usage: #bp.mapper.dbselect [-h] [stmt]
run a sql statement against the database
positional arguments:
stmt the sql statement
optional arguments:
-h, --help show help (default: False)
usage: #bp.mapper.dbvac [-h]
vacuum the database
optional arguments:
-h, --help show help (default: False)
usage: #bp.mapper.area [-e] [-h] [room] [area]
lookup a room in a specific area
positional arguments:
room a string (default: None)
area a string (default: None)
optional arguments:
-e, --exact the argument is the exact name (default: False)
-h, --help show help (default: False)
usage: #bp.mapper.find [-e] [-h] [room]
lookup a room
positional arguments:
room a string (default: None)
optional arguments:
-e, --exact the argument is the exact name (default: False)
-h, --help show help (default: False)
usage: #bp.mapper.goto [-h] [room]
goto a room
positional arguments:
room the room number (default: None)
optional arguments:
-h, --help show help (default: False)
usage: #bp.mapper.next [-h]
goto the next room from the previous search result
optional arguments:
-h, --help show help (default: False)
usage: #bp.mapper.purgeroom [-h] [room]
purge a room
positional arguments:
room the room number (default: None)
optional arguments:
-h, --help show help (default: False)
usage: #bp.mapper.resume [-h]
resume going to a room
optional arguments:
-h, --help show help (default: False)
usage: #bp.mapper.showroom [-h] [room]
show mapper information for a room
positional arguments:
room the room number (default: None)
optional arguments:
-h, --help show help (default: False)
usage: #bp.mapper.spw [-h] [start] [end]
get speedwalk for a path
positional arguments:
start the room number (default: None)
end the room number (default: None)
optional arguments:
-h, --help show help (default: False)
usage: #bp.mapper.walk [-h] [room]
walk to room (no portals)
positional arguments:
room the room number (default: None)
optional arguments:
-h, --help show help (default: False)
usage: #bp.mapper.api [-h] [api]
list functions in the api
positional arguments:
api api to get details of
optional arguments:
-h, --help show help (default: False)
usage: #bp.mapper.help [-a] [-c] [-h]
show help info for this plugin
optional arguments:
-a, --api show functions this plugin has in the api (default: False)
-c, --commands show commands in this plugin (default: False)
-h, --help show help (default: False)
usage: #bp.mapper.inspect [-m METHOD] [-o OBJECT] [-s] [-h]
inspect a plugin
optional arguments:
-m METHOD, --method METHOD
get code for a method
-o OBJECT, --object OBJECT
show an object of the plugin, can be method or
variable
-s, --simple show a simple output (default: False)
-h, --help show help (default: False)
usage: #bp.mapper.reset [-h]
reset the plugin
optional arguments:
-h, --help show help (default: False)
usage: #bp.mapper.save [-h]
save the plugin state
optional arguments:
-h, --help show help (default: False)
usage: #bp.mapper.set [-h] [name] [value]
change a setting in the plugin
if there are no arguments or 'list' is the first argument then
it will list the settings for the plugin
positional arguments:
name the setting name (default: list)
value the new value of the setting
optional arguments:
-h, --help show help (default: False)
usage: #bp.mapper.stats [-h]
show plugin stats
optional arguments:
-h, --help show help (default: False)
show notes when entering a room
max depth to search
mapper.modifymany(stmt, data)
update many rows in a database
original defined in plugins/core/sqldb.py
mapper.modify(stmt, data=None)
modify the database
original defined in plugins/core/sqldb.py
mapper.select(stmt)
run a select stmt against the db
original defined in plugins/core/sqldb.py
mapper.getrow(rowid, ttable)
get a row from a table
original defined in plugins/core/sqldb.py