# Usage

1. **Placing the Table**
   * [ ] **Via Command&#x20;**<mark style="color:red;">**(**</mark><mark style="color:red;">**`/wood`**</mark><mark style="color:red;">**):**</mark> <mark style="color:red;"></mark><mark style="color:red;">If</mark> <mark style="color:red;"></mark><mark style="color:red;">`Config.UseCommand = true`</mark>, players can type <mark style="color:red;">`/wood`</mark> in chat to spawn the default prop.
   * [ ] **Via Item&#x20;**<mark style="color:red;">**(**</mark><mark style="color:red;">**`wood`**</mark><mark style="color:red;">**):**</mark> <mark style="color:red;"></mark><mark style="color:red;">If</mark> <mark style="color:red;"></mark><mark style="color:red;">`Config.UseItem = true`</mark>, players can also use the “wood” item from their ESX/QB inventory.
2. **Position & Confirm**
   * [ ] The script spawns a semi-transparent table prop in front of the player. Move around to position it.
   * [ ] Press **ENTER** (or the designated key) to confirm the placement, or press **ESC**/**Back** to cancel.
3. **Starting the Game**
   * [ ] Once placed, the table waits for the **owner** to press **E** to start a match.
   * [ ] Another player can see a join prompt <mark style="color:red;">(</mark><mark style="color:red;">`~y~%s~s~ has invited you.\nPress [E] to join.`</mark>) if the table is set to invite mode.
4. **Bot vs. Friend**
   * [ ] Players can invite the **bot** or a **friend**.
   * [ ] A scoreboard tracks player wins (and optionally the bot’s wins if <mark style="color:red;">`Config.CountBotWins = true`</mark><mark style="color:red;">)</mark>.
5. **Ending the Match**
   * [ ] Close the UI to end the game. If the table’s owner ends the match, the table can be removed from the world.
   * [ ] A short delay may occur for post-game announcements (win/draw notifications).
6. **Scoreboard**
   * [ ] The script saves wins data (locally in a data file or via DB, depending on your config).
   * [ ] <mark style="color:red;">**`Config.MaxScoreboardEntries`**</mark> determines how many top players you see.
