Clearshot
Farming made easy. Take control of farming with binds.

Supported Games

Say goodbye to tedious farming! Take control of farming with binds.

Permissions

  • farmtools.clone -- Allows player to clone a single plant in a planter or on terrain
  • farmtools.clone.all -- Allows player to clone all plants in a planter
  • farmtools.harvest.all -- Allows player to harvest all plants or remove all dying plants from planter
  • farmtools.plant.all -- Allows player to plant all seeds in their hand in the target planter
  • farmtools.genes -- Allows player to copy genes to a note from a planter box or storage container

Chat Commands

  • /farmtools -- Help chat command
  • /clone -- Clone chat command
  • /cloneall -- Clone all chat command
  • /harvestall -- Harvest all chat command
  • /plantall -- Plant all chat command
  • /genes -- Genes chat command

Console Commands

  • farmtools.clone -- Take clone from plant
  • farmtools.cloneall -- Clone all plants from planter
  • farmtools.harvestall -- Harvest all plants or remove all dying plants from planter
  • farmtools.plantall -- Plant all seeds in the target planter
  • farmtools.genes -- Copy genes to a note from a planter box or storage container

Note: The farmtools.clone command works best when looking at the root of a plant. Larger plants like corn or hemp will not register if you are looking at the top of the plant.

Configuration

{
  "chatIconID": "0",
  "printGenesToConsole": true,
  "geneCooldown": 10.0
}

chatIconID

SteamID for rust chat icon

printGenesToConsole

Users with the farmtools.genes permission can copy genes from the F1 console with console.copy

geneCooldown

Genes anti-spam cooldown

Localization

{
  "ChatPrefix": "<color=#00a7fe>[Farm Tools]</color>",
  "NoPerms": "<size=12>You do not have permission to use <color=#00a7fe>{0}</color>!</size>",
  "HelpTitle": "<size=16><color=#00a7fe>Farm Tools</color> Help</size>\n",
  "Help": "<size=12>Bind a key to a FarmTools command using the F1 console</size>\n",
  "HelpClone": "<size=12>Take clone from a single plant\n<color=#00a7fe>bind <key> farmtools.clone</color>\nchat command: <color=#00a7fe>/clone</color></size>",
  "HelpCloneAll": "\n<size=12>Take all clones from a planter\n<color=#00a7fe>bind <key> farmtools.cloneall</color>\nchat command: <color=#00a7fe>/cloneall</color></size>",
  "HelpHarvestAll": "\n<size=12>Harvest all plants or remove dying plants from a planter\n<color=#00a7fe>bind <key> farmtools.harvestall</color>\nchat command: <color=#00a7fe>/harvestall</color></size>",
  "HelpPlantAll": "\n<size=12>Plant all seeds in the target planter\n<color=#00a7fe>bind <key> farmtools.plantall</color>\nchat command: <color=#00a7fe>/plantall</color></size>",
  "HelpGenes": "\n<size=12>Copy genes from a planter box or storage container\n<color=#00a7fe>bind <key> farmtools.genes</color>\nchat command: <color=#00a7fe>/genes</color></size>",
  "PlanterGenes": "][ Planter Genes ][",
  "ContainerGenes": "][ Container Genes ][",
  "GeneNote": "A note with genes has been added to your inventory.\n\nGenes can also be copied from the F1 console with <color=#00a7fe>console.copy</color>.",
  "InvalidGeneEntity": "Unable to find genes! Look at a <color=#00a7fe>Planter Box</color> or <color=#00a7fe>Storage Container</color> and try again.",
  "CommandCooldown": "Please wait <color=#00a7fe>{0}s</color>!"
}

Genes

Example gene output:

][ Planter Genes ][

Blue Berry
HXGWHH
WGWWGY

Green Berry
XGGXXX

Corn
XGYWGH

Yellow Berry
GHGXWW

Red Berry
WHHWYH

Hemp Seed
XYGWHW

Potato
WHYHGH

Pumpkin
YYGGGH

Credits

  • misticos for help with Unity-related code.
MIT License

Copyright (c) 2021 Clearshot

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.