MrBlue
Players can steal money, points, and/or items from other players

Supported Games
GameServerKingsGameServerKings

Robbery allows players to steal money, points, and/or items from other players by pickpocketing (sneaking from behind with use key) or mugging them (attacking from any direction.)

The percent of money that can be stolen is customizable and based on if the victim is awake or sleeping. Items are stolen one random slot at a time, with the entire item stack being stolen if there is an item in the randomly selected slot.

This plugin also supports Zone Manager/Event Manager, whereas it will disable robbery if the victim is in an event or a zone where they have the "noplayerloot" flag.

Both Friends API and Rust:IO Friends are supported, so if the target victim has the attacker as a friend, they can't be robbed. The same applies to the Clans, Rust:IO Clans, and Factions plugins.

Dependencies

  • Clans (optional)
  • Event Manager (optional)
  • Factions (optional)
  • Friends API (optional)
  • Rust:IO (optional)
  • Rust:IO Clans (optional)
  • Server Rewards (optional)
  • UEconomics (optional)
  • Zone Manager (optional)

Permissions

  • robbery.killing -- Allows stealing by killing another player
  • robbery.mugging -- Allows stealing by attacking from any direction
  • robbery.pickpocket -- Allows stealing by stealth, behind victim and use key
  • robbery.protection -- Protects players from being mugged or pickpocketed

Configuration

{
  "Allow item stealing (true/false)": true,
  "Allow money stealing (true/false)": true,
  "Allow point stealing (true/false)": true,
  "Clan protection (true/false)": false,
  "Friend protection (true/false)": false,
  "Maximum chance of stealing an item (0 - 100)": 25,
  "Maximum chance of stealing money (0 - 100)": 50,
  "Maximum chance of stealing points (0 - 100)": 50,
  "Usage cooldown (seconds, 0 to disable)": 30
}

Localization

Credits

  • TheRotAG, for the original RotAG-Roubo plugin in Lua
  • Wulf, the original author of this plugin

MIT License, with distribution exclusivity for uMod.org


Copyright (c) 2020 Wulf


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.