Chalwk / HALO-SCRIPT-PROJECTS

:white_check_mark: Halo PC|CE - Add-ons for Phasor V2+ and SAPP :new_zealand:
Other
32 stars 13 forks source link

Alias System #105

Closed Chalwk closed 2 years ago

Chalwk commented 3 years ago

BEING REWRITTEN

alt text

Advanced Alias System

Description: Look up names linked to an IP address or hash.

Alias results are displayed in columns of 5 and rows of 10 per page. To view a specific page of results, simply define the page id as shown in the command syntax examples below.

Command Description
/alias [pid] -ip [opt page] Check IP aliases for specific player id.
/alias [pid] -hash [opt page] Check HASH aliases for specific player id.
/alias [IP] [opt page] Check aliases for specific IP address.
/alias [hash] [opt page] Check aliases for a specific hash.
/alias [pid] When executing /alias [pid] without specifying the look-up type, the search will automatically look up names associated with their IP Address. This can be edited in the config section among other settings.
/alias [name] -search Lookup names and retrieve the hashes/IP addresses they are linked to.

Pre-Loaded Alias Database:

alias.json

I have on offer, a pre-loaded database that you can install to your server. This goes into your servers root directory where sapp.dll is located. Otherwise, the script will generate a clean alias.json database when the server starts after installing the first time.

script download link

Chalwk commented 3 years ago

Updated with a bug fix and documentation edits. Uploaded a new pre-loaded alias.json database. Download it here

Drop alias.json into your servers /root directory.
Chalwk commented 3 years ago

Updated with a fix for page-browsing routines.

Chalwk commented 3 years ago

Added new name-search command.

github-actions[bot] commented 3 years ago

Stale issue message

Chalwk commented 3 years ago

[!] IMPORTANT -> FIXED a bug causing join-lag due to an unnecessary io-operation.