evennia.contrib.full_systems.evscaperoom.scripts¶
A simple cleanup script to wipe empty rooms
(This can happen if users leave ‘uncleanly’, such as by closing their browser window)
Just start this global script manually or at server creation.
-
class
evennia.contrib.full_systems.evscaperoom.scripts.
CleanupScript
(id, db_key, db_typeclass_path, db_date_created, db_lock_storage, db_desc, db_obj, db_account, db_interval, db_start_delay, db_repeats, db_persistent, db_is_active)[source]¶ Bases:
evennia.scripts.scripts.DefaultScript
-
at_repeat
()[source]¶ Called repeatedly if this Script is set to repeat regularly.
- Parameters
**kwargs (dict) – Arbitrary, optional arguments for users overriding the call (unused by default).
-
exception
DoesNotExist
¶
-
exception
MultipleObjectsReturned
¶ Bases:
evennia.scripts.scripts.DefaultScript.MultipleObjectsReturned
-
path
= 'evennia.contrib.full_systems.evscaperoom.scripts.CleanupScript'¶
-
typename
= 'CleanupScript'¶
-