First, place the files in /var/www/pterodactyl

Second, Open the file /var/www/pterodactyl/resources/scripts/components/server/console/ServerDetailsBlock.tsx

Then, fill the file with this information:

Above the Line <StatBlock icon={faWifi} title={'Address'} copyOnClick={allocation}>:
<StatBlock icon={faFingerprint} title={'Server ID'} copyOnClick={id}>
{id}
</StatBlock>


Under the Line const limits = ServerContext.useStoreState((state) => state.server.data!.limits); :
const id = ServerContext.useStoreState(state => state.server.data!.id);

Add faFingerprint, to:

import {
    faClock,
    faCloudDownloadAlt,
    faCloudUploadAlt,
    faHdd,
    faMemory,
    faMicrochip,
    faWifi,
    faFingerprint,
} from '@fortawesome/free-solid-svg-icons';

Finally, do the follow commands:

If you don't have NodeJS and Yarn, then do this command:

curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
apt install -y nodejs
npm i -g yarn
cd /var/www/pterodactyl
yarn
yarn run build:production


If you already have NodeJS and Yarn, then do this command: 

cd /var/www/pterodactyl
yarn
yarn run build:production

If you need support, join the support discord! https://discord.gg/ffurg3pvz6