Lua:
用户
用户会话(GET):https://forum.cfx.re/session/current.json
信息(获取):https://forum.cfx.re/u/{username }.json
CSRF 会话(GET):https://forum.cfx.re/session/csrf.json
用户名检查(GET):https://forum.cfx.re/u/check_username.json?username={username}
电子邮件检查(GET):https://forum.cfx.re/u/check_email.json?email={email}
策略用户(GET):https://policy-live.fivem.net/api/getUserInfo/{id}
发送电子邮件(POST):https://forum.cfx.re/u/action/send_activation_email
标头:{
'Cfx-Entitlement-Ticket':{输入所有权票},
'x-requested-with':'XMLHttpRequest',
'discourse-present':'true',
'x-csrf-token':{输入 csrf},
}
数据 = 用户名:{输入您的用户名}
服务器
主要信息(GET):http://{ip:port}/info.json
动态信息(GET):http://{ip:port}/dynamic.json
玩家信息(GET):http://{ip:port}/players.json
服务器列表信息(GET):https://servers-frontend.fivem.net/api/servers/single/{address}
所有服务器数据(GET):https://servers-frontend.fivem.net/api/servers/stream/1658188050/
顶级服务器(GET):https://servers-frontend.fivem.net/api/servers/top/{language}
点赞信息 (GET) :https://servers-frontend. Fivem.net/api/upvote/(标题分隔)
玩家游戏时间(GET):https://lambda.fivem.net/api/ticket/playtimes/{ip:port}?identifiers[]={identifier}
促销(GET):https://runtime.fivem.net/promotions_targeting.json
FiveM 应用程序
构建变更日志(GET):https://changelogs-live.fivem.net/api/changelog/versions/{buildversion}
NUI 黑名单 (GET) : https://runtime.fivem.net/nui-blacklist.json
玩家数量 (GET) : https://runtime.fivem.net/counts.json
推文(获取):https://runtime.fivem.net/tweets.json
工件数据(GET): https: //changelogs-live.fivem.net/api/changelog/versions/win32/server
知识:后门功能就是通过api植入的前阵子被fivem官方禁用api了不知道现在解开
但后门一般不搞人除非腐竹没给技术结钱可能会把技术惹急就会打你服务器
原帖地址:https://github.com/HAMz-Project/FiveM-Api
这只是一部分api