Documentation
Docs/Resources/Base/sitanywhere
Base Resource

sitanywhere

World-object seating and free placement rewritten for VCORE. The resource uses the Core menu, notifications and prompt system, reserves seats on the server, exposes state through the vcoreSitting player state bag, and integrates with the Sitting tab in anims. Commands: /sitmenu, /sit, /lay, /stand, /sitanywhere. The default direct key is F6. Add extra native or custom props in Config.Models; each object can define independent sit and lay offsets. This resource does not require a targeting, zone, UI or asset-pack dependency.

v1.0.0VCore FrameworkGameplay systems

Introduction

World-object seating and free placement rewritten for VCORE. The resource uses the Core menu, notifications and prompt system, reserves seats on the server, exposes state through the vcoreSitting player state bag, and integrates with the Sitting tab in anims. Commands: /sitmenu, /sit, /lay, /stand, /sitanywhere. The default direct key is F6. Add extra native or custom props in Config.Models; each object can define independent sit and lay offsets. This resource does not require a targeting, zone, UI or asset-pack dependency.

1Client Lua
1Server Lua
8Exports
6Events
0SQL tables

No manifest UI page detected.

Dependencies & References

ResourceDetected asPackage status
coreManifest dependencyIncluded in Base

Cross-resource export calls

ResourceFunctions called
coregetCoreObject

Installation / Start Order

The supplied server.cfg enables this resource in the Gameplay systems stage at enabled-resource position 59. Base installation also depends on the global prerequisites and consolidated VCORE_INSTALL.sql documented in Getting Started.

server.cfg
ensure sitanywhere

Configuration

Config files

  • config.lua

Top-level config keys detected

CancelControlCloneAlphaCommandsDebugDetectionDistanceForceFirstPersonPlacementInteractionDistanceKeybindLayStylesMaxObjectTiltMaxPlacementDistanceModelsOccupantRadiusPlacementControlsRaycastDistanceReservationDistanceReturnToStartWhenBlockedSitStylesTeleportWhenUnreachableWalkArrivalDistanceWalkSpeedWalkTimeoutWalkToSeat

Events, Exports & Callbacks

Exports

Client exports8
  • GetSitMeta
  • IsLaying
  • IsNearBed
  • IsNearSeat
  • IsSitting
  • OpenMenu
  • SitClosestOrGround
  • StandUp

Callbacks

Server callbacks1
  • sitanywhere:server:reserve

Registered network events

Client registered events5
  • VCORE:Client:OnPlayerUnload
  • anims:client:stopAnimation
  • sitanywhere:client:openMenu
  • sitanywhere:client:sitClosestOrGround
  • sitanywhere:client:stand
Server registered events1
  • sitanywhere:server:release

Commands

No commands were detected.

Database / SQL

No resource-local SQL file was detected.

No CREATE TABLE statements detected inside this resource.

The root Base package also ships the consolidated VCORE_INSTALL.sql.

Source Layout

AreaDetected files
Client Lua1
Server Lua1
Other/shared Lua2
JavaScript0
HTML0
CSS0
SQL0

Troubleshooting

  • Confirm all manifest dependencies are started before sitanywhere.
  • Check the supplied start-order note above; resources absent from server.cfg need an explicit decision before enabling.
  • If database queries fail, import the consolidated Base SQL and any resource-local SQL listed above.
  • If the UI fails, verify the resource's NUI files and ui_page when one is declared.