About OneHit
OneHit is a powerful plugin that allows players to destroy or kill barrels, NPCs, animals, and road signs with just one hit. This plugin provides a comprehensive configuration that enables server administrators to customize the functionality of OneHit to their liking.
Key Features:
Customizable Configuration: In the plugin configuration, server administrators have full control over how OneHit operates. They can specify when OneHit should be active for specific animals, NPCs, barrels, and road signs.
Activation and Deactivation: The plugin offers the "/onehit" command, which allows players to toggle the OneHit functionality on or off as needed. To activate this command, players require the "onehit.use" permission.
Radius Setting: Server administrators can also set a radius in the configuration within which the OneHit functionality will be applied. This provides precise control over how far-reaching players' OneHit actions should be.
AutoLoot Functionality: In the configuration, there is an option to enable or disable the AutoLoot function for barrels and road signs. This allows players to conveniently gather loot or turn off this option to create a more realistic gaming experience.
OneHit offers a user-friendly way to customize destruction and killing in your game, allowing server administrators to tailor the player experience to their preferences. To enable the OneHit command, make sure to grant players the "onehit.use" permission.
{
"OneHitEntities": {
"stag": true,
"boar": true,
"bear": true,
"polarbear": true,
"wolf": true,
"testridablehorse": true,
"chicken": true,
"loot-barrel-1": true,
"loot_barrel_1": true,
"loot-barrel-2": true,
"loot_barrel_2": true,
"oil_barrel": true,
"scientistnpc_patrol": true,
"scientistnpc_junkpile_pistol": true,
"scientistnpc_peacekeeper": true,
"scientistnpc_excavator": true,
"scientistnpc_full_any": true,
"scientistnpc_full_lr300": true,
"scientistnpc_oilrig": true,
"scientistnpc_heavy": true,
"scientistnpc_full_shotgun": true,
"scarecrow": true,
"roadsign1": true,
"roadsign1static": true,
"roadsign2": true,
"roadsign2static": true,
"roadsign3": true,
"roadsign3static": true,
"roadsign4": true,
"roadsign4static": true,
"roadsign5": true,
"roadsign5static": true,
"roadsign6": true,
"roadsign6static": true,
"roadsign7": true,
"roadsign7static": true,
"roadsign8": true,
"roadsign8static": true,
"roadsign9": true,
"roadsign9static": true
},
"UsePermission": true,
"EnableCommand": true,
"CommandName": "onehit",
"AutoLootBarrels": true,
"AutoLootRoadSigns": true,
"OneHitRadius": 5.0,
"AutoLootRadius": 5.0
}
If you have any questions or problems, join my discord
https://discord.gg/D2zTWCEnrN