Skip to content
Alexteens24 edited this page Dec 10, 2025 · 3 revisions

Frequently Asked Questions

General

Q: Does this work with Folia?

A: Yes! The plugin fully supports Folia's region-based scheduling.

Q: What Minecraft versions are supported?

A: 1.20.4 and higher (requires Java 17+).

Q: Will this conflict with other plugins?

A: Generally no. But if you use Lands or GriefPrevention, they have their own keep inventory features. See Advanced Configuration for how to handle this.


Configuration

Q: My config changes aren't working

A:

  1. Run /dki reload
  2. Check console for errors
  3. Make sure your YAML syntax is correct (use spaces, not tabs)

Q: How do I make players always keep inventory in their own land?

A:

advanced:
  enabled: true
  protection:
    lands:
      enabled: true
      in-own-land:
        keep-items: true
        keep-xp: true

Q: How do I make PvP not drop items but PvE does?

A:

advanced:
  enabled: true
  death-cause:
    enabled: true
    pvp:
      keep-items: true
      keep-xp: true
    pve:
      keep-items: false
      keep-xp: true

Q: I want night to drop items but still keep XP

A:

advanced:
  enabled: true
  night:
    keep-items: false
    keep-xp: true

Troubleshooting

Q: Plugin says "Lands not found" but I have Lands installed

A: Make sure:

  1. Lands is loading before DynamicKeepInv
  2. You're using a compatible Lands version
  3. Check console for API errors

Q: Economy features not working

A: You need:

  1. Vault plugin
  2. An economy plugin (EssentialsX, CMI, etc.)
  3. advanced.economy.enabled: true in config

Q: Settings seem to be ignored

A: Check the priority order:

  1. Bypass permission (highest)
  2. Claimed areas (in-own-land, in-other-land)
  3. Death cause (PvP/PvE)
  4. Wilderness
  5. Time-based (lowest)

Higher priority settings override lower ones.


Common Configs

Hardcore Survival

keep-inventory-day: false
keep-inventory-night: false

Casual Survival

keep-inventory-day: true
keep-inventory-night: true

Day Safe, Night Dangerous

keep-inventory-day: true
keep-inventory-night: false

PvP Server (no item loss in PvP)

advanced:
  enabled: true
  death-cause:
    enabled: true
    pvp:
      keep-items: true
      keep-xp: true
    pve:
      keep-items: false
      keep-xp: false

Integration Questions

Q: How do I use the Death Confirmation GUI?

A: Set economy mode to gui:

advanced:
  enabled: true
  economy:
    enabled: true
    cost: 100.0
    mode: "gui"
    gui:
      timeout: 30
      expire-time: 300

When players die:

  1. GUI opens after respawn with Pay/Drop options
  2. They have 30 seconds to decide
  3. If they don't choose, items are dropped
  4. If they disconnect, the pending death is saved for 5 minutes

Q: Player closed the GUI accidentally. Can they reopen it?

A: Yes! They can use /dki confirm to reopen the confirmation GUI, as long as the timeout hasn't expired.

Q: What happens if economy plugin is not available when using GUI mode?

A: Items will be dropped automatically. The GUI requires a working economy (Vault + economy plugin) to function.


Q: I use Lands and want simple time-based rules. Do I need death-cause?

A: No! If you just want:

  • Day = keep inventory
  • Night = drop items
  • Lands handles its own areas

Just disable death-cause:

advanced:
  enabled: true
  death-cause:
    enabled: false  # Disable this
  protection:
    lands:
      enabled: true
      override-lands: false  # Let Lands handle its own settings

This way:

  • Inside Lands → Lands' keepInventory setting applies
  • Outside Lands (wilderness) → Time-based rules apply
  • No death-cause complexity

Q: Death-cause vs Wilderness vs Lands - what takes priority?

A: Priority order (highest to lowest):

  1. Bypass permission - dynamickeepinv.bypass
  2. Claimed areas - in-own-land, in-other-land (Lands/GriefPrevention)
  3. Death cause - PvP/PvE settings
  4. Wilderness - Outside claimed areas
  5. Time-based - Day/Night rules

Example: Player dies at night, killed by another player, in wilderness:

  • If death-cause.enabled: true → PvP settings apply
  • If death-cause.enabled: false → Night settings apply

Q: I want Lands to fully control its areas, plugin only controls wilderness

A:

advanced:
  enabled: true
  protection:
    lands:
      enabled: true
      override-lands: false  # Important!
      wilderness:
        enabled: true
        keep-items: false
        keep-xp: true

With override-lands: false, the plugin won't touch areas inside Lands. Only wilderness (unclaimed) will use your settings.

DynamicKeepInv

Getting Started

Configuration

Reference

Help

Clone this wiki locally