1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-03-28 17:27:20 +01:00

Move logging patches after adventure

This commit is contained in:
Jason Penilla 2024-04-23 11:21:16 -07:00
parent f2c45ed1d3
commit 00c14f2e7b
No known key found for this signature in database
GPG key ID: 0E75A301420E48F8
1050 changed files with 36 additions and 0 deletions
main.py
patches/unapplied/server
0011-Use-TerminalConsoleAppender-for-console-improvements.patch0012-Handle-plugin-prefixes-using-Log4J-configuration.patch0013-Improve-Log4J-Configuration-Plugin-Loggers.patch0014-Use-AsyncAppender-to-keep-logging-IO-off-main-thread.patch0015-Deobfuscate-stacktraces-in-log-messages-crash-report.patch0016-Rewrite-LogEvents-to-contain-the-source-jars-in-stac.patch0017-Paper-command.patch0018-Paper-Metrics.patch0019-Paper-Plugins.patch0024-Timings-v2.patch0025-Add-TickThread.patch0026-Further-improve-server-tick-loop.patch0027-Add-command-line-option-to-load-extra-plugin-jars-no.patch0028-Support-components-in-ItemMeta.patch0029-Configurable-cactus-bamboo-and-reed-growth-height.patch0030-Configurable-baby-zombie-movement-speed.patch0031-Configurable-fishing-time-ranges.patch0032-Allow-nerfed-mobs-to-jump.patch0033-Add-configurable-entity-despawn-distances.patch0034-Allow-for-toggling-of-spawn-chunks.patch0035-Drop-falling-block-and-tnt-entities-at-the-specified.patch0036-Show-Paper-in-client-crashes-server-lists-and-Mojang.patch0037-Implement-Paper-VersionChecker.patch0038-Add-version-history-to-version-command.patch0039-Player-affects-spawning-API.patch0040-Only-refresh-abilities-if-needed.patch0041-fix-ItemMeta-removing-CustomModelData.patch0042-Entity-Origin-API.patch0043-Prevent-block-entity-and-entity-crashes.patch0044-Configurable-top-of-nether-void-damage.patch0045-Check-online-mode-before-converting-and-renaming-pla.patch0046-Add-more-entities-to-activation-range-ignore-list.patch0047-Configurable-end-credits.patch0048-Fix-lag-from-explosions-processing-dead-entities.patch0049-Optimize-explosions.patch0050-Disable-explosion-knockback.patch0051-Disable-thunder.patch0052-Disable-ice-and-snow.patch0053-Configurable-mob-spawner-tick-rate.patch0054-Implement-PlayerLocaleChangeEvent.patch0055-Add-BeaconEffectEvent.patch0056-Configurable-container-update-tick-rate.patch0057-Use-UserCache-for-player-heads.patch0058-Disable-spigot-tick-limiters.patch0059-Add-PlayerInitialSpawnEvent.patch0060-Configurable-Disabling-Cat-Chest-Detection.patch0061-Improve-Player-chat-API-handling.patch0062-All-chunks-are-slime-spawn-chunks-toggle.patch0063-Expose-server-CommandMap.patch0064-Be-a-bit-more-informative-in-maxHealth-exception.patch0065-Player-Tab-List-and-Title-APIs.patch0066-Add-configurable-portal-search-radius.patch0067-Add-velocity-warnings.patch0068-Configurable-inter-world-teleportation-safety.patch0069-Add-exception-reporting-event.patch0070-Disable-Scoreboards-for-non-players-by-default.patch0071-Add-methods-for-working-with-arrows-stuck-in-living-.patch0072-Chunk-Save-Reattempt.patch0073-Complete-resource-pack-API.patch0074-Default-loading-permissions.yml-before-plugins.patch0075-Allow-Reloading-of-Custom-Permissions.patch0076-Remove-Metadata-on-reload.patch0077-Handle-Item-Meta-Inconsistencies.patch0078-Configurable-Non-Player-Arrow-Despawn-Rate.patch0079-Add-World-Util-Methods.patch0080-Custom-replacement-for-eaten-items.patch0081-handle-NaN-health-absorb-values-and-repair-bad-data.patch0082-Use-a-Shared-Random-for-Entities.patch0083-Configurable-spawn-chances-for-skeleton-horses.patch0084-Only-process-BlockPhysicsEvent-if-a-plugin-has-a-lis.patch0085-Entity-AddTo-RemoveFrom-World-Events.patch0086-Configurable-Chunk-Inhabited-Time.patch0087-EntityPathfindEvent.patch0088-Sanitise-RegionFileCache-and-make-configurable.patch0089-Do-not-load-chunks-for-Pathfinding.patch0090-Add-PlayerUseUnknownEntityEvent.patch0091-Configurable-random-tick-rates-for-blocks.patch0092-Fix-Cancelling-BlockPlaceEvent-triggering-physics.patch0093-Optimize-DataBits.patch0094-Option-to-use-vanilla-per-world-scoreboard-coloring-.patch0095-Configurable-Player-Collision.patch0096-Add-handshake-event-to-allow-plugins-to-handle-clien.patch0097-Configurable-RCON-IP-address.patch0098-EntityRegainHealthEvent-isFastRegen-API.patch0099-Add-ability-to-configure-frosted_ice-properties.patch0100-remove-null-possibility-for-getServer-singleton.patch0101-Don-t-save-empty-scoreboard-teams-to-scoreboard.dat.patch0102-LootTable-API-and-replenishable-lootables.patch0103-System-property-for-disabling-watchdoge.patch0104-Async-GameProfileCache-saving.patch0105-Optional-TNT-doesn-t-move-in-water.patch0106-Faster-redstone-torch-rapid-clock-removal.patch0107-Add-server-name-parameter.patch0108-Fix-global-sound-handling.patch0109-Avoid-blocking-on-Network-Manager-creation.patch0110-Don-t-lookup-game-profiles-that-have-no-UUID-and-no-.patch0111-Add-setting-for-proxy-online-mode-status.patch0112-Optimise-BlockState-s-hashCode-equals.patch0113-Configurable-packet-in-spam-threshold.patch

36
main.py Normal file
View file

@ -0,0 +1,36 @@
import os
import re
# Set the directory where the files are located
dir_path = '/Users/jason/IdeaProjects/PaperMC/Paper/patches/unapplied/server'
# Change to the directory
os.chdir(dir_path)
# Regex pattern to match the file names
pattern = r'^(\d+)-(.*\.patch)$'
# List of files in the directory
files = os.listdir(dir_path)
# Sort the files numerically
files.sort(key=lambda x: int(re.match(pattern, x).group(1)))
for file in files:
# Match the file name against the pattern
match = re.match(pattern, file)
if match:
# Extract the current number and description
current_number = int(match.group(1))
description = match.group(2)
# Calculate the new number
new_number = current_number + 4
# Construct the new file name
new_file_name = f'{str(new_number).zfill(4)}-{description}'
# Rename the file
os.rename(file, new_file_name)
print('Files renamed successfully.')

Some files were not shown because too many files have changed in this diff Show more