Skip to content

Instantly share code, notes, and snippets.

@Nexxed
Nexxed / search_players.lua
Last active September 14, 2021 23:30
[FiveM] Search players based on string
-- search param must be a string thats either #<server_id> or a partial player name
-- e.g SearchPlayers("#1361") or SearchPlayers("test")
-- compatible with command arguments
-- 2nd example above will match "testuser", "userTest", "TeSt", "TEST" etc
-- server-side only, you *could* modify it for client-side rather easily, though
local function SearchPlayers(search)
-- initialize our return table
local ret = {}
@Nexxed
Nexxed / egg-satisfactory.json
Last active March 5, 2022 15:53
Satisfactory Dedicated Server (Pterodactyl Egg)
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1",
"update_url": null
},
"exported_at": "2021-10-29T10:49:52+01:00",
"name": "Satisfactory",
"author": "nex@rsm.gg",
"description": "Satisfactory Dedicated Server",