config + replace open-parties-and-claims

This commit is contained in:
Xikaro 2025-05-18 22:15:49 +05:00
parent f98b5292e8
commit ee1585ee79
12 changed files with 637 additions and 46 deletions

View file

@ -0,0 +1,258 @@
# Default config file that will be copied to local\ftbchunks\client-config.snbt if it doesn't exist!
# Just copy any values you wish to override in here!
{
advanced: {
# Enables debug info
# Default: false
debug_info: false
# Advanced option. Change how often the minimap will refresh icons
# Default: 500
# Range: 0 ~ 10000
minimap_icon_update_timer: 500
# Advanced option. How often map render update will be queued
# Default: 60
# Range: 1 ~ 600
rerender_queue_ticks: 60
# Advanced option. Max tasks that can queue up
# Default: 100
# Range: 1 ~ 10000
task_queue_max: 100
# Advanced option. How often queued tasks will run
# Default: 4
# Range: 1 ~ 300
task_queue_ticks: 4
memory: {
# When the large map is closed, auto-release least recently accessed regions down to this number (0 disables releasing)
# Default: 32
# Range: 0 ~ 2147483647
autorelease_on_map_close: 32
# Constrain maximum map zoom-out based on number of explored regions and available memory
# Default: true
max_zoom_constraint: true
# Periodically release region data for non-recently-used regions to save memory (units of seconds, 0 disables releasing
# Default: 300
# Range: 0 ~ 2147483647
region_release_time: 300
}
}
appearance: {
# Biome blend
# Default: "blend_5x5"
# Valid values: "none", "blend_3x3", "blend_5x5", "blend_7x7", "blend_9x9", "blend_11x11", "blend_13x13", "blend_15x15"
biome_blend: "blend_5x5"
# Chunk grid overlay in large map
# Default: false
chunk_grid: false
# Show claimed chunks on the map
# Default: true
claimed_chunks_on_map: true
# Advanced option. Foliage darkness
# Default: 50
# Range: 0 ~ 255
foliage_darkness: 50
# Advanced option. Grass darkness
# Default: 50
# Range: 0 ~ 255
grass_darkness: 50
# Different ways to render map
# Default: "none"
# Valid values: "none", "night", "topography", "blocks", "light_sources"
map_mode: "none"
# Noise added to map to make it look less plastic
# Default: 0.05
# Range: 0.0 ~ 0.5
noise: 0.05d
# Only show entities that are on the surface
# Default: true
only_surface_entities: true
# Show your own claimed chunks on the map
# Default: true
own_claimed_chunks_on_map: true
# Reduces color palette to 256 colors
# Default: false
reduced_color_palette: false
# Color intensity
# Default: 1.0
# Range: 0.0 ~ 1.0
saturation: 1.0d
# Shadow intensity
# Default: 0.1
# Range: 0.0 ~ 0.3
shadows: 0.1d
# How many blocks should height checks skip in water. 0 means flat water, ignoring terrain
# Default: 8
# Range: 0 ~ 128
water_height_factor: 8
# Advanced option. Water visibility
# Default: 220
# Range: 0 ~ 255
water_visibility: 220
}
minimap: {
# Blurs minimap
# Default: "auto"
# Valid values: "auto", "on", "off"
blur_mode: "auto"
# Adds NWSE compass inside minimap
# Default: true
compass: true
# Enable minimap
# Default: false
enabled: false
# Show entities on minimap
# Default: true
entities: true
# Show entity heads on minimap
# Default: true
entity_heads: true
# Minimap font scaling (values not a multiple of 0.5 may look bad)
# Default: 0.5
# Range: 0.1 ~ 5.0
font_scale: 0.5d
# Info hidden under minimap
# Default: ["ftbchunks:debug"]
info_hidden: ["ftbchunks:debug"]
# Info displayed under minimap
# Default: ["ftbchunks:player_pos", "ftbchunks:biome", "ftbchunks:zone", "ftbchunks:fps", "ftbchunks:game_time", "ftbchunks:real_time", "ftbchunks:debug"]
info_order: [
"ftbchunks:player_pos"
"ftbchunks:biome"
"ftbchunks:zone"
"ftbchunks:fps"
"ftbchunks:game_time"
"ftbchunks:real_time"
"ftbchunks:debug"
]
info_settings: { }
# Entities in minimap will be larger
# Default: false
large_entities: false
# Minimap will not rotate
# Default: true
locked_north: true
# Show player heads on minimap
# Default: true
player_heads: true
# Enables minimap to show up in corner
# Default: "top_right"
# Valid values: "bottom_left", "left", "top_left", "top_right", "right", "bottom_right"
position: "top_right"
# Applied a conditional check to the offset. When set to anything other that None, the offset will apply only to the selected minimap position.
# When set to none and the maps offset is greater than 0, the offset will apply to all directions
# Default: "none"
# Valid values: "bottom_left", "left", "top_left", "top_right", "right", "bottom_right", "none"
position_offset_condition: "none"
# Changes the maps X offset from it's origin point. When on the Left, the map will be pushed out from the left, then from the right when on the right.
# Default: 0
# Range: -∞ ~ +∞
position_offset_x: 0
# Changes the maps X offset from it's origin point. When on the Left, the map will be pushed out from the left, then from the right when on the right.
# Default: 0
# Range: -∞ ~ +∞
position_offset_y: 0
# Size minimap proportional to screen width (and scale)
# Default: true
proportional: true
# Scale of minimap
# Default: 1.0
# Range: 0.25 ~ 4.0
scale: 1.0d
# Always show player on minimap, even when rotation not locked
# Default: true
show_player_when_unlocked: true
# Draw a square minimap instead of a circular one
# Default: false
square: false
# Minimap visibility
# Default: 255
# Range: 0 ~ 255
visibility: 255
# Show waypoints on minimap
# Default: true
waypoints: true
# Zoom distance of the minimap
# Default: 1.0
# Range: 1.0 ~ 4.0
zoom: 1.0d
}
waypoints: {
# Automatically remove death waypoints if closer than this many blocks away (distance of 0 disables removal)
# Default: 0
# Range: 0 ~ 2147483647
death_waypoint_autoremove_distance: 0
# Enables creation of death waypoints
# Default: true
death_waypoints: false
# Show waypoints in world
# Default: true
in_world_waypoints: false
# Minimum distance before waypoint dots start to fade
# Default: 1.0
# Range: 1.0 ~ 200.0
waypoint_dot_fade_distance: 1.0d
# Minimum distance before waypoint beacons start to fade
# Default: 12.0
# Range: 1.0 ~ 200.0
waypoint_fade_distance: 12.0d
# How close player crosshair needs to be to in-world waypoints to show waypoint labels
# Default: 1.0
# Range: 1.0 ~ 10.0
waypoint_focus_distance: 1.0d
# How much do in-world waypoints enlarge when the player crosshair is close
# Default: 2.0
# Range: 1.0 ~ 10.0
waypoint_focus_scale: 2.0d
# Maximum distance at which waypoints are drawn
# Default: 5000.0
# Range: 1.0 ~ 2.147483647E9
waypoint_max_distance: 5000.0d
}
}

View file

@ -0,0 +1,200 @@
# Default config file that will be copied to saves\New World\serverconfig\ftbchunks-world.snbt if it doesn't exist!
# Just copy any values you wish to override in here!
{
# Forced modes won't let players change their ally settings
# Default: "default"
# Valid values: "default", "forced_all", "forced_none"
ally_mode: "default"
# Dimension ID's where chunks may not be claimed. Add "minecraft:the_end" to this list if you want to disable chunk claiming in The End, or "othermod:*" to disable chunk claiming in *all* dimensions added by "othermod"
# Default: []
claim_dimension_blacklist: [ ]
# Dimension ID's where chunks may be claimed. If non-empty, chunks may be claimed *only* in these dimensions (and the dimension is not in "claim_dimension_blacklist"). Same syntax as for "claim_dimension_blacklist".
# Default: []
claim_dimension_whitelist: [ ]
# Disables all land protection. Useful for private servers where everyone is trusted and claims are only used for force-loading
# Default: false
disable_protection: false
# Override to disable/enable fake players like miners and auto-clickers globally.
# Default will check this setting for each team
# Default: "check"
# Valid values: "check", "deny", "allow"
fake_players: "check"
# Minimap for clients connecting to this server will be disabled
# Default: false
force_disable_minimap: true
# Control how force-loaded chunks work.
# NEVER: only allow chunk force-loading if the owning team has at least one online player.
# ALWAYS: always allow force-loading, even if no players are online.
# DEFAULT: allow force-loading IF the team has at least one player with the 'ftbchunks.chunk_load_offline' FTB Ranks permission.
# Default: "default"
# Valid values: "default", "always", "never"
force_load_mode: "default"
# Hard limit for the number of chunks a team can claim, regardless of how many members. Default of 0 means no hard limit.
# Default: 0
# Range: 0 ~ 2147483647
hard_team_claim_limit: 0
# Hard limit for the number of chunks a team can force-load, regardless of how many members. Default of 0 means no hard limit.
# Default: 0
# Range: 0 ~ 2147483647
hard_team_force_limit: 0
# If true, "Location Visibility" team settings are ignored, and all players can see each other anywhere on the map.
# Default: false
location_mode_override: false
# Interval in ticks to send updates to clients with long-range player tracking data.
# Lower values mean more frequent updates but more server load and network traffic; be careful with this, especially on busy servers.
# Setting this to 0 disables long-range tracking.
# Default: 20
# Range: 0 ~ 2147483647
long_range_tracker_interval: 20
# Max claimed chunks.
# You can override this with FTB Ranks 'ftbchunks.max_claimed' permission
# Default: 500
# Range: -∞ ~ +∞
max_claimed_chunks: 500
# Max force loaded chunks.
# You can override this with FTB Ranks 'ftbchunks.max_force_loaded' permission
# Default: 25
# Range: -∞ ~ +∞
max_force_loaded_chunks: 25
# Maximum time (in real-world days) where if no player in a team logs in, the team automatically loses their claims.
# Prevents chunks being claimed indefinitely by teams who no longer play.
# Default of 0 means no automatic loss of claims.
# Default: 0.0
# Range: 0.0 ~ 3650.0
max_idle_days_before_unclaim: 0.0d
# Maximum time (in real-world days) where if no player in a team logs in, any forceloaded chunks owned by the team are no longer forceloaded.
# Prevents chunks being forceloaded indefinitely by teams who no longer play.
# Default of 0 means no automatic loss of forceloading.
# Default: 0.0
# Range: 0.0 ~ 3650.0
max_idle_days_before_unforce: 0.0d
# Maximum time in days to keep logs of prevented fakeplayer access to a team's claims.
# Default: 7
# Range: 1 ~ 2147483647
max_prevented_log_age: 7
# Requires you to claim chunks in order to edit and interact with blocks
# Default: false
no_wilderness: false
# Dimension ID's where the no_wilderness rule is enforced - building is only allowed in claimed chunks. If this is non-empty, it overrides the 'no_wilderness' setting.
# Default: []
no_wilderness_dimensions: [ ]
# Method by which party claim & force-load limits are calculated.
# LARGEST: use the limits of the member with the largest limits
# SUM: add up all the members' limits
# OWNER: use the party owner's limits only
# AVERAGE: use the average of all members' limits.
# Default: "largest"
# Valid values: "largest", "owner", "sum", "average"
party_limit_mode: "largest"
# If true, pistons are prevented from pushing/pulling blocks across claims owned by different teams (unless the target claim has public 'edit block' permissions defined). If 'disable_protection' is set to true, this setting is ignored.
# Default: true
piston_protection: true
# When true, standard FTB Chunk explosion protection is applied in protected chunks when the source of the explosion cannot be determined
# (Ghast fireballs are a common case - vanilla supplies a null entity source)
# Default: true
protect_unknown_explosions: true
# Should PvP combat be allowed in claimed chunks? Default is ALWAYS; NEVER prevents it in all claimed chunks; PER_TEAM allows teams to decide if PvP is allowed in their claims
# Default: "always"
# Valid values: "always", "never", "per_team"
pvp_mode: "always"
# If true, the player must have the 'ftbchunks_mapping' Game stage to be able to use the map and minimap.
# Requires KubeJS and/or Gamestages to be installed.
# Default: false
require_game_stage: false
team_prop_defaults: {
# Default explosion protection for claimed chunks
# Default: false
def_allow_explosions: false
# Default mode for block breaking and placing in claimed chunks (NeoForge only)
# Default: "allies"
# Valid values: "allies", "private", "public"
def_block_edit: "allies"
# Default mode for block interaction, breaking and placing in claimed chunks (Fabric only)
# Default: "allies"
# Valid values: "allies", "private", "public"
def_block_edit_interact: "allies"
# Default mode for block interaction (right-click) in claimed chunks (NeoForge only)
# Default: "allies"
# Valid values: "allies", "private", "public"
def_block_interact: "allies"
# Default claim visibility for claimed chunks
# Default: "public"
# Valid values: "allies", "private", "public"
def_claim_visibility: "public"
# Default mode for left-clicking non-living entities (armor stands, item frames...) in claimed chunks
# Default: "allies"
# Valid values: "allies", "private", "public"
def_entity_attack: "allies"
# Default mode for entity interaction in claimed chunks
# Default: "allies"
# Valid values: "allies", "private", "public"
def_entity_interact: "allies"
# Default allow fake player IDs which are the same as real permitted players
# Default: true
def_fake_player_ids: true
# Default allow-fake-player setting for team properties
# Default: false
def_fake_players: false
# Default mob griefing protection for claimed chunks
# Default: false
def_mob_griefing: false
# Default named fake players who should be allowed by default
# Default: []
def_named_fake_players: [ ]
# Default long-range player visibility on map
# Default: "allies"
# Valid values: "allies", "private", "public"
def_player_visibility: "allies"
# Default PvP setting in claimed chunks
# Default: true
def_pvp: true
}
waypoint_sharing: {
# Allow players to share waypoints with their party.
# Default: true
waypoint_sharing_party: true
# Allow players to share waypoints with other players.
# Default: true
waypoint_sharing_players: true
# Allow players to share waypoints with the entire server.
# Default: true
waypoint_sharing_server: true
}
}