# config.yml

## 📘 Configuration for the nwMMOUpgrade Premium Plugin

```
##########################################################################
#
#                         nwMMOUpgrade - MMOItems
#      Created By Discord NN#7999 (Newworld Server)
#     Default Config nwMMOUpgrade
#
##########################################################################

#Contact&Support: https://discord.gg/gwXcr7c6Gq
```

***

## ⚙️ Main Configuration

### **1. Confirm Button Secondary**

If you want to use the confirm button, you can enable or disable its functionality.\
The cooldown is configured using seconds.

```yaml
button-confirm-secondary:
  enable: false
  name: "&e&lCONFIRM? Click again!"
  cooldown: 5 #5second
```

***

### **2. Gem Apply On Item**

This option enables or disables the legacy gem application system from MMOItems.\
When enabled, players can apply gems using the old method.

```yaml
gemApplyOnItem:
  warning-message: "&cPlease use the upgrade menu rather than applying the gem manually!"
  enable: true
```

***

### **3. Allow Check Player Inventory**

When enabled, this option only takes effect if you are using material, chance, or protection.\
If the maximum slot limit in the GUI is 64, and your required amount exceeds 64,\
the system will automatically deduct the remaining items directly from the player's inventory.

```yaml
allow-check-player-inventory:
  enable: false
```

***

### **4. Debug Custom Placeholders**

When enabled, this option allows you to view the results of placeholder calculations in the console.\
Useful for debugging and verifying calculation outcomes during development or testing.

```yaml
debug-custom-placeholders:
  enable: false
```

***

### **5. Logs**

When enabled, the system will log the activity of various stations for debugging and monitoring purposes.\
You can also enable or disable the reset-logs feature to prevent excessive log accumulation.

```yaml
logs:
  enable: false
  reset-logs:
    enable: false
    every: "12h30m"
    timezone: "Asia/Bangkok"
```

***
