MachiningTools
Данный плагин позволяет вам выдавать игрокам инструменты, которые будут добывать сразу переработанный ресурс. В плагине вы можете настроить привилегию, требующуюся для выполнения команды, саму команду, а так же каждый инструмент по отдельности...
rustplugin.ru
This plugin allows you to give players tools that automatically gather refined resources instead of raw materials.
In the plugin configuration you can customize:
• The permission required to use the command
• The command itself
• Each tool individually
Compatibility
Starting from version 1.2.0, the plugin works with backpack, duel, and kit plugins (native support). This means that these plugins can store the actual item itself, not just the command used to give it, and restore it correctly when returning a player's inventory.The plugin works using a ShortName + SkinID combination.
If the skin value is set to 0, then all default items of that type will process resources.
Make sure to check your configuration file and change the skin value from 0 to specific skin IDs if you do not want this behavior.
Important note when updating from older versions to 1.2.2
There is a small limitation that must be addressed by other plugins:Many inventory-saving plugins do not store the item.name field.
Because of this, after a backpack plugin reload, the player may receive the item with its default name.
However, the tool will still function correctly.
Configuration logic
The plugin identifies items using a ShortName + SkinID pair.These two values must be unique for every configured item.
Reminder for plugin versions below 1.2.0
Each item can be configured individually with:• Repair availability
• Recycler dismantling availability
• A list of resources that the tool will refine
Default tools included in the plugin
The plugin initially includes six tools:• Hatchet (Metal Hatchet)
• Pickaxe (Metal Pickaxe)
• IcePick (Salvaged Ice Pick)
• Axe (Stone Hatchet)
• Chainsaw
• Jackhammer
Keep in mind that tools in Rust can only gather the resources they are designed for:
• Axes do not mine ore
• Pickaxes do not gather wood
Command
The default command for giving tools is:givetool
It can be used both in chat (with /) and in the console.
Command format
givetool <player_name_or_ID> <item1> [item2] [item3] ...<br>You can give any number of items at once.
If any item name is incorrect, no items will be given.
Usage examples
Give one item:givetool Vlad-00003 hatchet<br>
Give two items:
givetool Vlad-00003 icepick axe<br>
Example for shop integration:
givetool %STEAMID% hatchet pickaxe<br>
Gives a metal pickaxe and hatchet.
givetool %STEAMID% axe icepick<br>
Gives a stone hatchet and salvaged ice pick.
Item names are taken from the configuration file (for example: "newtool").
Important notice
A compatibility issue was discovered with the popular game shop service GameStores.When executing commands, GameStores converts the entire command to lowercase.
If your item names contain uppercase letters, this may cause command errors.
Be careful when naming items in the configuration.
Automatic case conversion was not implemented intentionally, because some administrators may want to create different items with different letter cases.
You are responsible for ensuring your configuration is correct.