Exemplo n.º 1
0
def load():
    global tree, auth
    tree = PrefixCompletionTree()
    if not saywatcher in es.addons.SayListeners:
        es.addons.registerSayFilter(saywatcher)

    playerlib.registerPlayerListFilter("admin_say", admin_say_filter)
    xasay.registerSayPrefix(str(say_admin_prefix), _admin_say, "admin_say", "ADMIN")
Exemplo n.º 2
0
def load():
    global tree, auth
    tree = PrefixCompletionTree()
    if not saywatcher in es.addons.SayListeners:
        es.addons.registerSayFilter(saywatcher)

    playerlib.registerPlayerListFilter("admin_say", admin_say_filter)
    xasay.registerSayPrefix(str(say_admin_prefix), _admin_say, "admin_say",
                            "ADMIN")
Exemplo n.º 3
0
def load():
    global tree, auth
    tree = PrefixCompletionTree()
    if not saywatcher in es.addons.SayListeners:
        es.addons.registerSayFilter(saywatcher)

    playerlib.registerPlayerListFilter("admin_say", admin_say_filter)
    xasay.registerSayPrefix(str(say_admin_prefix), _admin_say)
    # explicitly set the capability in case xaextendedsay is not loaded
    xasay.registerCapability('admin_say', 'ADMIN')
Exemplo n.º 4
0
def load():
    global tree, auth
    tree = PrefixCompletionTree()
    if not saywatcher in es.addons.SayListeners:
        es.addons.registerSayFilter(saywatcher)

    playerlib.registerPlayerListFilter("admin_say", admin_say_filter)
    xasay.registerSayPrefix(str(say_admin_prefix), _admin_say)
    # explicitly set the capability in case xaextendedsay is not loaded
    xasay.registerCapability('admin_say', 'ADMIN')
def load():
    #rslots = reservedSlots()
    # run the configuration variables
    cfg_vars()
    # register the playerlib player filter we have..
    playerlib.registerPlayerListFilter("res", returnReservedStatus)
    # And say were loaded!
    xareserveslots.logging.log("Loaded Reserve slots (mani clone) %s" %
                               str(info.version))
    """ If XA has loaded whilst players are active, ensure they're not forgotten """
    es_map_start({})
    for player in map(str, es.getUseridList()):
        player_activate({'userid': player})
Exemplo n.º 6
0
def load():
    #rslots = reservedSlots()
    # run the configuration variables
    cfg_vars()
    # register the playerlib player filter we have..
    playerlib.registerPlayerListFilter("res", returnReservedStatus)
    # And say were loaded!
    xareserveslots.logging.log("Loaded Reserve slots (mani clone) %s" % str(info.version))
    
    """ If XA has loaded whilst players are active, ensure they're not forgotten """
    es_map_start({})
    for player in map(str, es.getUseridList() ):
        player_activate({'userid':player})