Skip to content

Instantly share code, notes, and snippets.

@knownwolfy
knownwolfy / server.cfg
Created January 28, 2023 21:56
fivem default config
# Only change the IP if you're using a server with multiple network interfaces, otherwise change the port only.
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
# These resources will start by default.
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
namespace Test
{
public class MyClass
{
public static void OnTick()
{
// Do something
}
}
}