Example #1
0
 def load_data(self, name, default=None):
     return database.load_data(self.db_con, name, default)
Example #2
0
def spawn(script):
    """Sends player to global spawn point."""
    gsp = database.load_data(script.server.db_con, 'globalspawnpoint', [550301073408, 550301073408, 1000000])
    script.connection.teleport(*gsp)
    return 'Sent to spawn.'