Skip to content

Can't edit Lang files #432

@Kyles1201

Description

@Kyles1201

What happened?

Can't edit language file (??? why???), Basically I edit the language file, reload or restart the server, and the file updates with the default language file removing anything i added.

How can the bug be reproduced?

Edit a language file and start server or reload plugin and watch as the file just reverts back to what it was.

Expected Behaviour?

I expect to be able to edit the lang file like names of items in certain GUIs like cauldron, but it seems impossible.

Plugin version

wolfyutils-spigot-4.19.0.0, customcrafting-spigot-4.19.0

Server software

Paper 1.21.5

Relevant log output

3:35:11] [ForkJoinPool.commonPool-worker-13/INFO]: [Lands] There is a new version available: 7.21.3
[13:35:52] [Server thread/INFO]: [CustomCrafting] Unloading Languages...
[13:35:52] [Server thread/INFO]: [CustomCrafting] Unloading Recipes...
[13:35:52] [Server thread/INFO]: [CustomCrafting] Unloading Items...
[13:35:52] [Server thread/INFO]: [CustomCrafting] Reloading Config...
[13:35:52] [Server thread/INFO]: [CustomCrafting] Loaded fallback language "en_US" v6.1.0 translated by WolfyScript
[13:35:52] [Server thread/INFO]: [CustomCrafting] Loaded active language "en_US" v6.1.0 translated by WolfyScript
[13:35:52] [Server thread/INFO]: [CustomCrafting] Loading Recipe & Items...
[13:35:52] [Server thread/INFO]: [CustomCrafting] Loading Recipes & Items
[13:35:52] [Server thread/INFO]: [CustomCrafting] - - - - [Local Storage] - - - -
[13:35:52] [Server thread/INFO]: [CustomCrafting] [LOCAL] Using 28 threads
[13:35:52] [Server thread/INFO]: [CustomCrafting] [LOCAL] Looking through data folder...
[13:35:52] [Server thread/INFO]: [CustomCrafting] [LOCAL] Loading Items
[13:35:52] [Server thread/INFO]: [CustomCrafting] [LOCAL] Loading Recipes
[13:35:52] [Server thread/INFO]: [CustomCrafting] [LOCAL] Loaded 23 recipes in 10ms
[13:35:52] [Server thread/INFO]: [CustomCrafting] Indexing Recipe Book...
[13:35:52] [Server thread/INFO]: [CustomCrafting] Indexed Recipe Book!
[13:35:52] [Server thread/INFO]: [CustomCrafting] Reloading GUIs
[13:35:53] [Server thread/INFO]: [CustomCrafting] Reload done!
[13:36:05] [Server thread/INFO]: [CustomCrafting] Unloading Languages...
[13:36:05] [Server thread/INFO]: [CustomCrafting] Unloading Recipes...
[13:36:05] [Server thread/INFO]: [CustomCrafting] Unloading Items...
[13:36:05] [Server thread/INFO]: [CustomCrafting] Reloading Config...
[13:36:05] [Server thread/INFO]: [CustomCrafting] Loaded fallback language "en_US" v6.1.0 translated by WolfyScript
[13:36:05] [Server thread/INFO]: [CustomCrafting] Loaded active language "en_US" v6.1.0 translated by WolfyScript
[13:36:05] [Server thread/INFO]: [CustomCrafting] Loading Recipe & Items...
[13:36:05] [Server thread/INFO]: [CustomCrafting] Loading Recipes & Items
[13:36:05] [Server thread/INFO]: [CustomCrafting] - - - - [Local Storage] - - - -
[13:36:05] [Server thread/INFO]: [CustomCrafting] [LOCAL] Using 28 threads
[13:36:05] [Server thread/INFO]: [CustomCrafting] [LOCAL] Looking through data folder...
[13:36:05] [Server thread/INFO]: [CustomCrafting] [LOCAL] Loading Items
[13:36:05] [Server thread/INFO]: [CustomCrafting] [LOCAL] Loading Recipes
[13:36:05] [Server thread/INFO]: [CustomCrafting] [LOCAL] Loaded 23 recipes in 11ms
[13:36:05] [Server thread/INFO]: [CustomCrafting] Indexing Recipe Book...
[13:36:05] [Server thread/INFO]: [CustomCrafting] Indexed Recipe Book!
[13:36:05] [Server thread/INFO]: [CustomCrafting] Reloading GUIs
[13:36:05] [Server thread/INFO]: [CustomCrafting] Reload done!

im trying to edit this section

    "cauldron": {
      "cauldron": {
        "default_title": "<dark_grey>Cauldron</dark_grey>",
        "gui_name": "<title>",
        "items": {
          "start": {
            "enabled": {
              "name": "<green><b>Start Cooking</b></green>"
            },
            "disabled": {
              "name": "<red><b>Cannot be Cooked</b></red>",
              "lore": [
                "<grey>Invalid Recipe or Requirements!",
                "",
                "<yellow>Check Requirements:",
                "<grey>- <gold>Liquid <grey>(<blue>Water</blue>/<red>Lava</red>)</grey>",
                "<grey>- <gold>Campfire</gold> <grey>(<aqua>Soul</aqua>/<yellow>Normal</yellow>)</grey>",
                "<grey>- <gold>Signal Fire <grey>(Hay Bale)</grey>"
              ]
            }
          },
          "indicator":{
            "water": {
              "name": "<blue><level></blue>"
            },
            "lava": {
              "name": "<gold><level></gold>"
            }
          },
          "signal_fire": {
            "name": "<gold>Signal Fire</gold>"

Submit issue

  • read the Wiki and especially the FaQ, and made sure there is no fix to your issue,
  • searched for and ensured there isn't already an open issue regarding this,
  • are running the latest version of your server software (Spigot, Paper, etc.), and plugins (WolfyUtilities, CustomCrafting).

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions