Info
The plugins allows players to automatically hit weak spots while gathering ore(weak spots) or trees(x Marker).
Configuration
In the plugin's configuration, the specified times for the "period start hour" and "period end hour" are inclusive. This means that when you set the start period at 19 hours (7 PM), the special period begins exactly at 7 PM. Similarly, if the end period is set for 7 hours (7 AM), the special period extends up until 7:59 AM, not just 7 AM. Therefore, with the start time at 19 and the end time at 7, the effective duration for the special period is from 7 PM to 7:59 AM the following morning.
all values in the black list should be entered in double quotes "".
{
"Automatically gather X Markers": true,
"Automatically gather Ore Weak spots": true,
"BlackList - false, whitelist - true": false,
"BlackList(false)": [
"stone_pickaxe.entity",
"pickaxe.entity",
"stonehatchet.entity"
],
"Whitelist(true)": [
"stonehatchet.entity",
"stone_pickaxe.entity",
"pickaxe.entity"
],
"ignore blacklist during period": true,
"Give players ability to turn off plugin for themselfs": true,
"period start hour": 19,
"period end hour": 10
}
Automatically gather X Markers - parameter that sets whether or not the X marker on the tree will be hit automatically
Automatically gather Ore Weak spots - parameter that sets whether the weak point in the ore will be automatically struck
Blacklist - is a list of objects that the plugin will not interact with in a certain way. For example, let's take the above described config file, if the player hits ore or wood with a hammer, the plugin will not automatically hit the "X" mark or a weak spot on the ore.
Whitelist - list of items that will ALWAYS hit weak spots.
"BlackList - false, whitelist - true" - if true - whitelist will be in use, if false - blacklist will be in use. (In example, black list will be used so pickaxe, stone hatchet and stone pickaxe will not hit weak spots at all time except period time)
always hit weak point during period - This parameter determines whether the plugin will automatically aim for weak spots on ore and the X marks on trees during a specific time period. When set to true, the plugin enables this feature during the hours defined by the "period start hour" and "period end hour"
period start hour - This parameter sets the hour when the special period begins each day, during which the plugin automatically targets weak spots and X marks. The hour is given in a 24-hour format. For example, a value of 19 represents 7 PM.
period end hour - This parameter sets the hour when the special period ends each day. Similar to the start hour, it is also given in a 24-hour format. A value of 7 represents 7 AM. This setting allows the plugin to automatically target weak spots or X marks from 7 PM to 7 AM, assuming the "always hit weak point during period" is set to true.
Give players ability to turn off plugin for themselfs(when true) - Enables the /gatheraway command for all players with the gatheraway.use permission. Players can use this command to toggle the plugin on or off for themselves.
Permissions
Permission name is gatheraway.use.
Localization
Support
If you have any idea how to improve plugin, or you find some problems or errors, please contact me on uMod or discord: as_notchu
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.

