Skip to content

Make schematic command messages configurable #2556

@RedstoneFuture

Description

@RedstoneFuture

Server Implementation

Paper

Server Version

1.19.4

Describe the bug

The message fawe.worldedit.schematic.schematic.saved from strings.json is not used. The first message cannot be set.

grafik


We have 5 x TODOS in this class about message transfer.

/worldedit-core/src/main/java/com/sk89q/worldedit/command/SchematicCommands.java#L927-L929

                    TextComponent filesizeNotif = TextComponent.of( //TODO - to be moved into captions/translatablecomponents
                            SCHEMATIC_NAME + " size: " + String.format("%.1f", filesizeKb) + "kb", TextColor.GRAY);
                    actor.print(filesizeNotif);

To Reproduce

  1. //copy
  2. //schem save

Expected behaviour

Messages like the configuration.

Screenshots / Videos

No response

Error log (if applicable)

No response

Fawe Debugpaste

Fawe Version

FAWE, build 639

Checklist

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ApprovedAdded if an issue has been approved by a maintainerEnhancementNew feature or requestGood first issueSimple issue which would be a good first PR for newbies interested in contributing to the projectLow Priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions