Skip to content
samo_lego edited this page Jun 13, 2022 · 49 revisions

GolfIV

A Fabric anti-exploit mod.

Current patches

All of them are toggleable in GolfIV's config file, located in config/GolfIV_config.json.

For latest info see javadoc.

Inventory

  • checkInventoryActions - prevents hitting/chatting with open GUI.
  • legaliseSurvivalItems - removes incompatible enchantments, resets stack sizes etc.
  • bannedSurvivalItems - which survival items should be removed when clicked on.
  • removeCreativeNBTTags - removes ALL NBT data in creative, but allows block-picking

Packets

  • removeTeleportData - removes coordinates from player teleport packets
  • removeHealthTags - removes health data for entities from packets
  • removeEquipmentTags - removes equipment information, so players with hacked clients cannot see enchants / stack size / durability of opponents
  • patchSoundExploits - fakes coordinates in sound events, preventing lightning bolt player finding etc.
  • checkPortalHack - checks if player is doing actions in portals that shouldn't be possible (chatting / inventory managing)

Movement

  • yesFall - checks player's onGround status and ignores the one in player's movement packet

Duplication

  • patchSaveLimit - prevents the exception of data not saving by ignoring the data above the Java DataOutput limit
  • patchGravityBlock - prevents gravity block duplication
  • patchDeathDuplication - prevents duplicating inventory if player dies after disconnect

Combat

  • preventWallHit - prevents hitting entities through walls
  • checkHitDistance - prevents hitting entities from too far away
  • checkHitAngle - checks the angle at which player is trying to hit the entity

Other

  • inflictNetherRoofDamage - at which y level inflict damage on nether roof (e.g. 128 to inflict upon stepping on bedrock) (-1 to disable).
Clone this wiki locally