Revision Difference
cookie#561744
<type name="cookie" category="libraryfunc" is="library">⤶
<summary>Used to store permanent variables/settings on clients that will persist between servers. They are stored in the `cl.db`, `sv.db`, or `mn.db` SQLite databases depending on the realm, located in the root Garry's Mod folder.</summary>⤶
</type>⤶
# 🍪 Cookie - Library⤶
⤶
<type name="cookie" category="libraryfunc" is="library">⤶
⤶
<summary>⤶
Functions to persist data on a user's computer.⤶
⤶
The data will be read / written to / from a database ⤶
corresponding to the realm the library was used in.⤶
⤶
⤶
| Realm | Database File | ⤶
|:-----:|:-----|⤶
| [Server] | `garrysmod/sv.db`⤶
| [Client] | `garrysmod/cl.db`⤶
| [Menu] | `garrysmod/mn.db`⤶
⤶
[Server]: /gmod/States#server⤶
[Client]: /gmod/States#client⤶
[Menu]: /gmod/States#menu⤶
⤶
</summary>⤶
⤶
</type>⤶
⤶
⤶