• check_circle Advancements
  • check_circle Functions
  • check_circle Predicates
  • 4,007 views, 3 today
  • 239 downloads, 0 today
  • 8
  • 5
  • 13
Herobrine_2143's Avatar Herobrine_2143
Level 33 : Artisan Herobrine
14
This is a small yet potential anti-cheat for those who search for just vanilla commands instead of plugins, I wanted to make this because I felt like using plugins and claiming is 100% vanilla doesn't feel right to me so I decided to make this pack.

About this DataPack

This datapack is not yet completed but in the future I'm figuring out how to detect kill-aura as well as other cheats. For now all this pack has is Anit-WaterWalking and Anti-Fly, although Minecraft vanilla servers have an anti-fly setting in the config file of the server. I think this method would be more flexible tho. This pack also has in mind on giving ranks, Staff ranks to be precise. Owner, Mod and Trainee, for now I didn't add Admin since Admin is more like a developer and I don't think there's gonna be a developer for vanilla but if people want it I can add it, each rank will have their permission using trigger. The Owner is the only one with Operator permission. The pack also may ask you if in the config text file of the server you gave the "function-permission" to 3 (by default is set to 2), setting it to 3 would allow the datapack to even ban people, is not working at the moment despite being present in the datapack. For now it will only display Water Walking and Fly Flags that players may be rising up. Is not fully completed yet either so probably it may have some fake flags, but I'm confident I made sure it doesn't.

Things that might get added in the DataPack


Kill-Aura Detection

Speed

No Slow Down

Reach (It might be impossible but I do plan to make it

minecraft /tag

For the system of VAnti-Cheat to know you're part of the staff do /tag [​PLAYERNAME] add Staff
CompatibilityMinecraft 1.16
toMinecraft 1.17
Tags

1 Update Logs

Version 0.4 | A proper version : by Herobrine_2143 08/07/2021 11:55:33 amAug 7th, 2021

There's new features added to the datapack, here's the list:

- "anti-cheat" function folder renamed to "vac" for simplicity.
- Sentry can now detect Flying Cheat.
- Sentry can now detect NoFall Cheat
- Properly added ranks to VAC.


Both cheats have been tested on WURST Cheat Client, I'm not sure if it's the best cheat client or not, but you're free to test it with your own known Cheat Clients.

List of Ranks (Now it doesn't matter if you use tags on players or use teams, it also accepts capitalized or uncapitalized rank names):

Owner/Founder
Admin
Mod
Trainee
Staff (This rank globalizes all the other ranks.)

As of now, the datapack has a really messy folder structure as well as messy coding in the function files. I apologize to those who takes a look inside of the datapack.

Create an account or sign in to comment.

1
11/09/2021 7:19 pm
Level 1 : New Miner
im bad
im bad's Avatar
would this work for java realms
1
11/11/2021 6:55 pm
Level 33 : Artisan Herobrine
Herobrine_2143
Herobrine_2143's Avatar
Yes it would, just create a singleplayer world, put the datapack in and then go to realms and create a world using one of your already created singe player worlds that has the datapack in.
1
06/22/2021 6:44 pm
Level 1 : New Princess
Deniela
Deniela's Avatar
Do you think you could make an anti dupe?
1
07/12/2021 5:46 am
Level 33 : Artisan Herobrine
Herobrine_2143
Herobrine_2143's Avatar
Well for that I would need to know every single dupe that can be done in 1.17 and the above, as well as knowing if it is possible to prevent it. Thanks for the suggestion. I might add it.
2
05/07/2021 4:29 pm
Level 48 : Master Procrastinator
mzxciap
mzxciap's Avatar
hey I was thinking, to detect basic killaura, that you could track the previous head position, and if the difference between them is too much, alert the admin.
1
05/07/2021 4:30 pm
Level 48 : Master Procrastinator
mzxciap
mzxciap's Avatar
because, alot of killaura hacks, move the head wayy too fast for a real human.
Its not foolproof, so I wouldn't suggest auto-banning peopole for it, but especially if there is a timer, i.e if you do it for too long, it alerts an admin (the timer counts down otherwise).
1
05/08/2021 11:35 am
Level 33 : Artisan Herobrine
Herobrine_2143
Herobrine_2143's Avatar
really good concept. But that method is not possible with vanilla commands or at least to my understanding. I already have an idea of how to do it but if you want to elaborate, that's good for me. Thank you for your suggestion!
2
05/08/2021 12:36 pmhistory
Level 34 : Artisan Creeper
AqUpd
AqUpd's Avatar
You can get rotation of player by using /data get entity @s Rotation[​0] and /data get entity @s Rotation[​0] and then save it to scoreboard like that:

Commands:
/execute store result score @s rotation1 run data get entity @s Rotation[​0] (Yaw)
/execute store result score @s rotation2 run data get entity @s Rotation[​1] (Pitch)

And then somehow calculate speed of rotation
2
05/09/2021 4:39 am
Level 33 : Artisan Herobrine
Herobrine_2143
Herobrine_2143's Avatar
Oh wait, I never thought of that concept before, it could work, thanks for the idea! I will first put into practice mine if it works like it should be and if it doesn't then I'll use this one that seems more promising. Thank you!
1
05/08/2021 5:02 pm
Level 48 : Master Procrastinator
mzxciap
mzxciap's Avatar
by saving the current temporary rotation, updating the temporary rotation then subtracting the current temp rotation with the previous one, you get the x and y speed, if one of them is really high, alert
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome