Initial server configuration
This commit is contained in:
@@ -0,0 +1,120 @@
|
||||
# CoordinateOffset v4.0.6 Configuration
|
||||
# See https://github.com/joshuaprince/CoordinateOffset/wiki/Configuration-Guide
|
||||
|
||||
# Specify the method by which coordinate offsets will be calculated.
|
||||
# Options are any key under `offsetProviders` below (e.g. constant, random...)
|
||||
defaultOffsetProvider: constant
|
||||
|
||||
# List of overrides to the default offset provider. The first item has the
|
||||
# highest priority. `provider` is a required key; optional keys are
|
||||
# `world`, `playerUuid`, and `permission` which, if present, must ALL match
|
||||
# for the override to apply.
|
||||
offsetProviderOverrides:
|
||||
# - provider: constant
|
||||
# world: world
|
||||
# permission: coordinateoffset.provider.my_custom_permission
|
||||
# - provider: zeroAtLocation
|
||||
# playerUuid: 00000000-0000-0000-0000-000000000000
|
||||
|
||||
|
||||
offsetProviders:
|
||||
constant:
|
||||
# The "constant" offset provider class applies a specific offset.
|
||||
# X and Z values MUST be divisible by 16 to align with chunk boundaries!
|
||||
class: ConstantOffsetProvider
|
||||
offsetX: 0
|
||||
offsetZ: 16384
|
||||
|
||||
# The constant offset can be multiplied by a constant factor in specific
|
||||
# worlds so that portal travel lines up. Make sure that the constant
|
||||
# offsets multiplied by these values still result in a multiple of 16.
|
||||
worldScaling:
|
||||
world_nether: 0.125
|
||||
|
||||
|
||||
disabled:
|
||||
# A constant offset of 0 will disable coordinate obfuscation and allow
|
||||
# players to see their real coordinates.
|
||||
class: ConstantOffsetProvider
|
||||
offsetX: 0
|
||||
offsetZ: 0
|
||||
|
||||
|
||||
random:
|
||||
# The "random" offset provider class generates a random offset for each
|
||||
# player.
|
||||
class: RandomOffsetProvider
|
||||
|
||||
# These events will trigger the offset to re-roll if enabled.
|
||||
resetOnDeath: false
|
||||
resetOnWorldChange: false
|
||||
|
||||
# Offsets can be saved to each player's NBT data and reused across joins
|
||||
# and server restarts.
|
||||
persistent: false
|
||||
persistenceKey: default
|
||||
|
||||
# Maximum possible offset
|
||||
randomBound: 100000
|
||||
|
||||
# Aligned worlds will use the same offset, optionally with a scale factor.
|
||||
# For example, `world:world_nether:8` would match Vanilla portal
|
||||
# scaling, so each player's Nether offset is 1/8th their Overworld
|
||||
# offset and portal linking math still works.
|
||||
# Note: This ONLY works if `resetOnWorldChange` is false!
|
||||
worldAlignment:
|
||||
- world:world_nether:8
|
||||
|
||||
|
||||
zeroAtLocation:
|
||||
# The "zero at location" offset provider class generates an offset equal
|
||||
# to the player's coordinates, so they will see themselves at roughly
|
||||
# (0, 0) every time their offset changes.
|
||||
class: ZeroAtLocationOffsetProvider
|
||||
|
||||
# These events will set the offset to the player's location (and therefore
|
||||
# "zero out" the player) if enabled.
|
||||
resetOnDeath: false
|
||||
resetOnWorldChange: false
|
||||
|
||||
# Aligned worlds will use the same offset, optionally with a scale factor.
|
||||
# For example, `world:world_nether:8` would match Vanilla portal
|
||||
# scaling, so each player's Nether offset is 1/8th their Overworld
|
||||
# offset and portal linking math still works.
|
||||
# Note: This ONLY works if `resetOnWorldChange` is false!
|
||||
worldAlignment:
|
||||
- world:world_nether:8
|
||||
|
||||
# Add custom offset modes here. For example:
|
||||
# myCustomOffsetMode:
|
||||
# provider: constant
|
||||
# offsetX: -16000
|
||||
# offsetZ: 16000
|
||||
|
||||
|
||||
# Coordinates are used to determine how to shift these blocks slightly. That
|
||||
# means that if the client and server disagree about coordinates, they also
|
||||
# disagree about how to shift these blocks, so movement is glitchy near these
|
||||
# blocks. These settings completely disable collisions for these blocks.
|
||||
# More info: https://github.com/joshuaprince/CoordinateOffset/issues/8
|
||||
# Note: Requires a server restart for changes to take effect.
|
||||
fixCollision:
|
||||
bamboo: true
|
||||
dripstone: true
|
||||
|
||||
# If true, players with the `coordinateoffset.bypass` permission will bypass
|
||||
# all providers and see their real coordinates.
|
||||
bypassByPermission: true
|
||||
|
||||
# Wait for players to be near the world border to send border packets.
|
||||
# Disabling this fixes moving borders, but may leak coordinates - see
|
||||
# https://github.com/joshuaprince/CoordinateOffset/wiki/Implications-and-Limitations#world-border
|
||||
obfuscateWorldBorder: true
|
||||
|
||||
# Enable a log message when a player's offset changes.
|
||||
verbose: false
|
||||
|
||||
# Enable additional logging when errors occur in the plugin.
|
||||
debug:
|
||||
enable: false
|
||||
packetHistorySize: 8
|
||||
@@ -0,0 +1,94 @@
|
||||
# CoordinateOffset Configuration File
|
||||
# https://github.com/joshuaprince/CoordinateOffset/wiki/Configuration-Guide
|
||||
# Comments left in this file will be deleted when configuration is loaded.
|
||||
|
||||
# Do not change this.
|
||||
configVersion: 6
|
||||
|
||||
# ############################################################################ #
|
||||
# ################### General CoordinateOffset Configuration ################# #
|
||||
# ############################################################################ #
|
||||
|
||||
# If true, players with the `coordinateoffset.bypass` permission will always
|
||||
# see their real coordinates (no offsets). Disable this to test the plugin.
|
||||
bypassByPermission: true
|
||||
|
||||
# Disable server-side collision checks for the listed blocks.
|
||||
# If collision checks are left enabled, movement near these blocks will be
|
||||
# extremely glitchy for all players with an offset applied.
|
||||
# More info: https://github.com/joshuaprince/CoordinateOffset/issues/8
|
||||
# Note: Requires a server restart for changes to take effect.
|
||||
fixCollision:
|
||||
bamboo: true
|
||||
dripstone: true
|
||||
|
||||
# Don't send world border packets to players who are far from the world border.
|
||||
# Disable if your world border moves, but beware that it may leak coordinates:
|
||||
# https://github.com/joshuaprince/CoordinateOffset/wiki/Implications-and-Limitations#world-border
|
||||
obfuscateWorldBorder: true
|
||||
|
||||
# Don't send any "debug" packets to players with an applied offset.
|
||||
# Debug information reveals real coordinates if this is disabled.
|
||||
# More info: https://minecraft.wiki/w/Debug_property
|
||||
obfuscateDebugPropertySubscriptions: true
|
||||
|
||||
# Round generated offsets to the nearest multiple of this number of blocks.
|
||||
# Must be at least 16 and a power of 2 (16, 32, 64, 128, etc.).
|
||||
# "auto" selects the lowest value compatible with other installed plugins,
|
||||
# e.g. the Distant Horizons plugin requires 64+ for offsets to be compatible.
|
||||
offsetsAreMultiplesOfBlocks: auto
|
||||
|
||||
# Enable a log message when a player's offset changes.
|
||||
verbose: false
|
||||
|
||||
# ############################################################################ #
|
||||
# ####################### Offset Provider Configuration ###################### #
|
||||
# ############################################################################ #
|
||||
|
||||
# Specify the method used to apply coordinate offsets to players.
|
||||
# Options are any key under `offsetProviders` below (e.g. constant, random...)
|
||||
defaultOffsetProvider: constant
|
||||
|
||||
# List of overrides to the default offset provider. The first item has the
|
||||
# highest priority. `provider` is a required key. Optional keys are
|
||||
# `world`, `player`, and `permission` which, if present, must ALL match
|
||||
# for the override to apply.
|
||||
offsetProviderOverrides:
|
||||
- provider: disabled
|
||||
world: world_the_end
|
||||
- provider: nether
|
||||
world: world_the_nether
|
||||
|
||||
# Configuration for all available offset providers. Each provider must have a
|
||||
# unique key (e.g. "constant"), which is used in `defaultOffsetProvider` and
|
||||
# `offsetProviderOverrides`. You may add your own keys to define as many
|
||||
# providers as you need.
|
||||
# See the configuration guide for details about which options are available for
|
||||
# each provider class.
|
||||
# https://github.com/joshuaprince/CoordinateOffset/wiki/Configuration-Guide
|
||||
offsetProviders:
|
||||
constant:
|
||||
class: ConstantOffsetProvider
|
||||
offsetX: 0
|
||||
offsetZ: 16384
|
||||
nether:
|
||||
class: ConstantOffsetProvider
|
||||
offsetX: 0
|
||||
offsetZ: 2048
|
||||
disabled:
|
||||
class: ConstantOffsetProvider
|
||||
offsetX: 0
|
||||
offsetZ: 0
|
||||
random:
|
||||
class: RandomOffsetProvider
|
||||
randomBound: 100000
|
||||
regenerateOnJoin: true
|
||||
regenerateOnDeath: false
|
||||
regenerateOnWorldChange: false
|
||||
regenerateOnTeleport: false
|
||||
zeroAtLocation:
|
||||
class: ZeroAtLocationOffsetProvider
|
||||
regenerateOnJoin: true
|
||||
regenerateOnDeath: false
|
||||
regenerateOnWorldChange: false
|
||||
regenerateOnTeleport: false
|
||||
@@ -0,0 +1,64 @@
|
||||
# CoordinateOffset Language/Messages File
|
||||
# Formatting help: https://webui.advntr.dev/
|
||||
# Set a message to an empty string '' to disable it.
|
||||
# Comments and extra keys left in this file will be deleted when configuration is loaded.
|
||||
|
||||
prefix: '<dark_aqua>[<#33A14F><hover:show_text:''<#33A14F>CoordinateOffset''>CO</hover></#33A14F>]</dark_aqua> '
|
||||
|
||||
query:
|
||||
self:
|
||||
offset: '<gray>Your coordinate offset is: <dark_aqua>[x=<yellow><x></yellow>,
|
||||
z=<yellow><z></yellow>]'
|
||||
coordinates: '<gray>Your real coordinates are: <light_purple>[x=<gold><x></gold>,
|
||||
y=<gold><y></gold>, z=<gold><z></gold>]'
|
||||
other:
|
||||
offset: '<gray><#18a9ff><target></#18a9ff>''s coordinate offset is: <dark_aqua>[x=<yellow><x></yellow>,
|
||||
z=<yellow><z></yellow>]'
|
||||
coordinates: '<gray><#18a9ff><target></#18a9ff>''s real coordinates are: <light_purple>[x=<gold><x></gold>,
|
||||
y=<gold><y></gold>, z=<gold><z></gold>]'
|
||||
self_no_offset:
|
||||
offset: <gray>You have no coordinate offset applied.
|
||||
coordinates: <gray>The coordinates you see are the real coordinates of the world.
|
||||
verbose:
|
||||
# Verbose messages are only displayed with permission coordinateoffset.query.verbose
|
||||
zero_by_permission: <gray>No active offset due to permission bypass.
|
||||
zero_by_bedrock: <gray>Coordinate offsets are not supported for Bedrock players.
|
||||
generated_by_provider_default: <gray>This offset was generated by provider "<green><provider></green>",
|
||||
the default offset provider.
|
||||
generated_by_provider_override: '<gray>This offset was generated by provider "<green><provider></green>"
|
||||
as part of offset provider override rule #<rule_number>.'
|
||||
generated_by_command: <gray>This offset was set by a command sent by <#18a9ff><sender></#18a9ff>.
|
||||
generated_by_plugin: <gray>This offset was set by an external plugin.
|
||||
|
||||
regenerate:
|
||||
success_single: <gray>Regenerated coordinate offset for <#18a9ff><target></#18a9ff>.
|
||||
success_multiple: <gray>Regenerated coordinate offsets for <#18a9ff><hover:show_text:'<#18a9ff><targets>'><count>
|
||||
players</hover></#18a9ff>.
|
||||
unchanged: <#CAD19F>Coordinate offset unchanged for <#18a9ff><target></#18a9ff>.
|
||||
unchanged_permission: <#CAD19F>Coordinate offset unchanged for <#18a9ff><target></#18a9ff>
|
||||
(player has permission to bypass offsets).
|
||||
unchanged_bedrock: <#F09090>Coordinate offset unchanged for <#18a9ff><target></#18a9ff>
|
||||
(offsets are not supported for Bedrock players).
|
||||
|
||||
set:
|
||||
success_single: <gray>Set coordinate offset for <#18a9ff><target></#18a9ff> to <dark_aqua>[x=<yellow><x></yellow>,
|
||||
z=<yellow><z></yellow>]</dark_aqua>.
|
||||
success_multiple: <gray>Set coordinate offset for <#18a9ff><hover:show_text:'<#18a9ff><targets>'><count>
|
||||
players</hover></#18a9ff> to <dark_aqua>[x=<yellow><x></yellow>, z=<yellow><z></yellow>]</dark_aqua>.
|
||||
warning_not_persistent_by_permission: '<#CAD19F>Warning: offset for <#18a9ff><target></#18a9ff>
|
||||
is not persistent (player has offset bypass permission).'
|
||||
warning_not_persistent_by_provider: '<#CAD19F>Warning: offset for <#18a9ff><target></#18a9ff>
|
||||
is not persistent (offset provider "<provider>" does not store offsets).'
|
||||
warning_not_multiple_of16: <#CAD19F>Offset components will be rounded to the nearest
|
||||
multiple of 16.
|
||||
warning_coordinate_scaling: <#CAD19F>Offset for <#18a9ff><target></#18a9ff> will
|
||||
be scaled down by <gold><scaling></gold> to match the coordinate scale of world
|
||||
<#33A14F><world></#33A14F>.
|
||||
unchanged: <#CAD19F>Coordinate offset unchanged for <#18a9ff><target></#18a9ff>.
|
||||
unchanged_bedrock: <#F09090>Coordinate offset unchanged for <#18a9ff><target></#18a9ff>
|
||||
(offsets are not supported for Bedrock players).
|
||||
|
||||
reload:
|
||||
success: <green>CoordinateOffset configuration reloaded from file.
|
||||
fail: <red>Failed to reload CoordinateOffset configuration from file. Check the
|
||||
console for details.
|
||||
Reference in New Issue
Block a user