this shit is ass please do not use it
Go to file
cirroskais 94d2d261aa Add LICENSE 2023-11-19 15:36:16 -05:00
src Enable ClientTicket 2023-03-03 21:38:58 -05:00
.gitignore :DDDDDDDDDDDDDDDdDDDD 2023-01-22 03:21:53 -05:00
LICENSE Add LICENSE 2023-11-19 15:36:16 -05:00
README.md Document, better endpoints 2023-02-20 04:12:51 -05:00
example.env Clean up exmaple.env, add authentication to endpoints 2023-02-19 03:07:51 -05:00
package-lock.json Check if game is already running before starting 2023-01-23 14:58:57 -05:00
package.json Check if game is already running before starting 2023-01-23 14:58:57 -05:00

README.md

bingle-arbiter

The Bingle arbiter is designed to be used with almost any revival backend.

It comes preloaded with some Lua scripts made by kinery and jackd900.

You will have to replace/modify these scripts when implementing for your own projects.

Set your desired settings in .env.example, then rename it to .env.

Routes

GET /render/asset/:id

200 OK
iVBORw0KGgoAAAANSUhEUgAAAtAAAALQCAYAAAC...

GET /render/asset/3d/:id

200 OK
{
	"camera": {
		"position": { "x": 0, "y": 0, "z": 0 },
		"direction": { "x": 0, "y": 0, "z": 0 }
	},
	"AABB": {
		"min": { "x": 0, "y": 0, "z": 0 },
		"max": { "x": 0, "y": 0, "z": 0 }
	},
	"files": {
		"scene.obj": { "content": "..." },
		"scene.mtl": { "content": "..." },
		"Handle1Tex.png": { "content": "..." }
	}
}

GET /render/texture/:id

200 OK
iVBORw0KGgoAAAANSUhEUgAAAtAAAALQCAYAAAC...

GET /render/user/headshot/:id

200 OK
iVBORw0KGgoAAAANSUhEUgAAAtAAAALQCAYAAAC...

GET /render/user/bodyshot/:id

200 OK
iVBORw0KGgoAAAANSUhEUgAAAtAAAALQCAYAAAC...

GET /render/user/3d/:id

200 OK
{
	"camera": {
		"position": { "x": 0, "y": 0, "z": 0 },
		"direction": { "x": 0, "y": 0, "z": 0 }
	},
	"AABB": {
		"min": { "x": 0, "y": 0, "z": 0 },
		"max": { "x": 0, "y": 0, "z": 0 }
	},
	"files": {
		"scene.obj": { "content": "..." },
		"scene.mtl": { "content": "..." },
		"Handle1Tex.png": { "content": "..." }
	}
}