Skip to content

Commit

Permalink
Made oneshot detection defaultly disabled
Browse files Browse the repository at this point in the history
Fixed animationcontrollers
  • Loading branch information
Kaaaaii committed Jan 19, 2021
1 parent f3e3f7c commit 35fbd69
Show file tree
Hide file tree
Showing 7 changed files with 137 additions and 33 deletions.
2 changes: 1 addition & 1 deletion animation_controllers/walk.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//bridge-file-version: #5
//bridge-file-version: #11
{
"format_version": "1.10.0",
"animation_controllers": {
Expand Down
7 changes: 5 additions & 2 deletions bridge/.lightning_cache
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@
"identifiers": [
"minecraft:player"
],
"animation_references": [],
"animation_references": [
"a"
],
"families": [
"player"
],
Expand Down Expand Up @@ -177,7 +179,8 @@
"scoreboards": [
"oneshot"
]
}
},
"01524c65_03a6_4566_b15b_801cf52b2d30": {}
},
"item": {},
"animation": {
Expand Down
4 changes: 2 additions & 2 deletions bridge/cache/BP/animation_controllers/walk.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"file_path": "C:\\Users\\James\\AppData\\Local\\Packages\\Microsoft.MinecraftUWP_8wekyb3d8bbwe\\LocalState\\games\\com.mojang\\development_behavior_packs\\HydraAntiCheat Easy Mode\\animation_controllers\\walk.json",
"file_path": "C:\\Users\\James\\AppData\\Local\\Packages\\Microsoft.MinecraftUWP_8wekyb3d8bbwe\\LocalState\\games\\com.mojang\\development_behavior_packs\\Hydra AntiCheat v2\\animation_controllers\\walk.json",
"file_type": "animation_controller",
"format_version": 1,
"file_uuid": "01524c65_03a6_4566_b15b_801cf52b2d30",
"file_version": 5,
"file_version": 11,
"cache_content": {
"children": [
{
Expand Down
129 changes: 116 additions & 13 deletions bridge/cache/BP/entities/player.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"file_type": "entity",
"format_version": 1,
"file_uuid": "e8691f27_9425_4f08_b47c_1399d10d5aca",
"file_version": 61,
"file_version": 70,
"cache_content": {
"children": [
{
Expand All @@ -18,7 +18,15 @@
"identifier": "minecraft:player",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
"is_experimental": false,
"animations": {
"a": "controller.animation.walk"
},
"scripts": {
"animate": [
"a"
]
}
},
"component_groups": {
"minecraft:add_bad_omen": {
Expand Down Expand Up @@ -458,7 +466,15 @@
"identifier": "minecraft:player",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
"is_experimental": false,
"animations": {
"a": "controller.animation.walk"
},
"scripts": {
"animate": [
"a"
]
}
},
"component_groups": {
"minecraft:add_bad_omen": {
Expand Down Expand Up @@ -890,21 +906,92 @@
}
},
"key": "description",
"is_minified": true,
"children": {
"identifier": "minecraft:player",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
}
"children": [
{
"data": "minecraft:player",
"key": "identifier"
},
{
"data": "false",
"key": "is_spawnable"
},
{
"data": "true",
"key": "is_summonable"
},
{
"data": "false",
"key": "is_experimental"
},
{
"open": {
"identifier": "minecraft:player",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false,
"animations": {
"a": "controller.animation.walk"
},
"scripts": {
"animate": [
"a"
]
}
},
"key": "animations",
"is_minified": true,
"children": {
"a": "controller.animation.walk"
}
},
{
"open": {
"identifier": "minecraft:player",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false,
"animations": {
"a": "controller.animation.walk"
},
"scripts": {
"animate": [
"a"
]
}
},
"key": "scripts",
"children": [
{
"open": {
"animate": [
"a"
]
},
"key": "animate",
"is_minified": true,
"children": [
"a"
]
}
]
}
]
},
{
"open": {
"description": {
"identifier": "minecraft:player",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
"is_experimental": false,
"animations": {
"a": "controller.animation.walk"
},
"scripts": {
"animate": [
"a"
]
}
},
"component_groups": {
"minecraft:add_bad_omen": {
Expand Down Expand Up @@ -1517,7 +1604,15 @@
"identifier": "minecraft:player",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
"is_experimental": false,
"animations": {
"a": "controller.animation.walk"
},
"scripts": {
"animate": [
"a"
]
}
},
"component_groups": {
"minecraft:add_bad_omen": {
Expand Down Expand Up @@ -3273,7 +3368,15 @@
"identifier": "minecraft:player",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
"is_experimental": false,
"animations": {
"a": "controller.animation.walk"
},
"scripts": {
"animate": [
"a"
]
}
},
"component_groups": {
"minecraft:add_bad_omen": {
Expand Down
4 changes: 2 additions & 2 deletions bridge/cache/BP/functions/settings.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"file_type": "function",
"format_version": 0,
"file_uuid": "e83ab4e1_fd53_4791_b0fa_e259a13708d1",
"file_version": 45,
"cache_content": "#----------------------------------------------------\r\n#\r\n# Hydra Settings\r\n# To enable modules remove the X\r\n# Next to the hy/packages/\r\n#\r\n# Dont change anything unless\r\n# you know what your doing\r\n# (Changing items here may end up in false bans)\r\n#\r\n#----------------------------------------------------\r\n\r\n#----------------------------------------------------\r\n# Permanently Enabled (Dont change anything here)\r\n#----------------------------------------------------\r\n\r\n# hy/packages/credit\r\n# hy/packages/bans\r\n# hy/packages/scoreboards\r\n# hy/packages/antinbt\r\n# hy/packages/tagscores\r\n\r\n#----------------------------------------------------\r\n# Optional (You may change items here)\r\n#----------------------------------------------------\r\n\r\n\r\n#----------------------------------------------------\r\n# Anti illegal npcs\r\n# Stops commands via npc (enable after taging all npcs with server /tag @e[type=npc] add server)\r\n\r\nXfunction hy/packages/antinpc\r\n#----------------------------------------------------\r\n\r\n\r\n#----------------------------------------------------\r\n# Anti player spawners\r\n# Stops fake players from player spawners\r\n\r\nfunction hy/packages/noplayerspawner\r\n#----------------------------------------------------\r\n\r\n\r\n#----------------------------------------------------\r\n# Ban Database\r\n# Has a list of varifyed hackers and common namespoofed names\r\n\r\nfunction hy/packages/bandatabase\r\n#----------------------------------------------------\r\n\r\n\r\n#----------------------------------------------------\r\n# Staff Tools\r\n# Allows book commands for staff by signing a book (get help by signing and droping a /staffhelp book)\r\n\r\nXfunction hy/packages/stafftools\r\n#----------------------------------------------------\r\n\r\n\r\n\r\n#----------------------------------------------------\r\n# GameMode Ban\r\n# Bans players who go into gamemode\r\n\r\nfunction hy/packages/gamemodeban\r\n#----------------------------------------------------\r\n\r\n\r\n#----------------------------------------------------\r\n# Anti Nuker (BETA)\r\n# Bans players who use nuker, tnt may kick you when using\r\n\r\nXfunction hy/packages/antinuker\r\n#----------------------------------------------------\r\n\r\n\r\n#----------------------------------------------------\r\n# Killaura Detection (STABLE)\r\n# Bans players who use killaura \r\n\r\nXfunction hy/packages/killaura\r\n#----------------------------------------------------\r\n\r\n\r\n#----------------------------------------------------\r\n# On CBE successful rollbackrealm?\r\n# If players bypass hydra this should rollback the realm when it happens\r\n\r\nXfunction hy/packages/rollbackrealm\r\n#----------------------------------------------------\r\n\r\n\r\n#----------------------------------------------------\r\n# One shot detection\r\n# Detects hackers with 32k armor or tools\r\n\r\nfunction hy/packages/oneshot\r\n#----------------------------------------------------\r\n\r\n©2020 HydraAntiCheat"
"file_version": 49,
"cache_content": "#----------------------------------------------------\r\n#\r\n# Hydra Settings\r\n# To enable modules remove the X\r\n# Next to the hy/packages/\r\n#\r\n# Dont change anything unless\r\n# you know what your doing\r\n# (Changing items here may end up in false bans)\r\n#\r\n#----------------------------------------------------\r\n\r\n#----------------------------------------------------\r\n# Permanently Enabled (Dont change anything here)\r\n#----------------------------------------------------\r\n\r\n# hy/packages/credit\r\n# hy/packages/bans\r\n# hy/packages/scoreboards\r\n# hy/packages/antinbt\r\n# hy/packages/tagscores\r\n\r\n#----------------------------------------------------\r\n# Optional (You may change items here)\r\n#----------------------------------------------------\r\n\r\n\r\n#----------------------------------------------------\r\n# Anti illegal npcs\r\n# Stops commands via npc (enable after taging all npcs with server /tag @e[type=npc] add server)\r\n\r\nXfunction hy/packages/antinpc\r\n#----------------------------------------------------\r\n\r\n\r\n#----------------------------------------------------\r\n# Anti player spawners\r\n# Stops fake players from player spawners\r\n\r\nfunction hy/packages/noplayerspawner\r\n#----------------------------------------------------\r\n\r\n\r\n#----------------------------------------------------\r\n# Ban Database\r\n# Has a list of varifyed hackers and common namespoofed names\r\n\r\nfunction hy/packages/bandatabase\r\n#----------------------------------------------------\r\n\r\n\r\n#----------------------------------------------------\r\n# Staff Tools\r\n# Allows book commands for staff by signing a book (get help by signing and droping a /staffhelp book)\r\n\r\nXfunction hy/packages/stafftools\r\n#----------------------------------------------------\r\n\r\n\r\n\r\n#----------------------------------------------------\r\n# GameMode Ban\r\n# Bans players who go into gamemode\r\n\r\nfunction hy/packages/gamemodeban\r\n#----------------------------------------------------\r\n\r\n\r\n#----------------------------------------------------\r\n# Anti Nuker (BETA)\r\n# Bans players who use nuker, tnt may kick you when using\r\n\r\nfunction hy/packages/antinuker\r\n#----------------------------------------------------\r\n\r\n\r\n#----------------------------------------------------\r\n# Killaura Detection (STABLE)\r\n# Bans players who use killaura \r\n\r\nfunction hy/packages/killaura\r\n#----------------------------------------------------\r\n\r\n\r\n#----------------------------------------------------\r\n# On CBE successful rollbackrealm?\r\n# If players bypass hydra this should rollback the realm when it happens\r\n\r\nXfunction hy/packages/rollbackrealm\r\n#----------------------------------------------------\r\n\r\n\r\n#----------------------------------------------------\r\n# One shot detection (Bugs for servival mode only use in pvp realms)\r\n# Detects hackers with 32k armor or tools\r\n\r\nXfunction hy/packages/oneshot\r\n#----------------------------------------------------\r\n\r\n©2020 HydraAntiCheat"
}
10 changes: 6 additions & 4 deletions entities/player.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//bridge-file-version: #61
//bridge-file-version: #70
{
"format_version": "1.16.0",
"minecraft:entity": {
Expand All @@ -7,13 +7,15 @@
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false,
"animations": {
"a": "controller.animation.walk",
"bridge_execute_commands": "controller.animation.bridge_player.execute_commands"
},
"scripts": {
"animate": [
"a",
"bridge_execute_commands"
]
},
"animations": {
"bridge_execute_commands": "controller.animation.bridge_player.execute_commands"
}
},
"component_groups": {
Expand Down
14 changes: 5 additions & 9 deletions functions/settings.mcfunction
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#bridge-file-version: #45
#bridge-file-version: #49
#----------------------------------------------------
#
# Hydra Settings
Expand Down Expand Up @@ -71,15 +71,15 @@ function hy/packages/gamemodeban
# Anti Nuker (BETA)
# Bans players who use nuker, tnt may kick you when using

Xfunction hy/packages/antinuker
function hy/packages/antinuker
#----------------------------------------------------


#----------------------------------------------------
# Killaura Detection (STABLE)
# Bans players who use killaura

Xfunction hy/packages/killaura
function hy/packages/killaura
#----------------------------------------------------


Expand All @@ -92,14 +92,10 @@ Xfunction hy/packages/rollbackrealm


#----------------------------------------------------
# One shot detection
# One shot detection (Bugs for servival mode only use in pvp realms)
# Detects hackers with 32k armor or tools

function hy/packages/oneshot
Xfunction hy/packages/oneshot
#----------------------------------------------------

#-------------------
#this MUST always be turned on or antinbt will not work!
function hy/packages/delete
#------------------
©2020 HydraAntiCheat

0 comments on commit 35fbd69

Please sign in to comment.