Skip to content

Commit

Permalink
style: reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
zlataovce committed Mar 5, 2024
1 parent 7a96b62 commit 8077c4b
Show file tree
Hide file tree
Showing 25 changed files with 1,378 additions and 1,252 deletions.
48 changes: 23 additions & 25 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
{
"image": "mcr.microsoft.com/vscode/devcontainers/base:ubuntu-20.04",
"settings": {
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[markdown]": {
"editor.wordWrap": "on"
}
},
"extensions": [
"esbenp.prettier-vscode"
],
"forwardPorts": [3000],
"postCreateCommand": ["yarn", "install"],
"waitFor": "postCreateCommand",
"features": {
"node": {
"version": "18"
}
}
"image": "mcr.microsoft.com/vscode/devcontainers/base:ubuntu-20.04",
"settings": {
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[markdown]": {
"editor.wordWrap": "on"
}
},
"extensions": ["esbenp.prettier-vscode"],
"forwardPorts": [3000],
"postCreateCommand": ["yarn", "install"],
"waitFor": "postCreateCommand",
"features": {
"node": {
"version": "18"
}
}
}
50 changes: 25 additions & 25 deletions config-specs/paper/bukkit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ aliases:
description: Static value from converting old versions to the new commands.yml format.
chunk-gc:
period-in-ticks:
default: '600'
default: "600"
description: >-
How long chunks loaded by plugins should last for. Capped by Paper to be
20 ticks (1 second).
settings:
allow-end:
default: 'true'
default: "true"
description: Whether to load end-type dimensions.
connection-throttle:
default: '4000'
default: "4000"
description: >-
How long of a delay to enforce between connections from an IP address.
Measured in milliseconds since last attempt.
Expand All @@ -37,10 +37,10 @@ settings:
File to load server permissions from. Use of this feature has mostly been
replaced by permission plugins.
plugin-profiling:
default: 'false'
description: 'This option does not operate, as it is disabled by a Paper patch.'
default: "false"
description: "This option does not operate, as it is disabled by a Paper patch."
query-plugins:
default: 'true'
default: "true"
description: Whether to send plugins in the GS4 Query protocol response.
shutdown-message:
default: Server closed
Expand All @@ -53,101 +53,101 @@ settings:
Path to replace new plugin versions with.
[See Updating Plugins](/paper/updating#step-2-update-plugins) for more information.
use-map-color-cache:
default: 'true'
default: "true"
description: >-
Whether to build and save mappings from RGB colors to the closest map
palette color.
warn-on-overload:
default: 'true'
default: "true"
description: Allows disabling the "Can't keep up!" message.
spawn-limits:
ambient:
default: '15'
default: "15"
description: >-
Set the spawn-limits for ambient mobs. This can be overridden by the
[paper-world config](/paper/reference/world-configuration#entities_spawning_spawn_limits_ambient).
animals:
default: '10'
default: "10"
description: >-
Set the spawn-limits for animals. This can be overridden by the
[paper-world config](/paper/reference/world-configuration#entities_spawning_spawn_limits_creature).
axolotls:
default: '5'
default: "5"
description: >-
Set the spawn-limits for axolotls. This can be overridden by the
[paper-world config](/paper/reference/world-configuration#entities_spawning_spawn_limits_axolotls).
monsters:
default: '70'
default: "70"
description: >-
Set the spawn-limits for monsters. This can be overridden by the
[paper-world config](/paper/reference/world-configuration#entities_spawning_spawn_limits_monster).
water-ambient:
default: '20'
default: "20"
description: >-
Set the spawn-limits for water ambient mobs. This can be overridden by the
[paper-world config](/paper/reference/world-configuration#entities_spawning_spawn_limits_water_ambient).
water-animals:
default: '5'
default: "5"
description: >-
Set the spawn-limits for water animals. This can be overridden by the
[paper-world config](/paper/reference/world-configuration#entities_spawning_spawn_limits_water_creature).
water-underground-creature:
default: '5'
default: "5"
description: >-
Set the spawn-limits for water underground creatures. This can be
overridden by the [paper-world config](/paper/reference/world-configuration#entities_spawning_spawn_limits_underground_water_creature).
ticks-per:
ambient-spawns:
default: '1'
default: "1"
description: >-
Number of ticks between each ambient mob spawn attempt. Set to -1 to use
default.
animal-spawns:
default: '400'
default: "400"
description: >-
Number of ticks between each animal spawn attempt. Set to -1 to use
default.
autosave:
default: '6000'
default: "6000"
description: >-
Number of ticks between each full auto-save. Set to -1 to disable
auto-save.
axolotl-spawns:
default: '1'
default: "1"
description: >-
Number of ticks between each axolotl spawn attempt. Set to -1 to use
default.
monster-spawns:
default: '1'
default: "1"
description: >-
Number of ticks between each monster spawn attempt. Set to -1 to use
default.
water-ambient-spawns:
default: '1'
default: "1"
description: >-
Number of ticks between each water-ambient mob spawn attempt. Set to -1 to
use default.
water-spawns:
default: '1'
default: "1"
description: >-
Number of ticks between each water-animal spawn attempt. Set to -1 to use
default.
water-underground-creature-spawns:
default: '1'
default: "1"
description: >-
Number of ticks between each water-underground-creature spawn attempt. Set
to -1 to use default.
worlds:
<world>:
biome-provider:
default: 'N/A'
default: "N/A"
description: >-
The biome provider to use for this world. Plugins must register a BiomeProvider
to be used here. The format is *plugin-name:extra-parameters* or *plugin-name*
if no extra parameters are needed. The plugin name is as defined in the
plugin.yml or paper-plugin.yml.
generator:
default: 'N/A'
default: "N/A"
description: >-
The generator to use for this world. Plugins must register a ChunkGenerator
to be used here. The format is *plugin-name:extra-parameters* or
Expand Down
8 changes: 4 additions & 4 deletions config-specs/paper/commands.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
command-block-overrides:
default: '[<command to override>]'
default: "[<command to override>]"
description: >
Which vanilla commands should be prioritized over those provided by Bukkit
or plugins. Useful for compatibility with adventure maps built for vanilla
Expand All @@ -9,11 +9,11 @@ command-block-overrides:
By default, no commands are overridden.
ignore-vanilla-permissions:
default: 'false'
default: "false"
description: Whether to use vanilla permission levels when executing commands.
aliases:
<alias name>:
default: '[<commands to run>]'
default: "[<commands to run>]"
description: >
A list of strings which are target commands. Alternatively, a string,
which is a single target command.
Expand All @@ -31,7 +31,7 @@ aliases:
Each alias registered cannot (easily) be overridden by a plugin.
icanhasbukkit:
default: '[version $1-]'
default: "[version $1-]"
description: >-
A built-in alias. Set aliases to an empty list ([]) to persistently
remove.
Loading

0 comments on commit 8077c4b

Please sign in to comment.