Skip to content

(26.1.2) Failed to write default config file. Illegal char <:> at index 32 #2272

@KookieKiku

Description

@KookieKiku

WorldEdit Version

7.4.3+7515-78babeb

WorldGuard Version

v7.0.16+2355-f7fded2

Platform Version

folia-26.1.2-8.jar

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using a version of WorldGuard compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

1.21.11 worked just fine, however 26.1.2 seems to have changed something with having to do with multiworld plugins like worlds, myworlds or multiverse. Default worlds work just fine with worldguard. For example when removing all multiworld plugins' worlds, worldguard loads up perfectly. Thank you to whoever is looking at this! I appreciate the help

Error occurred while enabling WorldGuard v7.0.16+2355-f7fded2 (Is it up to date?)
java.nio.file.InvalidPathException: Illegal char <:> at index 32: plugins\WorldGuard\worlds\worlds:resource\config.yml

All the steps I have tried for the past 3 hours.

  1. Loading a new world with a multiverse plugin (I used worlds https://modrinth.com/plugin/worlds-1) does cause all sorts of errors if you try to do it mid-game and crashes that world created.
  2. Launching the server without any worlds loaded other than the main three worlds does work.
  3. Going to plugins\WorldGuard\worlds\worlds:resource\config.yml and changing it to false. (Also does not matter when making that config completely blank when trying to follow the instruction that says: "if you don't put anything in this file, then the settings will be inherited from the main configuration file.")
  4. I have only tested this on Windows and I have been reading that this may not happen on linux as windows does not like ":" in folder names etc.
  5. Gone to the worlds discord and confirmed that it is a worldguard issue. Also confirmed it myself when completely removing worldguard and worlds created and loaded and played perfectly fine.
  6. Creating a fresh server with only the necessary plugins causing these issues (Worldguard, WorldEdit, Worlds)

Expected Behavior

The behavior expected is to load worlds without the config error listed above. Tested many times on a 1.21.11 server and no errors were found. Worlds loaded and unloaded just fine without any worldguard errors.

Reproduction Steps

  1. Install a multiverse plugin (https://modrinth.com/plugin/worlds-1)
  2. Install WorldGuard and WorldEdit
  3. Launch the server. It will work just fine until you do /world create anyworldname
  4. Being in that world for 5 seconds will completely overload the server and bring MSPT to the millions
  5. Close the server and relaunch. Worldguard will post the same error I posted in the bug description
  6. Uninstall worldguard or delete the custom world and things will work just fine again

Optional WorldGuard-Report

Linked below is the text document showing the errors

Anything Else?

New Text Document (2).txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:pendingPending acceptance or closure.type:bugIncorrect behavior, not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions