
sleepless_routing
FiveM命名路由桶。给实例命名,将玩家移入其中,并从复制玩家状态中读取结果。
功能特性
- 命名桶。桶
0是世界,桶1是隐藏的,命名桶从2开始。 - 复制玩家状态:
currentBucket,oldBucket,currentBucketName - 桶的种群和实体锁定(
inactive,relaxed,strict,no_dummy,full) - 玩家移动会带来自身车辆、车辆中的其他玩家以及附加到他们角色上的物体
getPlayersInBucket用于当前在实例中的玩家triggerClientEventForBucket通过lib.triggerClientEvent向那些玩家发送一个客户端事件moveEntityToBucket用于服务器端车辆、角色和道具- 当另一个资源使用
SetPlayerRoutingBucket移动玩家时,状态保持同步 - 框架无关。不需要任何框架资源
依赖项
链接
Other Releases
crafting paid
fishing paid
interact free
waypoints free
Inventory Addons free
Object Gizmo free
Ped Manager free
| 代码可访问 | 是 |
| 基于订阅 | 否 |
| 代码行数(约) | 460 |
| 依赖项 | ox_lib |
| 支持 | 是 |
查看英文原文 (Original)

sleepless_routing
Named routing buckets for FiveM. Give an instance a name, move a player into it, and read the result from replicated player state.
Features
- Named buckets. Bucket
0is the world, bucket1is hidden, and named buckets start at2 - Replicated player state:
currentBucket,oldBucket,currentBucketName - Population and entity lockdown per bucket (
inactive,relaxed,strict,no_dummy,full) - A player move brings their vehicle, the other players in it, and objects attached to their ped
getPlayersInBucketfor whoever is in an instance right nowtriggerClientEventForBucketsends one client event to those players throughlib.triggerClientEventmoveEntityToBucketfor server-side vehicles, peds, and props- State stays in sync when another resource moves the player with
SetPlayerRoutingBucket - Framework agnostic. No framework resource is required
Dependencies
Links
Other Releases
crafting paid
fishing paid
interact free
waypoints free
Inventory Addons free
Object Gizmo free
Ped Manager free
| Code is accessible | Yes |
| Subscription-based | No |
| Lines (approximately) | 460 |
| Requirements | ox_lib |
| Support | Yes |
🔐 本站用户登录后即可查看下载地址,请先登录。
本文资源搬运自 CFX.re FiveM 官方论坛,原作者:DemiAutomatic。原帖地址:https://forum.cfx.re/t/sleepless-routing/5432471
THE END



![[插件按键对应编号][按键修改][键位查询]-Fivem论坛](http://f.sihuai.icu/wp-content/uploads/2026/03/d63f0844e220260306091608-scaled.png)

![[免费] WG Banking — 实体 ATM 屏幕显示,真实借记卡,完善的 SQL | QBox · QBCore · ESX-Fivem论坛](https://forum-cfx-re.akamaized.net/original/5X/5/5/e/a/55ea691f13ad0f2545afeec1ce334a806d08d20d.jpeg)
![[免费] 指纹扫描仪-Fivem论坛](https://forum-cfx-re.akamaized.net/original/5X/1/a/b/f/1abfb21417d58052e3af9a9a2c8a254821f2f058.jpeg)
![[免费] 3D GPS 带状指示器 & 路标信标-Fivem论坛](https://f.sihuai.icu/wp-content/uploads/2026/10/f61e4aeda720261019215155-800x450.jpeg)
![[ESX/QB-Core/Standalone] 传呼系统 (3D模型动画)-Fivem论坛](https://forum-cfx-re.akamaized.net/original/5X/b/0/0/d/b00db1803cc0f74ae22a17ac5c129d6be72b04f0.gif)
![[免费] El Gordo Lighthouse MLO-Fivem论坛](https://f.sihuai.icu/wp-content/uploads/2026/11/ce10679cd520261102203449-800x450.jpeg)


![[MLO] 车库与藏身处 [免费]-Fivem论坛](https://f.sihuai.icu/wp-content/uploads/2026/11/0fb3171ffa20261104203352-800x450.jpeg)
![[免费] Zyke’s 高级粉碎机 (FiveM, 同步, 自定义道具, 声音, 交互)-Fivem论坛](https://forum-cfx-re.akamaized.net/original/5X/b/e/0/a/be0a64b2a67ece57ad3e8230430b1333e174fdd7.gif)
![[免费] FiveM 狗狗散步脚本 | 狗狗散步工作与日托中心 | ESX, QBCore, QBX-Fivem论坛](https://forum-cfx-re.akamaized.net/original/5X/6/0/e/e/60ee47d4ad87758b0f288c94362e880253075aef.gif)
![[免费] 暂停菜单 | QBCore & Qbox | OchiDev-Fivem论坛](https://f.sihuai.icu/wp-content/uploads/2026/11/edd943b79820261104203632-800x424.jpeg)
![[免费] MZ Drugs Creator | 为 FiveM 定制的全功能药物系统-Fivem论坛](https://f.sihuai.icu/wp-content/uploads/2026/11/8e98e2799e20261104203651-800x450.jpeg)
![[免费] RD Fuel V1.0 – 拥有真实个性的加油站服务员-Fivem论坛](https://f.sihuai.icu/wp-content/uploads/2026/11/72a7e95eae20261104203755-800x450.jpeg)

暂无评论内容