Unity Anti-Cheat | UAC v2.5.3
UAC is an Anti-Cheat designed for Minecraft Bedrock edition realms or servers ran by BDS. This has been tested on hundreds of realms for the course of 3 years with great results.
Credits to Hydra Anticheat v1 for source code: https://discord.gg/DD53B8QwEQ
Credits to RomanMender, Mrpatches123, xFallen54x, Samster 10, Baboonie, and others for providing help on the project
Made/Developed by NightwalkerLots and Catastrophy
Twitter: @Lastofthesorrow
===== UNITY ANTI-CHEAT =====
Benefits:
- Customizable
- No false positives
- No command blocks
- No ticking areas
- Simple and easy to use
Getting Started :
UAC is greatly documented. Everything you need to know for set-up and usage can be found in the User Manual
https://www.unityentertainment.xyz/uac-user-manual
For access to Github and early updates, as well as the ability to report bugs, please join the discord!! https://discord.gg/7Us7ER8WUw
Some Features include (See the manual for more details) :
- Player Chat Commands
This will enable the use of player chat commands. When enabled, the prefix for the player commands is " UAC.". The usage of non-staff commands can be turned off by staff.
- Auto Lag Clear
This does not work on a timer. This instead works on an entity count. When the number of entities (hostile mobs and dropped items) reaches 100, UAC will do a Lag Clear Automatically by removing those entities. This is good for TPS control.. The current amount of entities that are present can be seen when going into creative mode. Even with this off, UAC will also perform an emergency lag clear at 340+ entities.
- Anti Combat Log
Anti C-log will punish those who have left the realm while in combat. It has two modes, they can either be killed apon rejoining or just have their inventory cleared. A message will prompt in chat to say the player was either killed or cleared for combat logging. Very useful for PVP-style realms.
- Time played Tracker
This will keep track of how long players have played on the realm. Their Time Played can be viewed by using the stats command on them. A play can also check their own time played, along with other stats by stopping an item called "stats" if Item commands are enabled.
- Anti-Fly
If UAC detects a non-staff member using fly hacks, the player will be temporarily kicked from the realm. It acts as a good deterrent that will discourage players from flying around freely. However, it will also disable the elytra. This is useful for kitpvp realms and such.
- Anti-32k Module: UAC.illench [ on | off ]
If a player has an enchanted item, with the enchantment being above its vanilla enchantment power,
the item will be removed from the player. This is also true for items that can't usually be enchanted or enchantment on the wrong item.
You can view our video that goes into more detail here:
https://youtube.com/embed//ahzfUxf00-0
- Disable-Echests
UAC has the option to disable the use of ender chests.
- Anti-CBE
This will prevent players from using the CBE (Command Block Exploit). This is a very dangerous exploit that players can use to perform the command in realms without the need to be the operator. However, this will disable the use of beehives/nests.
- Unobtainable Items Protection
If the item is not obtainable (Bedrock, barriers, end portal frames, fire tiles, etc..), it will be auto cleared from non-staff players if this module is enabled.
- Auto Replace Bottom Bedrock Layer
This will automatically replace the bottom bedrock layer which can prove useful in some anarchy environments or minigames in the overworld. Just be aware that this will also do the same in every dimension.
- World Border (customizable size)
When enabled, will keep players from going past 70k blocks from spawn. The size of the world border is customizable
- Fake Staff Protection Modules
This is meant for more add-on savvy realm owners and provides an extra layer of security. When this is toggled, a key is needed to be executed on a player to give the staff. The tag staff will automatically be removed from all players who haven't had the key executed on them. The key can be found in the code of UAC and is made of two UUIDs. Changing the key with new UUIDs is extremely recommended to make sure the key is unique to your realm.
- Mining Detection Modules
When this is toggled, staff will receive notifications when players come across specific ores. The list of ores they get notifications for is customizable.
- WorldSpawn Randomizer
This will randomize the realm's worldspawn point within a 1k radius from the center.
The current world spawn coords can be seen when going into creative mode.
Many more features can be seen via the UAC User Manual :
https://www.unityentertainment.xyz/uac-user-manual
All questions and feedback will be seen much faster from our discord server.
https://discord.gg/7Us7ER8WUw .
When you join you'll be welcomed with a few messages along with being prompted on what the help command is. By performing the help command while having staff access, you'll see this message. (Outdated Image for proof of concept)
![](https://api.mcpedl.com/storage/submissions/145817/images/unity-anticheat--uac-v23_2.png)
You will be able to toggle features within UAC by using the toggle command (Outdated Image for proof of concept)
![](https://api.mcpedl.com/storage/submissions/145817/images/unity-anticheat--uac-v23_3.png)
Be sure to join the UAC Discord https://discord.gg/7Us7ER8WUw
UAC User Manual HERE.
2.5.3 Changes
- Turning on Anti-reach's gametest method now also disables it's function method to reduce lag
- Added a new command to disable the Development Testing Features
- Added new names from #vip-comsmetic into the UAC VIP command
- Welcome messages are cleaner, and now include a member counter
- Added new Vanish gametest command for staff
- Added Anti-Nuker passive module which gives staff detection notifications (Gametest Required)
- Optimizations to Anti-CBE
- Improvements to the Player Freeze command which utilizes gametest logic
- Removed One-Shot Protection Module
- Removed Disable Armor Enchants Module
- The Mute command no longer mutes staff, and can now also unmute players as well
- Added new Emergency Lag Clear that triggers regardless of toggles enabled, if entity count goes over 340
2.5.3 Bug fixes
- Fixed a bug with "Fixed Container" Module not enabling correctly
- Fixed a bug that made anti-reach's gametest method not enabling correctly
- Fixed multiple issues with the AFK-Kick Module
- Fixed Netherite mining notification toggle not displaying the correct ore toggle
- Fixed the Unban Window not properly unbanning curtain players
- Fixed an issue with the ranks command not properly giving players a rank or color
- Anti-Chat Spam now shows properly in module check
- Fixed Item Ban Toggles not updating for everyone
- Fixed to World Border Module (No longer resets, uses gametest method to tp to custom spawn)
`===== 2.3 Changes ======`
~ Many optimizations
~ Added item command for players to see their last death coords
~ Added Anti Oneshot Protection (prevents thorns/sharpness above vanilla enchants from working)
~ Added an Optional Resource pack that can also be used client-sided on other realms for FPS boost
~ CBE items are now cleared without needing the Unobtainable Items module enabled
~ Prevent more mobs from dropping rotten flesh
~ Debug Stats will now show a true/false for ownerstatus
~ UAC now soft bans players who attempt to go into creative 4 times
~ Updates to CBE and Unobtainable flag system
~ unobtainable items and anti-cbe now also clears dropped items
~Players who are UAC Global Banned will be disconnected from the realm
~Players who are given the tag used for UAC Global Banned will have it removed automatically if they are not actually on the Global Ban List
~Fixed a bug that spammed the wrong message in chat when manually banning someone
~Commands meant to be used on players now have no effect on staff members.
~In the 2.3 Resource, changed the packet.disconnect message to a proper ban message
~Added a fake leave message command for staff
~Added Player counter
-The 'no frostwalker' & 'Disable Armor Enchant' modules no longer remove enchanted armor. They now only remove the enchants from the armor.
-Fixed the Entity Clear not resetting properly
~ Fixed some bugs when using the home command or dying with it
`======== 2.4 Changes ==========`
~ Removed the item commands from main UAC behavior
~ The resource GUI is now finished and allows you for in-game info on the chat commands such as how to use them and their functionality
~ Added Separate Addon "UAC Scripts" which enables chat commands for players
~ Added Ability for staff to enabled/disable player commands at will
~ When Hotbar messages are enabled, all players will be forced to use the mode you set it to.
~ Removed ability for players to click on each other to see stats
~Added detection for whether or not certain experimental features are on
~Small rework to spawn randomizer so that it works with the new worldspawn framework
~Added new staff kits as well as redid the Kits section in the GUI for ease of use with console players
~Added inventory viewer (staff chat command below)
~Changed the auto soft bans into hard bans that remove the players from the realm.
~Anti-Frostwalker will now use it's old method if it detects experimental features are not on
~Added Anti-Reach Module, preventing players from hitting each other from more than 5 blocks away
~Added Detection for which dimension the player is in
~Bottom Bedrock No longer executes in the End and executes at the appropriate Y level for the nether
~The staff-stats command now shows what dimension the player is in.
~Added new "AFK Kick" Module which temp-kicks players who have not been moving for 2:03 minutes.
~Added new "Anti-C Logging" Module which punishes players apon rejoining for combat logging.
~Added sounds and particles to certain commands
~The warn reset message now displays for all players and not just staff
~Anti-CBE no longer removes placed command blocks near non-staff players
~improvements to Anti-Fly module
~improvements to the Module Check Command
~Changes to the ModuleCheck command
`===== Bug Fixes ========`
~Fixed Anti-Oneshot not immediately applying to players correctly
~Fixed a bug that would make item frames trigger the Illegal Item flag
~Fixed a bug preventing village raids from triggering
~Fixed Glow Sticks not clearing as unobtainable items properly
~Fixed a bug in 2.4 alpha for worldborder not teleporting the player to spawn properly
~Fixed a bug that caused framerate to drop when sitting in chat/chest/pause screen
~ Removed some Legacy Code
~ Fixed a bypass made that disabled functions
~Fixed a bug with Anti-Frostwalker not clearing enchants from leather boots properly
~Fixed a bug where UAC didn't know what a elytra or turtle helmet was
~Fixed a bug that flagged players for flying when sleeping
~Fixed Unban Window not properly unbanning people apon joining
~ Fixes to the vanish command
~ Fixes to unban window
`====== 2.4 Player Commands ========`
{ These features require gametest to be enabled on the realm/BDS Server
~ Players can change their own Hotbar message if the realm does not have a mode set (disabled) -- UAC.display (self, realm)
~ Players can see their own stats or the stats for another player -- UAC.stats
~ Players can create/delete home waypoints and then warp to them -- UAC.home
~ Players can create/cancel TPA channels. When another player uses that channel to tp to them, the channel is deleted. -- UAC.tpa (create, remove)
~ Players can see the location coords for were their last death was -- UAC.lastdeath
~ Staff can change the Spot where players get sent to when crossing the world border -- UAC.worldspawn
~ Staff can check the inventory of players -- UAC.inventory (playername)
~ Players can now use suicide, which kills after 10 seconds of use -- UAC.suicide
`======== 2.4 Fine-Tuning =========`
~Added Fine-Tuning Settings file inside settings folder
~Added the choice for bottom bedrock replacement to be set for Caves or Cliffs or for vanilla
~Added Fine-Tuning options into a GUI, which auto-opens when you enable a feature that can be fine-tuned.
Installation
By visiting the download link you'll be shown the addons we've made, along with UAC being the first at the top. If you need any help trying to use UAC.
https://www.unityentertainment.xyz/uac-page
creator: https://twitter.com/LastoftheSorrow
Is it possible to apply this to the realm with achievements enabled using UME (Universal Minecraft Editor)
I want to have a secure vanilla realm, and my friends are achievement hunters
updated