advanced-robnraid

#7 - published a year ago

AdvancedRobnRaid

AdvancedRobnRaid Plugin

 

AdvancedRobnRaid allows players to be within a certain radius of another player before they can rob that player. No more fake robberies and chat spamming!

 

Configuration

<PlayerNotFoundColor>Yellow</PlayerNotFoundColor>
# If the player is not found on the server, This is the color of the error message.

<RobMessageColor>Red</RobMessageColor>
# Color of the message that will be broadcasted if a player is being robbed.

<RobOverMessageColor>Blue</RobOverMessageColor>
# Color of the message that will be broadcasted once the robber is finished robbing.

<RobAssistMessageColor>Magenta</RobAssistMessageColor>
# Color of the message that will be broadcasted if a player is assisting in a robbery.

<RaidMessageColor>Red</RaidMessageColor>
# Color of the message that will be broadcasted if a player is raiding.

<RaidOverMessageColor>Blue</RaidOverMessageColor>
# Color of the message that will be broadcasted if the raid is over.

<RobAssistMessageColor>Magenta</RobAssistMessageColor>
# Color of the message that will be broadcast if a player is assisiting in a raid.

<MaxRobDistanceInMetres>5</MaxRobDistanceInMetres>
# The Radius "robber" must be within "victim" for "robber" to rob "victim"

<MaxRobAssistDistanceInMetres>5</MaxRobAssistDistanceInMetres>
# The Radius "assister" must be within "robber" for "assister" to assist in the robbery.

<MaxRaidAssistDistanceInMetres>5</MaxRaidAssistDistanceInMetres>
# The Radius "assister" must be withing "raider" for "assister" to assist in the raid.

 

Translation

<Translation Id="player_not_found" Value="Error: Player not found." />
<Translation Id="rob_translation" Value="{0} is robbing {1} at {2}!" />
<Translation Id="raid_translation" Value="{0} is raiding a base at {1}!" />
<Translation Id="raid_assist_translation" Value="{0} is assisting {1} in a raid!" />
<Translation Id="raid_usage" Value="Error: Try /raid &lt;location&gt;" />
<Translation Id="rob_usage" Value="Error: Try /rob &lt;player&gt; &lt;location&gt;" />
<Translation Id="raid_assist_usage" Value="Error: Try /raidassist &lt;player&gt;" />
<Translation Id="raid_assist_too_far" Value="Error: You're too far from the player!" />
<Translation Id="rob_over_translation" Value="{0} has finished robbing {1}!" />
<Translation Id="rob_too_far" Value="Error: You're too far from the player!" />
<Translation Id="robassist_too_far" Value="Error: You're too far from the robber!" />
<Translation Id="rob_over_usage" Value="Error: Try /robover &lt;player&gt;" />
<Translation Id="raid_over_translation" Value="{0} has finished raiding!" />
<Translation Id="rob_assist_usage" Value="Error: Try /robassist &lt;player&gt;" />
<Translation Id="rob_assist_translation" Value="{0} is assisting {1} in a robbery!" />

 

Permissions

  • “rob”
  • “raid”
  • “robover”
  • “raidover”
  • “robassist”
  • “raidassist”

 

Commands

  • “/rob <player> <location>”
  • “/raid <location>”
  • “/robover <player>”
  • “/raidover”
  • “/robassist <player>”
  • “/raidassist <player>”

 

Examples

  • /rob Bullet_Tide Alberton
  • /raid “Big base at military base”
  • /robover Bullet_Tide
  • /raidover
  • /robassist John
  • /raidassist Jeff

 

 

Feel free to leave any suggestions or problems below!

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<Configuration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PlayerNotFoundColor>Yellow</PlayerNotFoundColor>
  <RobMessageColor>Red</RobMessageColor>
  <RobOverMessageColor>Blue</RobOverMessageColor>
  <RobAssistMessageColor>Magenta</RobAssistMessageColor>
  <RaidMessageColor>Red</RaidMessageColor>
  <RaidAssistMessageColor>Magenta</RaidAssistMessageColor>
  <RaidOverMessageColor>Blue</RaidOverMessageColor>
  <MaxRobDistanceInMetres>5</MaxRobDistanceInMetres>
  <MaxRobAssistDistanceInMetres>5</MaxRobAssistDistanceInMetres>
  <MaxRaidAssistDistanceInMetres>5</MaxRaidAssistDistanceInMetres>
</Configuration>

Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="player_not_found" Value="Error: Player not found." />
  <Translation Id="rob_translation" Value="{0} is robbing {1} at {2}!" />
  <Translation Id="raid_translation" Value="{0} is raiding a base at {1}!" />
  <Translation Id="raid_assist_translation" Value="{0} is assisting {1} in a raid!" />
  <Translation Id="raid_usage" Value="Error: Try /raid &lt;location&gt;" />
  <Translation Id="rob_usage" Value="Error: Try /rob &lt;player&gt; &lt;location&gt;" />
  <Translation Id="raid_assist_usage" Value="Error: Try /raidassist &lt;player&gt;" />
  <Translation Id="raid_assist_too_far" Value="Error: You're too far from the player!" />
  <Translation Id="rob_over_translation" Value="{0} has finished robbing {1}!" />
  <Translation Id="rob_too_far" Value="Error: You're too far from the player!" />
  <Translation Id="robassist_too_far" Value="Error: You're too far from the robber!" />
  <Translation Id="rob_over_usage" Value="Error: Try /robover &lt;player&gt;" />
  <Translation Id="raid_over_translation" Value="{0} has finished raiding!" />
  <Translation Id="rob_assist_usage" Value="Error: Try /robassist &lt;player&gt;" />
  <Translation Id="rob_assist_translation" Value="{0} is assisting {1} in a robbery!" />
</Translations>

Commands and permissions


/raidassist <player>

Permissions: raidassist

Command to assisting a raid!


/raidover

Permissions: raidover

Command to finish raiding!


/robassist <player>

Permissions: robassist

Command to assisting a robbery!


/robover <player>

Permissions: robover

Command to finish robbing!


/raid <location>

Permissions: raid

This is a raiding command.


/rob /rob <name> <location>

Permissions: rob

This is a robbing command.


Git changelog


617d829f608ae9d 2017-06-24 12:19:36

Added "RaidAssistCommand"

    7d83e96bfbafa0b 2017-05-29 16:00:00

    ...

      3a5e184203493b7 2017-05-26 11:21:02

      ...

        7b5a04e272c516c 2017-05-21 04:21:16

        Added MaxRobAssistDistanceInMetres

          ac99fff9ba28bac 2017-05-20 17:15:51

          ...

            431ea2665f332b7 2017-05-20 17:05:32

            ...

              9667873de733dda 2017-05-20 12:48:24

              ...

                1ae7256b61a081b 2017-05-20 12:45:54

                ...

                  f71590f19db2db3 2017-05-20 12:43:00

                  Added "Player_Not_Found"

                    e0e47b16d33c353 2017-05-20 12:25:10

                    Added Distance

                      cae00d5a18572be 2017-04-19 19:56:49

                      Some Additions

                        a033bbd3f38b495 2017-04-13 14:21:29

                        Changes

                          70cc1020fd2ff95 2017-04-13 11:32:18

                          Small Change

                            Download

                            Build #7
                            By downloading this file, you agree to our license terms.

                            Repository

                            github.com

                            License

                            MIT

                            Author

                            Bullet_Tide