Class
ServerStorage
NotCreatableServiceNotReplicated
A container whose contents are only accessible on the server. Objects
descending from ServerStorage will not replicate to the client and will not be
accessible from LocalScripts.
A container whose contents are only accessible on the server. Objects
descending from ServerStorage will not replicate to the client and will not be
accessible from LocalScripts.
As ServerStorage is a service it can only be accessed using the
DataModel.GetService method.
By storing large objects such as maps in ServerStorage until they are needed, network traffic will not be used up transmitting these objects to the client when they join the game.
Scripts will not run when they are parented to ServerStorage,
although ModuleScripts contained within can be accessed
and ran. It is recommended developers use ServerScriptService to hold
Scripts they wish the server to execute.
Note that as the contents of ServerStorage can only be accessed by the server,
its contents will need to be parented elsewhere (such as Workspace)
before clients can access them. Developers who require a container that is
accessible by both the server and client are advised to use
ReplicatedStorage instead.
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild