BrickPlanet Developer API

    Classes

  • Data
    • Game
    • Leaderboard
    • Players
    • ServerStorage
    • Workspace
    • Dynamic
    • Hat
    • Mesh
    • Model
    • MouseDetector
    • Player
    • RemoteData
    • Tool
    • CData
    • Camera
    • Chat
    • InputSystem
    • MathExt
    • PartColor
    • PlayerBody
    • PlayerMouse
    • Ray
    • Region3
    • Vector3
  • Lighting
    • Lighting
    • PointLight
  • Effects
    • Scenery
    • Particles
    • Sound
    • Text3D
    • ParticlesEmissionModule
    • ParticlesLightsModule
    • ParticlesMainModule
    • ParticlesShapeModule
    • ParticlesTrailsModule
    • UI
    • UI Background
    • UI Button
    • UI Checkbox
    • UI Dropdown
    • UI Input field
    • UI Layout
    • UI Horizontal Layout
    • UI Vertical Layout
    • UI Slider
    • UI Text
    • UIElement
  • Constraints
    • Hinge
    • Weld
  • Scripting
    • LocalScript
    • ServerScript
  • Construction
    • Part
    • Truss
    • VehicleSeat
  • Tutorials
    • Scripted Gun tutorial
  • Scripting Forum
  • Updates Log

You are in:

  • Scripting
  • »
  • ServerScript

ServerScript

A script that only runs on the server

Properties

Name Type Description
ItemAny
Inherited from Dynamic Name Enabled Root Tag Position Rotation LocalRotation Size Parent TextureID TextureTiling TextureTilingY

Functions

Name Returns Description
SendMessageVoid
GetInternalTimeNumber
GetDeltaTimeNumber
Inherited from Dynamic SetParent Log IsA FindFirstChild FindFirstChildOfClass FindFirstParentOfClass MoveTo NetworkSync LookAt LocalToWorldPoint Clone GetChildren ClearChildren Destroy

Events

Name Description
OnScriptMessage
ScriptStepped
everySecond
everyFiveSeconds
everyTenSeconds
everySixtySeconds
everyFiveMinutes