-
Notifications
You must be signed in to change notification settings - Fork 5
Config
This page covers the configuration options, their JSON name (used in forgottegraves.json
and by the Client Options), and their respective descriptions.
JSON Name: graves
Default: true
This will prevent Forgotten Graves from placing graves. Your items and experience will be dropped as if Forgotten Graves was not installed.
JSON Name: graveCoordinates
Default: true
This toggles whether a chat message should be sent to the user containing the coordinates of the placed grave.
JSON Name: retrievalType
Default: BOTH
This controls the way that graves can be retrieved. There are 3 options:
BREAK
- Graves must be broken as if you were breaking a block.
USE
- Graves must be retrieved by right-clicking them.
BOTH
- Graves can be retrieved by either breaking or right-clicking them.
JSON Name: dropType
Default: EQUIP
This controls the way that items are returned upon retrieval. There are 2 options:
EQUIP
- Items will be put back into the inventory, in the same slots as when you originally died, except for Curse of Binding items.
DROP
- Items will be dropped on the ground, similar to vanilla behavior.
JSON Name: sneakSwapsDropType
Default: true
This setting causes sneaking to switch the drop type momentarily. For example, if your
dropType
is currentlyEQUIP
and you sneak whilst retrieving a grave, the items will insteadDROP
on the ground.
JSON Name: expStorageType
Default: ALL
This controls how much experience is stored inside of graves. There are 3 options:
ALL
- All experience levels and points will be stored.
VANILLA
- The vanilla equation will be used to determine how much experience should be stored (level * 7
).
NONE
- No experience will be stored.
JSON Name: percentage
Default: 100
This represents the percentage of experience that should be stored (it can range from 0-100); see Percentage Type.
JSON Name: percentageType
Default: POINTS
The type of percentage that should be used. Currently there are two types:
LEVELS
andPOINTS
.
LEVELS
: This will multiply your level by the given percentage, i.e. if you're level 41.73 and havepercentage
set to50
the grave will contain 20.86 levels.
POINTS
: This will multiply the total amount of experience you have by thepercentage
, i.e. if you have3475
experience andpercentage
set to50
, the grave will contain1738
experience.
JSON Name: cap
Default: -1
This represents the max amount of experience that can be stored in a grave; see Cap Type.
JSON Name: LEVELS
Default: -1
The type of cap that should be used. Currently there are two types:
LEVELS
andPOINTS
.
LEVELS
: The cap will affect levels, i.e. if thecap
is set to30
the grave will not store any higher than30
levels.
POINTS
: The cap will affect points, i.e. if thecap
is set to100
the grave will not store any higher than100
points.
JSON Name: sinkInAir
Default: true
Determines whether a grave should sink down to the first block that is not air.
JSON Name: sinkInWater
Default: true
Determines whether a grave should sink down to the first block that is not water.
JSON Name: sinkInLava
Default: false
Determines whether a grave should sink down to the first block that is not lava.
JSON Name: decayEnabled
Default: true
This setting toggles whether natural decay should be enabled; even when the setting is set to
false
you can still cause graves to decay with decay items.
JSON Name: decayModifier
Default: 60
(0 = disabled)
Range: 0
to 100
This represents the amount of durability (percentage-wise) an item can 'decay' when a grave decays. I've found
80
to be a good value for this setting.[ Decay Percent ]
Each time a grave decays this feature will attempt to damage your items. The more damaged an item is the quicker it will decay in the grave; and vice versa, less damaged items decay slower.
Decay can be represented as such:
decayModifier * itemDamagePercent
. Given adecayModifier
of80
an item with4%
damage would only decay by3.2%
. But an item with60%
damage would decay by48%
.[ Decay Chance ]
There is a 35% chance of an item decaying normally. This can be reduced by the unbreaking enchantment:
Unbreaking I: 26.25% chance
Unbreaking II: 17.5% chance
Unbreaking III: 8.75% chance
JSON Name: decayBreaksItems
Default: false
This setting causes items to break from the item decay process when enabled. Otherwise, the items will stop decaying at
1
durability and never break.
JSON Name: decayBreaksItems
Default: FRESH
This setting allows you to set which stage of decay the graves need to be at before they can be robbed via
graveRobbing
. Here are the options, in order:
FRESH
,OLD
,WEATHERED
,FORGOTTEN
.For example, if the setting is set to
WEATHERED
and grave robbing is enabled, any grave that isWEATHERED
or older (in this case,FORGOTTEN
) can be robbed by other players.
These settings cannot be handled by the client and are only meant to be set by server administrators. I would recommend checking out the Commands page as well. There are a few commands that will help you manage the server settings without the need for a server restart; and even entirely from within the game itself (if you have Mod Menu installed on the client).
JSON Name: graveRobbing
Default: false
This toggles whether players can steal another player's grave.
JSON Name: storedGravesAmount
Default: 15
Range: 0
to 40
This changes how many graves are backed up; when the amount of backed up graves exceed this amount, the oldest grave backup is removed from storage.
JSON Name: destructiveDeleteCommand
Default: false
This changes how the delete command operates. When set to
false
, you can delete a grave from storage without it being removed from the world. When set totrue
it will delete the grave from storage and from the world.
JSON Name: OPOverrideLevel
Default: 4
Range: -1
to 4
This setting controls what operator level a player must have in order to override the grave protection for other players' graves.
Be careful, as setting this to
0
is effectively the same thing as having Grave Robbing enabled.You can disable this completely by setting the value to
-1
.
JSON Name: clientOptions
Default: []
By default, all settings are handled by the server; this means that any client settings will be ignored entirely. This setting allows you to specify which of the main settings should be handled by the client instead of the server.
This setting expects an array of tags for each setting that you would like the client to handle. For example, if you would like each user to be able to set whether forgotten graves is enabled and if they receive a message containing coordinates:
["enableGraves","sendGraveCoordinates"]
If you would like to let your players change the drop type as well, you would simply add it to the list:
["enableGraves","sendGraveCoordinates","dropType"]
If you've encountered an issue and would like to report it, please use the issue tracker and provide as much information as you can, thank you!
Note: This wiki only applies to the most recent Forgotten Graves version.