This repository explains how to disable Badlion Client mods and mod features via Bungee/Bukkit plugin.
By default all mods on the Badlion Client are not restricted and a user can enable any of the mods at anytime. By using this plugin you remove the ability for a user to activate certain mods or features of mods while they are playing on your server. The user will gain control over the ability to use these mods/features again when they leave your server.
We have anticheat warnings for certain features already built into the client and that the user can use them at their own risk, but some servers might want to further control/limit their ability to use these features. This repository shows how to control this.
How to install the Badlion Client Mod API on your server.
- Download either the latest bukkit or bungee plugin from our releases (you don't need both, we recommend using the BungeeCord plugin if you are running BungeeCord): https://github.com/BadlionNetwork/BadlionClientModAPI/releases
- Place the downloaded plugin into your
plugins
directory on your server. - Turn on the BungeeCord or Bukkit server and a default config will be automatically made in
plugins/BadlionClientModAPI/config.json
- Edit the config as you see fit and reboot the server after you have finished editing the config (see below for more information).
- Clone this repository
- Compile the plugin(s) you want to use (you only need one per Minecraft network).
- Place the compiled plugins from the
target
directories into yourplugins
directory on your server. - Turn on the BungeeCord or Bukkit server and a default config will be automatically made in
plugins/BadlionClientModAPI/config.json
- Edit the config as you see fit and reboot the server after you have finished editing the config (see below for more information).
To make a config place the information below example into plugins/BadlionClientModAPI/config.json
. If you have any JSON errors it will not load the plugin properly. A quick and easy way to test that your JSON config is valid is to use this tool: https://jsonformatter.curiousconcept.com/
This example config will fully disable the waypoints and minimap mods. It will not disable togglesneak mod, but it will block the player from using the inventorySneak and flySpeed features of the togglesneak and togglesprint mods.
{
"modsDisallowed": {
"Waypoints": {
"disabled": true
},
"MiniMap": {
"disabled": true
},
"ToggleSneak": {
"disabled": false,
"extra_data": {
"inventorySneak": {
"disabled": true
}
}
},
"ToggleSprint": {
"disabled": false,
"extra_data": {
"flySpeed": {
"disabled": true
}
}
}
}
}
By default, Schematica printer cannot be enabled on servers. You need to specify that your server allows it using this API, like in this example :
{
"modsDisallowed": {
"Schematica": {
"disabled": false,
"extra_data": {
"printerEnabled": {
"forced": true
}
}
}
}
}
Instead of disabling the AutoText mod, you can specify a list of commands that you want to allow. Below is an example which allows the use of a few commands:
{
"modsDisallowed": {
"AutoText": {
"disabled": false,
"settings": {
"whitelistedCommands": [
"/warp",
"/help"
]
}
}
}
}
- Animations
- itemHeld
- itemSwitch
- hitBox
- inventory
- blockHit
- heartAnimation
- damageAnimation
- sneakingAnimation
- eatAnimation
- thrownItems
- fishingRod
- swordSwing
- bowAnimation
- alwaysSwing
- AntiXray
- ArmorStatus
- showMaxDurability
- showPercentage
- handPiece
- bootPiece
- leggingPiece
- chestPiece
- helmetPiece
- offHandPiece
- AutoFriend
- AutoGG
- AutoText
- AutoTip
- Block Overlay
- BlockInfo
- BossBar
- Chat
- textBackgroundShadow
- timeStamp24h
- timeStampBold
- antiSpam
- infiniteHistory
- emphasizeUsername
- boldEffect
- underlineEffect
- italicsEffect
- soundEffect
- Chunk Borders
- Clear Glass
- ClearWater
- Clock
- ColorSaturation
- Combo Counter
- Coordinates
- roundLocation
- biomeEnabled
- directionEnabled
- chunksEnabled
- hideXYZ
- hideC
- hideBiome
- textModCustomPrefix
- textModOneLine
- textModShowXZ
- textModShowY
- textModShowDirection
- textModShowBiome
- textModShowChunks
- biomeColors
- CPS
- reversed
- showDecimal
- Crosshair
- visibleHideGui
- visibleDebugScreen
- visibleSpectatorMode
- visibleThirdPerson
- highlightPlayer
- highlightHostile
- highlightPassive
- dynamicBow
- dynamicAttack
- outline
- dot
- vanillaBlendering
- Custom Fonts
- Direction
- EnchantGlint
- FOV Changer
- FPS
- reversed
- Fullbright
- Hit Color
- Hitboxes
- animalHitBoxesEnabled
- itemDropHitboxesEnabled
- monsterHitboxesEnabled
- playerHitboxesEnabled
- projectileHitboxesEnabled
- itemFrameHitboxesEnabled
- hideStuckArrows
- fireballHitboxesEnabled
- witherskullHitboxesEnabled
- arrowHitboxesEnabled
- fireworkrocketHitboxesEnabled
- snowballHitboxesEnabled
- xporbHitboxesEnabled
- InventoryBlur
- Item Counter
- Item Info
- Item Physics
- Item Tracker
- JustEnoughItems
- Keystrokes
- LevelHead
- Light Overlay
- Memory
- MiniMap
- MLG Cobweb
- MotionBlur
- MumbleLink
- Name History
- NickHider
- NotEnoughUpdates
- Notifications
- Pack Display
- Pack Tweaks
- Particles
- Perspective
- Ping
- Player Counter
- PotionStatus
- Protection
- Quickplay
- Reach Display
- Replay
- Saturation
- Schematica
- printerEnabled
- Scoreboard
- showNumbers
- removeNumberOffset
- Server Address
- showIcon
- Shinypots
- SkyblockAddons
- Stopwatch
- TcpNoDelay
- TeamSpeak
- TimeChanger
- Timers
- TNT Time
- ToggleChat
- ToggleSneak
- inventorySneak
- ToggleSprint
- flySpeed
- Uptime
- Waypoints
- WeatherChanger
- World Edit CUI
- Zoom
- useOptifineZoom