Configuration reference
File: plugins/Robbing/config.yml. Keys marked Premium exist only in Robbing Premium; lines marked Lite describe Robbing Lite.
General
Section titled “General”| Key | Default | Description |
|---|---|---|
enabled |
true |
Enable or disable the plugin. |
update-check |
true |
Automatically check for updates. |
language |
"en" |
Set the language of the plugin. |
prefix |
"§3[§6Robbing§3] §f" |
Prefix for plugin messages. |
Database
Section titled “Database”| Key | Default | Description |
|---|---|---|
database.type |
"SQLite" |
Type of database you chose to use. Premium: Supported tags are “SQLite” and “MySQL” only. Premium: NOTE: If you select “MySQL”, you should have your own hosted database. Lite: Robbing Lite supports “SQLite” only: MySQL comes with Robbing Premium. |
database.database-name |
"RobbingDB" |
Database name; you can leave this as default except in particular cases. |
database.mysql |
MySQL access data. Ignored if MySQL is not selected. Lite: Always ignored by Robbing Lite. |
|
database.mysql.address |
"localhost" |
MySQL server address. |
database.mysql.port |
"3306" |
MySQL server port. |
database.mysql.username |
"" |
Username for MySQL access. |
database.mysql.password |
"" |
Password for MySQL access. |
| Key | Default | Description |
|---|---|---|
rob.enabled |
true |
Whether the rob feature should be enabled or not. |
rob.alert |
true |
Enable alert to send to the robbed target. |
rob.blacklist |
Blacklist, if enabled all the items in the list will not be robbable. | |
rob.blacklist.enabled |
false |
|
rob.blacklist.items |
diamond, diamond_block |
Vanilla item names (diamond, gold_ingot, …, upper or lower case: https://minecraftitemids.com/). Robbing items are “robbing:” followed by the item id: “robbing:handcuffs”, “robbing:handcuffs_key”, “robbing:lockpick”, “robbing:safe”. |
rob.whitelist |
Whitelist, if enabled only the items in the list will be robbable. | |
rob.whitelist.enabled |
false |
|
rob.whitelist.items |
gold_ingot |
Same item names as the blacklist. |
rob.max-distance |
5 |
Max distance in blocks during robbing between the robber and the robbed. Beyond this distance, the robbed player’s inventory will be closed. |
rob.cooldown |
120 |
Cooldown setting (set timeout to 0 to disable). |
rob.sneak-to-rob |
true |
If enabled, sneak right-click to rob, otherwise just right-click. |
rob.blindness-after-robbing |
After a robbery, the target will be blinded. This option simulates a physical aggression to enhance realism. | |
rob.blindness-after-robbing.enabled |
false |
|
rob.blindness-after-robbing.duration |
5 |
Blindness duration in seconds. |
rob.NPC-rob |
false |
Whether players can rob NPCs or not. When false, NPCs are ignored: right-clicking them never opens a robbery nor sends a message. NPCs are recognised without depending on any NPC plugin: entities with the “NPC” metadata (Citizens and most NPC plugins) and player entities that are not connected players. Packet-based NPCs (e.g. FancyNpcs) are not server entities and are never affected. |
rob.catch-robber |
Catching a robber while robbing. If enabled, this feature will slow down the robber if the robbed player shift left-clicks on them. | |
rob.catch-robber.enabled |
true |
|
rob.catch-robber.can-jump |
false |
Whether the caught robber can jump until the effect ends. |
rob.catch-robber.slow-power |
5 |
Slow effect power after being caught. |
rob.catch-robber.duration |
20 |
Duration of the caught effects (in seconds). |
Handcuffing
Section titled “Handcuffing”| Key | Default | Description |
|---|---|---|
handcuffing.enabled |
true |
Whether the handcuffing feature should be enabled or not. |
handcuffing.update-check |
true |
Check if an update is out for Robbing plugin |
handcuffing.cooldown |
5 |
Set a cooldown before using handcuffs again (in seconds). |
handcuffing.escape |
Make it possible to escape from handcuffing. Handcuffed players have the “delay-handcuffing” time to escape from the handcuffer within the “distance” block. to avoid being handcuffed. | |
handcuffing.escape.enabled |
false |
|
handcuffing.escape.delay-handcuffing |
2 |
Delay handcuffing action after clicking (in seconds). This option gives the player the possibility to escape. |
handcuffing.escape.distance |
3 |
Distance to reach from the handcuffer to escape handcuffing. |
handcuffing.permitted-commands |
login, register |
Permitted commands while handcuffed. The first words of the command are compared, so “warp jail” allows /warp jail but not /warp spawn. Players with robbing.admin can always use commands. |
handcuffing.kidnap Premium |
Enable right-clicking on a handcuffed player to make them follow the sender. | |
handcuffing.kidnap.enabled Premium |
true |
Premium Only in Robbing Premium.
| Key | Default | Description |
|---|---|---|
safe.only_owner_can_break |
false |
If true, a locked safe can only be broken by the player who locked it (or by players with robbing.admin). |
safe.limit-locked-safes |
Set a max number of safes that a player can lock with /rb lock. | |
safe.limit-locked-safes.enabled |
false |
|
safe.limit-locked-safes.max-safes |
5 |
Maximum number of locked safes per player, when the limit is enabled. |
Lock picking
Section titled “Lock picking”Premium Only in Robbing Premium.
| Key | Default | Description |
|---|---|---|
lockpicking.enabled |
true |
Whether the lock picking feature should be enabled or not. |
Emergency call
Section titled “Emergency call”Premium Only in Robbing Premium.
When a player uses /911, every other player with robbing.police will receive a notification.
| Key | Default | Description |
|---|---|---|
emergencycall.enabled |
false |
Whether the emergency call feature should be enabled or not. |
emergencycall.cooldown |
10 |
Cooldown for /911 (in seconds), set to 0 to disable. |