lishid / Orebfuscator

Orebfuscator - The definitive Anti X-Ray plugin for CraftBukkit
http://dev.bukkit.org/bukkit-plugins/orebfuscator/
GNU General Public License v3.0
115 stars 112 forks source link

Need an option to disable the hithack check #181

Open shikendon opened 6 years ago

shikendon commented 6 years ago

Player who using auto-click script (1 click per second) are easily be kicked after continuously clicked for hours.

https://github.com/lishid/Orebfuscator/blob/90852aa5524a2919ec6fedb2af6c08a4ea1d03a6/Plugin/src/main/java/com/lishid/orebfuscator/hithack/PlayerBlockTracking.java#L62

> ofc status
[03:33:44 INFO]: [OFC] Orebfuscator 4.3.3 is: Disabled
[03:33:44 INFO]: [OFC] Engine Mode: 1
[03:33:44 INFO]: [OFC] Caching: Enabled
[03:33:44 INFO]: [OFC] ProximityHider: Disabled
[03:33:44 INFO]: [OFC] DarknessHideBlocks: Disabled
[03:33:44 INFO]: [OFC] Initial Obfuscation Radius: 1
[03:33:44 INFO]: [OFC] Update Radius: 2
[03:33:44 INFO]: [OFC] World by Default: Enabled
[03:33:44 INFO]: [OFC] Worlds in List: None

Orebfuscator4/config.yml

ConfigVersion: 13
Booleans:
  UseCache: true
  Enabled: false
  UpdateOnDamage: true
  NoObfuscationForMetadata: true
  NoObfuscationForOps: false
  NoObfuscationForPermission: false
  LoginNotification: true
Integers:
  MaxLoadedCacheFiles: 64
  DeleteCacheFilesAfterDays: 0
  EngineMode: 1
  InitialRadius: 1
  UpdateRadius: 2
Strings:
  CacheLocation: orebfuscator_cache
  NoObfuscationForMetadataTagName: NPC
Lists:
  TransparentBlocks: []
  NonTransparentBlocks: []
Worlds:
  Default:
    Types:
    - DEFAULT
    Enabled: true
    AntiTexturePackAndFreecam: false
    AirGeneratorMaxChance: 43
    DarknessHideBlocks: false
    BypassObfuscationForSignsWithText: false
    DarknessBlocks:
    - MOB_SPAWNER
    - CHEST
    Mode1Block: STONE
    RandomBlocks: []
    ObfuscateBlocks: []
    ProximityHider:
      Enabled: false
      Distance: 8
      SpecialBlock: STONE
      Y: 255
      UseSpecialBlock: true
      ObfuscateAboveY: false
      ProximityHiderBlocks:
      - DISPENSER
      - MOB_SPAWNER
      - CHEST
      - DIAMOND_ORE
      - WORKBENCH
      - FURNACE
      - BURNING_FURNACE
      - ENCHANTMENT_TABLE
      - EMERALD_ORE
      - ENDER_CHEST
      - ANVIL
      - TRAPPED_CHEST
      UseFastGazeCheck: true
  Normal:
    Types:
    - NORMAL
    Mode1Block: STONE
    RandomBlocks:
    - STONE
    - COBBLESTONE
    - WOOD
    - GOLD_ORE
    - IRON_ORE
    - COAL_ORE
    - LAPIS_ORE
    - TNT
    - MOSSY_COBBLESTONE
    - OBSIDIAN
    - DIAMOND_ORE
    - REDSTONE_ORE
    - CLAY
    - EMERALD_ORE
    ObfuscateBlocks:
    - GOLD_ORE
    - IRON_ORE
    - COAL_ORE
    - LAPIS_ORE
    - CHEST
    - DIAMOND_ORE
    - REDSTONE_ORE
    - GLOWING_REDSTONE_ORE
    - EMERALD_ORE
    - ENDER_CHEST
  TheEnd:
    Types:
    - THE_END
    Mode1Block: ENDER_STONE
    RandomBlocks:
    - BEDROCK
    - OBSIDIAN
    - ENDER_STONE
    - PURPUR_BLOCK
    - END_BRICKS
    ObfuscateBlocks:
    - ENDER_STONE
  Nether:
    Types:
    - NETHER
    Mode1Block: NETHERRACK
    RandomBlocks:
    - GRAVEL
    - NETHERRACK
    - SOUL_SAND
    - NETHER_BRICK
    - QUARTZ_ORE
    ObfuscateBlocks:
    - NETHERRACK
    - QUARTZ_ORE

It would be great have an option to disable the hithack check.

ProgrammerDan commented 6 years ago

Thanks for recommend, I'll look into it!