项目作者: Guichaguri

项目描述 :
A Forge/LiteLoader/Vanilla/Bukkit/Sponge/BungeeCord plugin that blocks hacked accounts (McLeaks free accounts)
高级语言: Java
项目地址: git://github.com/Guichaguri/BOHA.git
创建时间: 2017-04-24T22:10:46Z
项目社区:https://github.com/Guichaguri/BOHA

开源协议:MIT License

下载


BOHA - Blocker of Hacked Accounts

A Forge/LiteLoader/Vanilla/Sponge/Bukkit/BungeeCord plugin that blocks hacked accounts (McLeaks free accounts)

Databases

Downloads

Downloads can be found in the Releases page.

  • BOHA-Mod-{mcversion}-{version}.jar - BOHA for Forge/LiteLoader/Vanilla
  • BOHA-Plugin-{version}.jar - BOHA for Sponge/Bukkit/BungeeCord

Note: If you’re using SpongeForge, please, use the plugin instead of the mod. It’s safer and not version-dependent.

Installation

Bukkit/BungeeCord

Put the plugin file in the plugins folder

Forge/LiteLoader/Sponge

Put the mod/plugin file in the mods folder.

Vanilla

  1. Add the mod, LegacyLauncher and ASM to the classpath.
  2. Set the main class to net.minecraft.launchwrapper.Launch
  3. Add --tweakClass guichaguri.boha.tweak.BlockerTweak to the start command

Configuration

For both the mod and the plugin, the configuration should look like this:

  1. {
  2. "message": "&cYou are using a hacked account.",
  3. "gong": {
  4. "enabled": true,
  5. "cache": true,
  6. "timeout": 3600
  7. },
  8. "doha": {
  9. "enabled": true,
  10. "cache": true,
  11. "timeout": 3600
  12. },
  13. "doha_database": {
  14. "enabled": true,
  15. "refresh": 24
  16. }
  17. }
  • message is the message which will be used for kicking the hacked account. You can use formatting codes.
  • gong - Gong’s Database API
    • enabled is whether the database will be used for checking users.
    • cache is whether caching will be enabled.
    • timeout is the interval in seconds which the cache will be cleared.
  • doha - DOHA API
    • enabled is whether the database will be used for checking users.
    • cache is whether caching will be enabled.
    • timeout is the interval in seconds which the cache will be cleared.
  • doha_database - DOHA Local Database
    • enabled is whether the whole database will be downloaded locally
    • refresh is the minimum time in hours to redownload the database

It’s recommended using the DOHA database instead of the API because, not only makes the verification faster, but also prevents hacked accounts from joining your server when the DOHA API is down.

Gong’s Database doesn’t have the whole database downloadable, but its API server seems to be stronger than DOHA’s API server.

Credits