Skip to content

Commit

Permalink
2.5.6
Browse files Browse the repository at this point in the history
BUG UPDATE
  • Loading branch information
smell-of-curry committed Nov 28, 2022
1 parent 5c638f6 commit d8665ce
Show file tree
Hide file tree
Showing 39 changed files with 48 additions and 44 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Rubedo Version 2.5.5-beta
# Rubedo Version 2.5.6-beta

Welcome to Rubedo, an anti-cheat designed to protect your world from cheaters. Rubedo is designed to be smarter than cheaters by giving users access to advanced tools to protect
their world from hacked items, nuker, crashes, griefing, and so much more. Rubedo makes it possible to protect permissions and manage performance with the click of a button!
Expand Down
6 changes: 3 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@
"description": "pack.description",
"min_engine_version": [1, 19, 41],
"uuid": "d98b03cc-38f8-4a82-81c6-5fb7ede55cb8",
"version": [2, 5, 5]
"version": [2, 5, 6]
},
"modules": [
{
"description": "Data Module",
"type": "data",
"uuid": "1e866a8b-1807-4689-8329-192a43404d5b",
"version": [2, 5, 5]
"version": [2, 5, 6]
},
{
"description": "Gametest Module",
"language": "javascript",
"type": "script",
"uuid": "9d7fbe86-68ed-4aac-8fe8-dfe980e671fc",
"version": [2, 5, 5],
"version": [2, 5, 6],
"entry": "scripts/index.js"
}
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"name": "rubedo",
"description": "Welcome to Rubedo, Rubedo is a brand new Anti-cheat designed for Realms, Servers, Worlds and anyone who wants to protect there worlds from Hackers! Rubedo Uses Minecrafts Most advanced functionality so that includes Gametest.",
"version": "2.5.5-beta",
"version": "2.5.6-beta",
"main": "index.js",
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions scripts/index.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions scripts/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/config/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
| This is the version of rubedo recommended to NOT CHANGE could cause bugs.
|
*/
export const VERSION = "2.5.5-beta";
export const VERSION = "2.5.6-beta";

/*
|--------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/Anti-Cheat/modules/forms/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ export function showPage2(player: Player) {
if (blocks.includes(id))
return ctx.error(`§cBlock "${id}" is already banned`);
blocks.push(id);
TABLES.config.set("banned_blocks", id);
TABLES.config.set("banned_blocks", blocks);
player.tell(`Banned the block "${id}"`);
} else {
// remove item
let blocks = getConfigId("banned_blocks");
if (!blocks.includes(id))
return ctx.error(`block: "${id}" is not banned`);
blocks = blocks.filter((p) => p != id);
TABLES.config.set("banned_blocks", id);
TABLES.config.set("banned_blocks", blocks);
player.tell(`Removed Banned block "${id}"`);
}
});
Expand Down
1 change: 1 addition & 0 deletions src/plugins/Anti-Cheat/modules/protections/cbe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ world.events.beforeItemUseOn.subscribe((data) => {
return;
}
const BANNED_BLOCKS = getConfigId("banned_blocks");
console.warn(JSON.stringify(BANNED_BLOCKS))
if (!BANNED_BLOCKS.includes(data.item.typeId)) return;
data.cancel = true;
new Ban(data.source, null, "Placing Banned Blocks");
Expand Down
1 change: 1 addition & 0 deletions src/plugins/Anti-Cheat/modules/protections/nameSpoof.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ world.events.playerJoin.subscribe(({ player }) => {
`§aReason: §f'${player.name}' is Detected for nameSpoof`,
`§fThis Server requires you to have a valid gamertag!`,
]);
if (!/^([a-zA-Z0-9]|\_| )+$/gm.test(player.name)) return fail();
if (player.name == TOOLBOX_NAME) return fail();
if ([...world.getPlayers()].filter((p) => p.name == player.name).length > 1)
return fail();
Expand Down
4 changes: 3 additions & 1 deletion src/plugins/Anti-Cheat/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,17 @@ export function kick(
message: Array<String> = [],
onFail?: () => void
): void {
console.warn(message)
if (isServerOwner(player)) {
console.warn(`[WARNING]: TRIED TO KICK OWNER`);
player.tell(`You have been tried to kick, but you cant!`);
return onFail?.();
}
try {
player.runCommand(`kick "${player.name}" §r${message.join("\n")}`);
player.runCommand(`kick @s §r${message.join("\n")}`);
player.triggerEvent("kick");
} catch (error) {
player.triggerEvent("kick");
if (!/"statusCode":-2147352576/.test(error)) return;
// This function just tried to kick the owner
if (onFail) onFail();
Expand Down
2 changes: 1 addition & 1 deletion texts/bg_BG.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Този анти-чийт е създаден от най-добрите създатели на Minecraft и също така използва най-добрата функционалност на Minecraft, за да забрани тези хакери и да защити вашия сървър или всяко творение, което искате да запазите.
2 changes: 1 addition & 1 deletion texts/cs_CZ.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Tento anti-cheat byl vytvořen nejlepšími tvůrci Minecraftu a také využívá špičkovou funkci Minecraftu k zákazu těchto hackerů a ochraně vašeho serveru nebo jakéhokoli výtvoru, který chcete mít v bezpečí.
2 changes: 1 addition & 1 deletion texts/da_DK.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Denne anti-cheat blev skabt af Minecrafts topskabere og bruger også Minecrafts topfunktionalitet til at forbyde disse hackere og beskytte din server eller enhver skabelse, du ønsker at holde sikker.
2 changes: 1 addition & 1 deletion texts/de_DE.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Dieser Anti-Cheat wurde von den Top-Entwicklern von Minecraft entwickelt und nutzt auch die Top-Funktionalität von Minecraft, um diese Hacker zu verbieten und Ihren Server oder jede Kreation zu schützen, die Sie schützen möchten.
2 changes: 1 addition & 1 deletion texts/el_GR.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Αυτό το anti-cheat δημιουργήθηκε από τους κορυφαίους δημιουργούς του Minecraft και χρησιμοποιεί επίσης την κορυφαία λειτουργικότητα του Minecraft για να απαγορεύσει αυτούς τους χάκερ και να προστατεύσει τον διακομιστή σας ή οποιαδήποτε δημιουργία θέλετε να κρατήσετε ασφαλή.
2 changes: 1 addition & 1 deletion texts/en_GB.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=This anti-cheat was created by Minecraft's top creators and also uses Minecraft's top functionality to ban those hackers and protect your server or any creation you want to keep safe.
2 changes: 1 addition & 1 deletion texts/en_US.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=This anti-cheat was created by Minecraft's top creators and also uses Minecraft's top functionality to ban those hackers and protect your server or any creation you want to keep safe.
2 changes: 1 addition & 1 deletion texts/es_ES.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Este anti-trampas fue creado por los principales creadores de Minecraft y también utiliza la funcionalidad superior de Minecraft para prohibir a esos piratas informáticos y proteger su servidor o cualquier creación que desee mantener segura.
2 changes: 1 addition & 1 deletion texts/es_MX.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Este anti-trampas fue creado por los principales creadores de Minecraft y también utiliza la funcionalidad superior de Minecraft para prohibir a esos piratas informáticos y proteger su servidor o cualquier creación que desee mantener segura.
2 changes: 1 addition & 1 deletion texts/fi_FI.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Tämän huijauksen eston ovat luoneet Minecraftin parhaat luojat, ja se käyttää myös Minecraftin huipputoimintoja estääkseen hakkerit ja suojellakseen palvelintasi tai mitä tahansa luomusta, jonka haluat pitää turvassa.
2 changes: 1 addition & 1 deletion texts/fr_CA.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Cet anti-triche a été créé par les meilleurs créateurs de Minecraft et utilise également les meilleures fonctionnalités de Minecraft pour interdire ces pirates et protéger votre serveur ou toute création que vous souhaitez protéger.
2 changes: 1 addition & 1 deletion texts/fr_FR.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Cet anti-triche a été créé par les meilleurs créateurs de Minecraft et utilise également les meilleures fonctionnalités de Minecraft pour interdire ces pirates et protéger votre serveur ou toute création que vous souhaitez protéger.
2 changes: 1 addition & 1 deletion texts/hu_HU.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Ezt a csalás elleni védelmet a Minecraft legjobb alkotói hozták létre, és a Minecraft legfőbb funkcióit is használja a hackerek kitiltására, valamint a szerver vagy a biztonságban tartani kívánt alkotások védelmére.
2 changes: 1 addition & 1 deletion texts/id_ID.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Anti-cheat ini dibuat oleh pembuat top Minecraft dan juga menggunakan fungsionalitas teratas Minecraft untuk melarang peretas tersebut dan melindungi server Anda atau kreasi apa pun yang ingin Anda jaga agar tetap aman.
2 changes: 1 addition & 1 deletion texts/it_IT.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Questo anti-cheat è stato creato dai migliori creatori di Minecraft e utilizza anche le migliori funzionalità di Minecraft per bandire quegli hacker e proteggere il tuo server o qualsiasi creazione che desideri tenere al sicuro.
2 changes: 1 addition & 1 deletion texts/ja_JP.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cルベド §7v2.5.5-beta
pack.name=§l§o§kii§r §cルベド §7v2.5.6-beta
pack.description=このチート対策は Minecraft のトップ クリエイターによって作成され、Minecraft のトップ機能を使用してそれらのハッカーを禁止し、サーバーや安全に保ちたいすべての作品を保護します。
2 changes: 1 addition & 1 deletion texts/ko_KR.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=이 안티 치트는 Minecraft의 최고 제작자에 의해 만들어졌으며 Minecraft의 최고 기능을 사용하여 해당 해커를 차단하고 서버 또는 안전하게 유지하려는 모든 창작물을 보호합니다.
2 changes: 1 addition & 1 deletion texts/nb_NO.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Denne anti-juksen ble laget av Minecrafts beste skapere og bruker også Minecrafts toppfunksjonalitet for å utestenge disse hackerne og beskytte serveren din eller en hvilken som helst kreasjon du vil holde trygg.
2 changes: 1 addition & 1 deletion texts/nl_NL.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Deze anti-cheat is gemaakt door de beste makers van Minecraft en gebruikt ook de topfunctionaliteit van Minecraft om die hackers te verbannen en je server of elke creatie die je veilig wilt houden te beschermen.
2 changes: 1 addition & 1 deletion texts/pl_PL.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Ten anty-cheat został stworzony przez najlepszych twórców Minecrafta, a także wykorzystuje najlepsze funkcje Minecrafta do blokowania tych hakerów i ochrony serwera lub dowolnego dzieła, które chcesz zabezpieczyć.
2 changes: 1 addition & 1 deletion texts/pt_BR.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Este anti-cheat foi criado pelos principais criadores do Minecraft e também usa a principal funcionalidade do Minecraft para banir esses hackers e proteger seu servidor ou qualquer criação que você queira manter segura.
2 changes: 1 addition & 1 deletion texts/pt_PT.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Este anti-cheat foi criado pelos principais criadores do Minecraft e também usa a principal funcionalidade do Minecraft para banir esses hackers e proteger seu servidor ou qualquer criação que você queira manter segura.
2 changes: 1 addition & 1 deletion texts/ru_RU.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Этот античит был создан лучшими создателями Minecraft, а также использует лучшие функциональные возможности Minecraft для блокировки этих хакеров и защиты вашего сервера или любого творения, которое вы хотите сохранить в безопасности.
2 changes: 1 addition & 1 deletion texts/sk_SK.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Tento anti-cheat bol vytvorený špičkovými tvorcami Minecraftu a tiež využíva špičkové funkcie Minecraftu na zákaz týchto hackerov a ochranu vášho servera alebo akéhokoľvek výtvoru, ktorý chcete zachovať v bezpečí.
2 changes: 1 addition & 1 deletion texts/sv_SE.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Detta anti-fusk skapades av Minecrafts främsta skapare och använder även Minecrafts toppfunktioner för att förbjuda dessa hackare och skydda din server eller någon skapelse du vill hålla säker.
2 changes: 1 addition & 1 deletion texts/tr_TR.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Bu hile karşıtı, Minecraft'ın en iyi yaratıcıları tarafından oluşturuldu ve aynı zamanda bu bilgisayar korsanlarını yasaklamak ve sunucunuzu veya güvende tutmak istediğiniz herhangi bir ürünü korumak için Minecraft'ın en iyi işlevselliğini kullanıyor.
2 changes: 1 addition & 1 deletion texts/uk_UA.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=Цей античіт був створений найкращими творцями Minecraft, а також використовує найкращі функції Minecraft, щоб заборонити цих хакерів і захистити ваш сервер або будь-яке творіння, яке ви хочете зберегти.
2 changes: 1 addition & 1 deletion texts/zh_CN.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=这种反作弊是由 Minecraft 的顶级创作者创建的,并且还使用 Minecraft 的顶级功能来禁止这些黑客并保护您的服务器或您想要保持安全的任何创作。
2 changes: 1 addition & 1 deletion texts/zh_TW.lang
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pack.name=§l§o§kii§r §cRubedo §7v2.5.5-beta
pack.name=§l§o§kii§r §cRubedo §7v2.5.6-beta
pack.description=这种反作弊是由 Minecraft 的顶级创作者创建的,并且还使用 Minecraft 的顶级功能来禁止这些黑客并保护您的服务器或您想要保持安全的任何创作。

0 comments on commit d8665ce

Please sign in to comment.