Repository navigation
Geode 0.6.2
Kicked players read a sentence meant for them, the typings fit roblox-ts games better, and the docs say what they left out. Nothing breaks.
Changed
- The
kickguard action kicks with "You were removed because of a problem with your data. Please rejoin." instead of the violation'sreason, which is written for logs and shows paths and values.kickMessageon a profile store, a shared store orGeode.playerssets the text for every guard, andkickMessagein a guard's options sets it for that guard alone. The message is the kicking guard's: before, it was the transaction's first violation, even when that guard had only flagged.guardBrokenand telemetry still get thereasonas it was tx:opcalled with a built-in op's name, such astx:op("set", ...), now says that built-ins are methods (tx:set,tx:incrementand the rest) instead of "no op named set is registered". The error kind is stillunknownOp- Typings: a
templatecan be any object type, so data declared as aninterfacefits.Geode.receiptsreturns the decision type it's given,Enum.ProductPurchaseDecisionby default, so it can be assigned toMarketplaceService.ProcessReceipt, and itsdecisionshave a type of their own,Geode.Decisions.Testing.universe({ clock })takes any clock, anduniverse.clockkeeps the type of the one given - The typings are checked with TypeScript 5.5.3, the version roblox-ts uses, as well as the current one
- Docs: how
guard.subsetreads a map or a list, what an action function gets and whenguardBrokenfires, that guard state lives in memory per load, the order of a release another server asks for, thatonLoadedalso calls back for profiles loaded earlier, that a digit segment in a string path is a list index, how receipts read their handlers and decisions, and where leaderboards keep their scores