-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved lots of files around, fixed bugs with database
- Loading branch information
1 parent
fdb2008
commit 8cee6e1
Showing
115 changed files
with
4,883 additions
and
745 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,6 @@ node_modules | |
.tsconfig.json | ||
.gitignore | ||
|
||
build.js | ||
|
||
scripts/* | ||
!scripts/index.js | ||
!scripts/index.js.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,11 @@ | ||
console.warn(`---- STARTING RUBEDO ----`); | ||
import { | ||
ItemStack, | ||
MinecraftItemTypes, | ||
system, | ||
} from "@minecraft/server"; | ||
import "./lib/Command/index"; | ||
import "./lib/Chest GUI/index"; | ||
import "./plugins/import"; | ||
import "./database/index"; | ||
import { system } from "@minecraft/server"; | ||
import "./rubedo/lib/Command/index"; | ||
import "./rubedo/lib/Chest GUI/index"; | ||
import "./rubedo/database/index"; | ||
import "./rubedo/lib/Containers/index"; | ||
import "./vendor/import"; | ||
|
||
system.events.beforeWatchdogTerminate.subscribe((data) => { | ||
data.cancel = true; | ||
console.warn(`WATCHDOG TRIED TO CRASH = ${data.terminateReason}`); | ||
}); | ||
|
||
/** | ||
* This is air as a item, | ||
*/ | ||
export const AIR = new ItemStack(MinecraftItemTypes.stick, 0); |
This file was deleted.
Oops, something went wrong.
77 changes: 0 additions & 77 deletions
77
src/plugins/Anti-Cheat/modules/protections/unobtainable.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { MinecraftBlockTypes } from "@minecraft/server"; | ||
|
||
/** | ||
* The currently supported block containers by script api | ||
*/ | ||
export const API_CONTAINERS = [ | ||
MinecraftBlockTypes.chest.id, | ||
MinecraftBlockTypes.trappedChest.id, | ||
]; | ||
|
||
/** | ||
* The block size to check for blockContainers | ||
*/ | ||
export const CHECK_SIZE = { x: 7, y: 7, z: 7 }; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/lib/Chest GUI/Models/EntityChest.ts → ...ubedo/lib/Chest GUI/Models/EntityChest.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/lib/Chest GUI/Models/FillTypes.ts → src/rubedo/lib/Chest GUI/Models/FillTypes.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Empty file.
13 changes: 10 additions & 3 deletions
13
src/lib/Chest GUI/index.ts → src/rubedo/lib/Chest GUI/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ti-Cheat/modules/models/BlockInventory.ts → src/rubedo/lib/Containers/Container.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.