AdmireMe
Admin Commands

Admin Commands

In-game and console commands for platform administration.


Authorization

Configure who can use admin commands in config.lua:

config.lua
Config.AdminCommands = {
    AllowInGame = true,
    
    -- Options: 'ace', 'group', 'identifier', 'custom'
    AuthMethod = 'group',
    
    -- ACE Permission (when AuthMethod = 'ace')
    AcePermission = 'admireme.admin',
    
    -- Framework Groups (when AuthMethod = 'group')
    AllowedGroups = {
        'management',
        'owner',
        'developer'
    },
    
    -- Identifiers (when AuthMethod = 'identifier')
    AllowedIdentifiers = {
        -- 'license:abc123def456',
        -- 'steam:110000112345678',
        -- 'discord:123456789012345678'
    },
    
    -- Custom Authorization (when AuthMethod = 'custom')
    CustomAuth = {
        Resource = '',
        Export = ''
    }
}

Available Commands

CommandDescriptionUsage
/admireverifySet verified badge/admireverify <username> <true/false>
/admirefeaturedFeature a creator/admirefeatured <username> [days]
/admireunfeaturedRemove featured status/admireunfeatured <username>
/admirefeaturedlistList all featured creators/admirefeaturedlist
/admireverifiedlistList all verified users/admireverifiedlist
/admirerankingsUpdate platform rankings/admirerankings
/admirebanBan a user/admireban <username> [reason]
/admireunbanUnban a user/admireunban <username>
/admirestatsView platform statistics/admirestats

Custom Command Names

You can rename commands if they conflict with other scripts:

config.lua
Config.AdminCommands.Commands = {
    Verify = 'admireverify',
    Featured = 'admirefeatured',
    Unfeatured = 'admireunfeatured',
    FeaturedList = 'admirefeaturedlist',
    VerifiedList = 'admireverifiedlist',
    Rankings = 'admirerankings',
    Ban = 'admireban',
    Unban = 'admireunban',
    Stats = 'admirestats'
}

ACE Permissions

If using AuthMethod = 'ace', grant permission in your server.cfg:

server.cfg
add_ace group.admin admireme.admin allow