mirror of
https://github.com/NEZNAMY/TAB.git
synced 2026-11-13 12:42:06 -05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6f2b92e044 | ||
|
|
5da16e8055 | ||
|
|
a522ea9902 | ||
|
|
36801184a5 | ||
|
|
d212eb108d | ||
|
|
cbc1de0f33 |
No files matched your search
@@ -1 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="92" height="20" role="img" aria-label="Release: 5.2.2"><title>Release: 5.2.2</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="92" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="53" height="20" fill="#555"/><rect x="53" width="39" height="20" fill="#007ec6"/><rect width="92" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="275" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="430">Release</text><text x="275" y="140" transform="scale(.1)" fill="#fff" textLength="430">Release</text><text aria-hidden="true" x="715" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="290">5.2.2</text><text x="715" y="140" transform="scale(.1)" fill="#fff" textLength="290">5.2.2</text></g></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="92" height="20" role="img" aria-label="Release: 5.2.3"><title>Release: 5.2.3</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="92" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="53" height="20" fill="#555"/><rect x="53" width="39" height="20" fill="#007ec6"/><rect width="92" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="275" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="430">Release</text><text x="275" y="140" transform="scale(.1)" fill="#fff" textLength="430">Release</text><text aria-hidden="true" x="715" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="290">5.2.3</text><text x="715" y="140" transform="scale(.1)" fill="#fff" textLength="290">5.2.3</text></g></svg>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -274,7 +274,7 @@ if __name__ == "__main__":
|
||||
]
|
||||
)
|
||||
|
||||
release = "5.2.2"
|
||||
release = "5.2.3"
|
||||
download_image(f"https://img.shields.io/badge/Release-{release}-blue.svg", "Badge_Release.svg")
|
||||
|
||||
minecraft = "1.5 - 1.21.6".replace(" ", "%20").replace("-", "--")
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ plugins {
|
||||
|
||||
allprojects {
|
||||
group = "me.neznamy"
|
||||
version = "5.2.3"
|
||||
version = "5.2.4"
|
||||
description = "An all-in-one solution that works"
|
||||
|
||||
ext.set("id", "tab")
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ import org.bukkit.craftbukkit.entity.CraftPlayer;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* Implementation provider using direct Mojang-mapped NMS code for versions 1.21.4 - 1.21.6.
|
||||
* Implementation provider using direct Mojang-mapped NMS code for versions 1.21.4 - 1.21.7.
|
||||
*/
|
||||
@Getter
|
||||
public class PaperImplementationProvider implements ImplementationProvider {
|
||||
|
||||
+1
-1
@@ -168,6 +168,6 @@ public class PaperPacketScoreboard extends SafeScoreboard<BukkitTabPlayer> {
|
||||
* Packet to send
|
||||
*/
|
||||
private void sendPacket(@NotNull Packet<?> packet) {
|
||||
((CraftPlayer)player.getPlayer()).getHandle().connection.sendPacket(packet);
|
||||
((CraftPlayer)player.getPlayer()).getHandle().connection.send(packet);
|
||||
}
|
||||
}
|
||||
@@ -155,7 +155,7 @@ public class BukkitPlatform implements BackendPlatform {
|
||||
}
|
||||
Bukkit.getConsoleSender().sendMessage("§c[TAB] Please use " +
|
||||
"a plugin version with full support for your server version for optimal experience. This plugin version " +
|
||||
"has full support for 1.8.8, 1.12.x, 1.16.5, 1.17.x, 1.18.2 and 1.19.1 - 1.21.6.");
|
||||
"has full support for 1.8.8, 1.12.x, 1.16.5, 1.17.x, 1.18.2 and 1.19.1 - 1.21.7.");
|
||||
}
|
||||
return new BukkitImplementationProvider();
|
||||
}
|
||||
@@ -183,6 +183,7 @@ public class BukkitPlatform implements BackendPlatform {
|
||||
case V1_21_4:
|
||||
case V1_21_5:
|
||||
case V1_21_6:
|
||||
case V1_21_7:
|
||||
return "1_21_4";
|
||||
default:
|
||||
return null;
|
||||
|
||||
@@ -6,11 +6,8 @@ api-version: 1.13 # Defining to avoid legacy plugin warn
|
||||
load: POSTWORLD
|
||||
author: @author@
|
||||
website: "@website@"
|
||||
depend: []
|
||||
softdepend: [PlaceholderAPI, LuckPerms, LibsDisguises, ViaVersion, ViaRewind, floodgate, Vault]
|
||||
loadbefore: []
|
||||
prefix: TAB
|
||||
libraries: []
|
||||
folia-supported: true
|
||||
commands:
|
||||
tab:
|
||||
|
||||
@@ -11,10 +11,11 @@ repositories {
|
||||
maven("https://maven.nucleoid.xyz/")
|
||||
}
|
||||
|
||||
val minecraftVersion = "1.21.6"
|
||||
val minecraftVersion = "1.21.7"
|
||||
|
||||
// Fabric API versions for each Minecraft version for easier backporting
|
||||
val fabricApiVersions = mapOf(
|
||||
"1.21.7" to "0.128.1+1.21.7",
|
||||
"1.21.6" to "0.125.1+1.21.6",
|
||||
"1.21.5" to "0.119.9+1.21.5",
|
||||
"1.21.4" to "0.119.2+1.21.4",
|
||||
|
||||
@@ -14,7 +14,8 @@
|
||||
"fabric-api-base": "*",
|
||||
"java": ">=17",
|
||||
"minecraft": [
|
||||
"1.21.6"
|
||||
"1.21.6",
|
||||
"1.21.7"
|
||||
]
|
||||
},
|
||||
"recommends": {
|
||||
|
||||
@@ -12,10 +12,12 @@ repositories {
|
||||
maven("https://maven.neoforged.net/releases")
|
||||
}
|
||||
|
||||
val minecraftVersion = "1.21.6"
|
||||
val minecraftVersion = "1.21.7"
|
||||
|
||||
// Forge API versions for each Minecraft version for easier backporting
|
||||
// Official website (for updating in the future): https://files.minecraftforge.net/net/minecraftforge/forge/
|
||||
val forgeApiVersions = mapOf(
|
||||
"1.21.7" to "1.21.7-57.0.0",
|
||||
"1.21.6" to "1.21.6-56.0.0",
|
||||
"1.21.5" to "1.21.5-55.0.3",
|
||||
"1.21.4" to "1.21.4-54.1.3",
|
||||
|
||||
@@ -22,6 +22,6 @@ side = "SERVER"
|
||||
[[dependencies.tab]]
|
||||
modId = "minecraft"
|
||||
mandatory = true
|
||||
versionRange = "[1.21.6]"
|
||||
versionRange = "[1.21.6],[1.21.7]"
|
||||
ordering = "NONE"
|
||||
side = "SERVER"
|
||||
@@ -12,10 +12,12 @@ repositories {
|
||||
maven("https://maven.neoforged.net/releases")
|
||||
}
|
||||
|
||||
val minecraftVersion = "1.21.6"
|
||||
val minecraftVersion = "1.21.7"
|
||||
|
||||
// NeoForge API versions for each Minecraft version for easier backporting
|
||||
// Official website (for updating in the future): https://projects.neoforged.net/neoforged/neoforge
|
||||
val neoforgeApiVersions = mapOf(
|
||||
"1.21.7" to "21.7.1-beta",
|
||||
"1.21.6" to "21.6.5-beta",
|
||||
"1.21.5" to "21.5.77",
|
||||
"1.21.4" to "21.4.138",
|
||||
|
||||
@@ -21,6 +21,6 @@ side = "SERVER"
|
||||
[[dependencies.tab]]
|
||||
modId = "minecraft"
|
||||
type = "required"
|
||||
versionRange = "[1.21.6]"
|
||||
versionRange = "[1.21.6],[1.21.7]"
|
||||
ordering = "NONE"
|
||||
side = "SERVER"
|
||||
@@ -11,6 +11,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
public enum ProtocolVersion {
|
||||
|
||||
UNKNOWN,
|
||||
V1_21_7 (772),
|
||||
V1_21_6 (771),
|
||||
V1_21_5 (770),
|
||||
V1_21_4 (769),
|
||||
|
||||
@@ -77,8 +77,14 @@ public abstract class ProxySupport extends TabFeature implements JoinListener, Q
|
||||
TAB.getInstance().getErrorManager().unknownProxyMessage(action);
|
||||
return;
|
||||
}
|
||||
ProxyMessage proxyMessage = function.apply(in);
|
||||
TAB.getInstance().debug("[Proxy Support] Decoded message " + proxyMessage);
|
||||
ProxyMessage proxyMessage;
|
||||
try {
|
||||
proxyMessage = function.apply(in);
|
||||
TAB.getInstance().debug("[Proxy Support] Decoded message " + proxyMessage);
|
||||
} catch (Exception e) {
|
||||
TAB.getInstance().getErrorManager().printError("Failed to decode proxy message \"" + new String(Base64.getDecoder().decode(msg)) + "\" ", e);
|
||||
return;
|
||||
}
|
||||
|
||||
// Queue the task to make sure it does not execute before plugin fully loads, causing NPE
|
||||
TAB.getInstance().getCpu().runMeasuredTask(getFeatureName(), CpuUsageCategory.PROXY_MESSAGE, () -> {
|
||||
|
||||
Reference in new issue
Block a user