Skip to main content

Configuration

The main config file is located at mods/kyuubisoft_graveyard/config/graveyard.json.


General Settings

SettingDefaultDescription
captureModeDROPPED_ONLYDROPPED_ONLY = only items that normally drop on death. ALL_ITEMS = entire inventory
protectionTimerSeconds300How long the gravestone is owner-only (seconds). -1 = no protection
gravestoneLifetimeSeconds-1How long until the gravestone despawns. -1 = never
lifetimeWarningBeforeSeconds60Warn owner X seconds before gravestone expires
maxGravestonesPerPlayer5Maximum active gravestones per player. Oldest is deleted when exceeded
spawnAtSafePositiontrueSpawn gravestone at last safe position instead of death position
showWorldMapMarkertrueShow death marker on the world map
showPlayerNametrueShow player name above the gravestone
enableParticlestrueEnable/disable the entire particle system (tab, commands, effects)
defaultDesigndefaultDefault gravestone design for new players
defaultLanguageen-USDefault language (en-US or de-DE)

Database

Default: SQLite (single file, no setup needed).

"database": {
"type": "sqlite",
"sqlitePath": "graveyard.db",
"mysql": {
"host": "localhost",
"port": 3306,
"database": "hytale",
"username": "root",
"password": ""
}
}

Set "type": "mysql" to use MySQL or MariaDB instead.


Designs

Each design defines a gravestone appearance:

"designs": {
"default": {
"displayName": "Simple Tombstone",
"blockId": "Furniture_KS_Gravestone",
"premium": false
},
"royal": {
"displayName": "Royal Gravestone",
"blockId": "Furniture_KS_Gravestone_Royal",
"premium": true,
"price": 500,
"currency": "coins"
}
}
FieldDescription
displayNameName shown in the menu
blockIdThe furniture item ID used for the gravestone block
premiumtrue = players must purchase it
priceCost (only if premium)
currencyCurrency type (for economy integration)

Particles

Each particle preset defines an effect:

"particles": {
"none": {
"displayName": "No Particles",
"systemId": null,
"premium": false
},
"golden_glow": {
"displayName": "Golden Glow",
"systemId": "Block_Top_Glow",
"color": "#ffd700",
"scale": 1.0,
"premium": true,
"price": 300,
"currency": "coins"
}
}
FieldDescription
displayNameName shown in the menu
systemIdHytale particle system ID (see list below)
colorHex color override (e.g. #ffd700)
scaleParticle scale (default 1.0)
premiumtrue = players must purchase it
priceCost (only if premium)
currencyCurrency type

Available Particle System IDs

System IDEffect
Block_Top_GlowSubtle block glow
Totem_Heal_AoEHealing aura circle
Drop_LegendaryLegendary item glow
Drop_EpicEpic item glow
Drop_RareRare item glow
Drop_UncommonUncommon item glow
Dust_Sparkles_FineFine dust particles
Fire_Charged1Fire effect
Block_Gem_SparksCrystal sparks

Item Loss

Optional system to destroy a percentage of items on death:

"itemLoss": {
"enabled": false,
"mode": "BLACKLIST",
"defaultLossPercent": 10,
"items": {
"Sword_Iron": { "lossPercent": 25 },
"Key_Dungeon": { "lossPercent": 0 }
}
}
ModeDescription
BLACKLISTAll items can be lost (default rate), except items in the list
WHITELISTNo items lost, except items explicitly in the list
NONENo item loss

Economy Integration (Optional)

Graveyard supports VaultUnlocked for premium purchases. No other plugins (including KyuubiSoft Core) are required.

How it works

ScenarioBehavior
VaultUnlocked installedPlayers can buy premium designs and particles with in-game currency
VaultUnlocked not installedPremium items can only be unlocked via admin commands (design_give, particle_give)

Detection priority

The plugin checks for economy providers in this order:

  1. KyuubiSoft Core — if installed, uses Core's ExternalEconomyBridge (supports VaultUnlocked + EliteEssentials)
  2. VaultUnlocked direct — if Core is not installed, connects to VaultUnlocked directly via the vault2 API
  3. Disabled — no economy, admin commands only

Console output

On startup you will see one of:

[Graveyard] Economy via Core's ExternalEconomyBridge
[Graveyard] Economy via VaultUnlocked direct (Ecotale)
[Graveyard] No economy provider detected — premium purchases via admin commands only

Teleport cost

You can also charge players for teleporting to their gravestone:

"allowTeleportToGravestone": true,
"teleportCost": 50,
"teleportCurrency": "coins"

Set teleportCost to 0 to allow free teleporting.


Customization

Background Image

Replace images/gravestone_bg.png with your own 350x497 PNG image. Restart the server.

Language Overrides

Copy i18n/en-US.json to the mod's i18n/ directory and edit. Changes override the built-in translations.

Custom Designs

See Custom Designs for adding new gravestone models.