search/
Start typing to search packages!
package_2
postie
By @superbithious
Roblox
MirroredPostie
Postie is a simple Roblox Luau library for client-server communication, providing a safe alternative to RemoteFunction with a timeout.
Typed with Luau annotations, Postie is written to prevent mistakes from misuse of the API. For more information, view the documentation.
Usage
Client → Server
-- Context: Client
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Postie = require(ReplicatedStorage.Packages.Postie)
local timeout = 5
local withColor = Color3.fromRGB(255, 0, 0)
local atPosition = Vector3.new(0, 25, -20)
local isOk, newPart = Postie.invokeServer("createPart", timeout, withColor, atPosition)
if isOk then
print("The server created the requested part:", newPart)
else
print("The server wasn't able to create the part...")
end
-- Context: Server
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Postie = require(ReplicatedStorage.Packages.Postie)
local function onCreatePart(player: Player, partColor: Color3, partPosition: Vector3)
local newPart = Instance.new("Part")
newPart.Color = partColor
newPart.Position = partPosition
newPart.Parent = workspace
return newPart
end
Postie.setCallback("createPart", onCreatePart)
License
Postie is released under the terms of the MIT License. View the LICENSE file for specific details.
Package Details
Install command (Click to copy)
Version
1.1.1
License
MIT
Safe for commercial use
Automated license review — not legal advice.
