Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Error: \<dark_red>A warp with a similar name already exists." #5932

Closed
melaniebeedot opened this issue Sep 8, 2024 · 1 comment · Fixed by #5934
Closed

"Error: \<dark_red>A warp with a similar name already exists." #5932

melaniebeedot opened this issue Sep 8, 2024 · 1 comment · Fixed by #5934
Labels
type: problem Problems that are not strictly bugs.
Milestone

Comments

@melaniebeedot
Copy link

Type of bug

Performance issue or memory leak

/ess dump all output

https://essentialsx.net/dump.html?id=4c132d40e3d848089639e9d7ab26c84b

Error log (if applicable)

No response

Bug description

When trying to /setwarp $5, I get the error "Error: <dark_red>A warp with a similar name already exists."

The color code is showing, but my main concern is that I can't set the warp. Many of our warp names are similar, so I'm not sure why this one is an issue?

2024-09-07_12 32 50

Here's the start of our /warps list to show what similar warp names it may be referring to.

2024-09-07_12 33 38

Steps to reproduce

  1. Have the latest EssentialsX and Paper .jars installed
  2. Run /setwarp $5

Expected behaviour

The warp is set.

Actual behaviour

The warp doesn't set, "Error: <dark_red>A warp with a similar name already exists." results.

Additional Information

No response

@melaniebeedot melaniebeedot added the bug: unconfirmed Potential bugs that need replicating to verify. label Sep 8, 2024
@Evidentsinger14
Copy link
Member

This is kind of a weird situation. it's not a bug, as it's functioning exactly as intended but at the same time it is.
all special characters are replaced with _. if you look in your /plugins/Essentials/warps directory, you'll see _.yml, _HIT.yml and so on. the $ is being replaced with _ but you already have .5 so they're trying to claim the same file name.

#1742 is a similar problem, except it's for homes, rather than warps.
I'm going to leave open for now as it is a problem

@Evidentsinger14 Evidentsinger14 added type: problem Problems that are not strictly bugs. and removed bug: unconfirmed Potential bugs that need replicating to verify. labels Sep 8, 2024
@JRoy JRoy mentioned this issue Sep 14, 2024
@mdcfe mdcfe added this to the 2.21.0 milestone Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: problem Problems that are not strictly bugs.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants