[Abandoned] Spongy - A Very Spongy, Essential Plugin! v0.4

Plugin is broken, I’ve gotta fix it.

2 Likes

Ah right! Good to know :smiley:

Good to know it’s acknoledged

1 Like

@Lokio27 Opened a PR fixing the issue:

Responded on Github.

Just a suggestion. The code below is a bit… insane. There isn’t any overlap in the codes, so they could be easily replaced.
original = original.replaceAll(“&4”, “§4”);
original = original.replaceAll(“&c”, “§c”);
original = original.replaceAll(“&6”, “§6”);
original = original.replaceAll(“&e”, “§e”);
original = original.replaceAll(“&2”, “§2”);
original = original.replaceAll(“&a”, “§a”);
original = original.replaceAll(“&b”, “§b”);
original = original.replaceAll(“&3”, “§3”);
original = original.replaceAll(“&1”, “§1”);
original = original.replaceAll(“&9”, “§9”);
original = original.replaceAll(“&d”, “§d”);
original = original.replaceAll(“&8”, “§8”);
original = original.replaceAll(“&5”, “§5”);
original = original.replaceAll(“&f”, “§f”);
original = original.replaceAll(“&7”, “§7”);
original = original.replaceAll(“&l”, “§l”);
original = original.replaceAll(“&n”, “§n”);
original = original.replaceAll(“&o”, “§o”);
original = original.replaceAll(“&k”, “§k”);
original = original.replaceAll(“&m”, “§m”);
original = original.replaceAll(“&r”, “§r”);
Switch to
original = original.replaceAll(“&”, “§”);

or simply …

Pattern pattern = Pattern.compile('&[0-9a-fA-Fk-oK-O]');
Matcher matcher = pattern.matcher(original);
while(matcher.find())
{
String key = matcher.group().replaceFirst("&","§");
String text = matcher.replaceFirst(key);
matcher = pattern.matcher(text);
}

I haven’t tested, but I 'm sure it works

3 Likes

That specific issue’s been fixed for a while now, byt thanks anyway.

Not sure if you’re aware or not, but the download link is broken for dev builds and stable builds. Site is 404’ing.

1 Like

Can confirm, download 404.

1 Like

It is not. Bukkit had this as well.

My webserver needs to get some files put up on it again. Thanks for reminding me.

Correction: It is non-vanilla-server specific. Happy now? :stuck_out_tongue_winking_eye:

Q_Q download 404

Read up?

1 Like

Ahh broken. Will stay tuned for updates! :smiley:

broken download sites…

Omg i wonder if i said that already.

Haha I guess everyone saying that finally got to you :wink:

how would one give an alias to some of these commands? home and homes = EssentialCmds, lower caps too, does not work, any help? it works sumtimes and other times it doesnt

1 Like