Raid Alerts allows players with permissions to recieve alerts in chat when an explosive is fired or thrown as a type of raid alert. You can also configure it to send alerts to Discord.

Supported Games

Raid Alerts allows players with permissions to recieve alerts in chat when an explosive is fired or thrown as a type of raid alert. You can also configure it to send alerts to Discord.

Permissions

  • raidalerts.use - Allows a player with permission to use the commands required for the plugin.

Commands

  • /alerts (on/off) - Allows you to turn the alerts on or off for in chat messages.

Localization

{
  "IncorrectArgs": "You are using the command incorrectly. Try /alerts on or /alerts off.",
  "AlreadyReceiving": "You are already receiving alerts. Try /alerts off.",
  "NotReceiving": "You are not receiving alerts. Try /alerts on.",
  "NowReceiving": "You will now receive alerts when a raid is happening.",
  "NoLongerReceiving": "You will no longer receive alerts when a raid is happening.",
  "ThrownAlert": "{0} has thrown a {1} at the location {2}.",
  "FiredAlert": "{0} has fired a rocket at the location {1}.",
  "ExploFiredAlert": "{0} has fired explosive ammo at the location {1}.",
  "NoPerm": "You don't have the permissions to use this command."
}

Note: If adjusting a language value with variables make sure to keep the {0} and {1} in the same order.

Configuration

{
  "UseWebhook": false,
  "WebhookURL": ""
}

MIT License


Copyright (c) 2020 Ryz0r


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.