CodeCraze Notes
Thank you for choosing CodeCraze Notes! This document will guide you through the installation, configuration, and usage of our Post-it system.
## 1. Installation
1. Extract the `cz_note` folder into your server's `resources` directory.
2. Add `ensure cz_note` to your `server.cfg`.
3. (Optional) If you are using an item-based system, see the 'Item Setup' section below.
---
## 2. Configuration (`config.lua`)
Open `config.lua` to customize the script for your server:
- **Framework**: Set `Config.Framework` to `'qb'`, `'esx'`, or `'standalone'`.
- **Locale**: Choose between `'en'` or `'de'`.
- **UseItem**: Set to `true` if players must have an item to create a note.
- **Database**: This script uses a **JSON-based database** (`notes.json`). No SQL installation is required!
---
## 3. Item Setup (Optional)
### QBCore:
Add the following to your `shared/items.lua`:
```lua
['postit'] = {['name'] = 'postit', ['label'] = 'Post-it', ['weight'] = 100, ['type'] = 'item', ['image'] = 'postit.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A small yellow sticky note.'},ESX:
4. How to Use
Creating a Note:
Reading/Picking Up:
5. Support & Updates
Last updated