Configuration
Open your plugin folder, and nextly Robber folder. Here you can find the file config.yml
, open it with a texteditor (like notepad).
Config Example
Inside config.yml
search the section robbing
, it will looks like this:
Description of all Robbing settings in the config.
enabled
Type: boolean
Default: true
Usage:
If true
the robbing will be enabled in your server.
Set false
to disable this mechanic.
alert
Type: boolean
Default: true
Usage:
If true
the target of the theft will receive an alert.
Set false
to disable theft alerts.
blacklist.enabled
Type: boolean
Default: false
Usage:
If true
the blacklist will e enabled.
blacklist.items
Type: list
Default:
Usage:
Add the items you want to make immune to theft in this list.
whitelist.enabled
Type: boolean
Default: false
Usage:
If true
the whitelist will e enabled.
whitelist.items
Type: list
Default:
Usage:
Add the items you want to make immune to theft in this list.
max_distance
Type: integer
Default: 5
Usage:
Distance beyond which the attempted theft, once this distance is exceeded, the victim's inventory will be closed to the thief.
cooldown
Type: integer
Default: 120
Usage:
Interval in seconds between one theft and another, to disable it, set the parameter to 0.
sneak-to-rob
Type: boolean
Default: true
Usage:
If true
the thief have to shift + right click to start a rob, if false
just right click will be enough.
blindness-after-robbing.enabled
Type: boolean
Default: false
Usage:
If true
, the victim of a theft will receive temporary blindness.
blindness-after-robbing.duration
Type: integer
Default: 5
Usage: to operate it is necessary to have blindness_after_robbing enabled.
Interval between one theft and another, to disable it, set the parameter to 0.
catch-robber.enabled
Type: boolean
Default: true
Usage:
If true
the target of a rob will be able to catch his robber.
Set false
to disable this mechanic.
catch-robber.can-jump
Type: boolean
Default: false
Usage: to operate it is necessary to have catch-robber enabled.
If true
jump will be denied to the caught robber.
Set false
to disable this mechanic.
catch-robber.slow-power
Type: integer
Default: 5
Usage: to operate it is necessary to have catch-robber enabled.
Power of slowness to apply to caught robber.
catch-robber.duration
Type: integer
Default: 20
Usage: to operate it is necessary to have catch-robber enabled.
Sets how long the slowness on the caught thief should last