alt:V Go Resource Example
- Clone this repo
- Build the resource with the following command:
if you are on windows:
go build -o my-resource.dll -buildmode=c-shared
if you are on linux:
export CGO_LDFLAGS="-g -02 -ldl"
go build -o my-resource.so -buildmode=c-shared
- copy resource.dll, client.js and resource.cfg into the resource folder
- Add resouce to server.cfg
To run this resource you need the official alt:V Chat resource
Things should work as in default go.