bs_recycler
Rust-style recyclers: feed a machine loot, get materials back.
Generated from the Lua sources in resources/[beyond]/bs_recycler/. 11 entries. The description column is the comment above the line in the code, so if it’s empty nobody wrote one yet.
Exports
Section titled “Exports”Call with exports.bs_recycler:Name(...) from the same side.
None.
Callbacks
Section titled “Callbacks”Server callbacks are called from a client with BSB.Await(name, timeoutMs, ...). Client callbacks are called from the server with BSB.AwaitClient(src, name, timeoutMs, ...).
| Name | Direction | Where | Description |
|---|---|---|---|
recycler:finish | client -> server | server/sv_main.lua:314 | |
recycler:open | client -> server | server/sv_main.lua:196 | |
recycler:points | client -> server | server/sv_main.lua:402 | |
recycler:run | client -> server | server/sv_main.lua:239 |
Events
Section titled “Events”“net” means the handler is registered with RegisterNetEvent, so the other side can trigger it. “local” is AddEventHandler only (same side, or game events).
| Name | Side | Type | Where | Description |
|---|---|---|---|---|
bs:hook:player:spawned | server | local | server/sv_main.lua:461 | |
bs:recycler:open | client | net | client/cl_main.lua:80 | |
bs:recycler:points | client | net | client/cl_main.lua:70 | |
bs:recycler:start | client | net | client/cl_main.lua:96 | |
onResourceStop | client | local | client/cl_main.lua:167 | |
playerDropped | server | local | server/sv_main.lua:391 | A machine whose operator has gone keeps its fuel and unlocks, rather than staying reserved to somebody who is no longer on the server. |
Commands
Section titled “Commands”| Command | Side | Where | Description |
|---|---|---|---|
/recycler | server | server/sv_main.lua:404 |
bs19.org · Privacy · Terms · Cookie settings