rp-911-emergency

#2 - published 2 years ago

RP 911 Emergency

RP 911 Emergency:

This plugin allows a player to request help and have a police officer or similar respond to the emergency.

 

Commands:

  • “/emergency <message>” or “/police <message>” Requests help
  • “/mute” Mutes/Unmutes incoming 911 calls for themselves only
  • “/pos” or “/position” Shows your current position in co-ordinates so you can locate the player needing rescued
  • “/respond <player>” Responds to a 911 call from a player

 

Permissions:

  • “emergency.send” Allows a player to call 911
  • “emergency.receive” Allows a player to receive 911 calls
  • “emergency.respond” Allows a player to respond to a 911 call
  • “emergency.mute” Allows a player to mute incoming 911 calls

 

Configuration:

There is one configuration option called “ShowCoordinates”

If this is set to true 911 calls will display the location of the sender, otherwise they will not and the included message will have to be used to send the location.

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<RocketEmergencyConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ShowCoordinates>false</ShowCoordinates>
</RocketEmergencyConfiguration>

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="emergency" Value="[911 Emergency]: {0} Has requested help: &quot;{1}&quot;" />
  <Translation Id="emergencycoords" Value="[911 Emergency at X:{2} Y:{3} Z:{4}]: {0} Has requested help: &quot;{1}&quot;" />
  <Translation Id="pos" Value="Your position is: X:{0} Y:{1} Z:{2}" />
  <Translation Id="mute" Value="You are now set to NOT receive 911 calls" />
  <Translation Id="unmute" Value="You are now set to receive 911 calls" />
  <Translation Id="respond" Value="Ten four, {0} is responding to the emergency for {1}." />
  <Translation Id="noplayer" Value="Nobody with that name is online!" />
  <Translation Id="noemergency" Value="{0} is not in an emergency!" />
</Translations>

Commands and permissions


This plugin doesn't have any commands.

Git changelog


268cb6eff1aa05f 2017-04-18 07:54:25

Fixed rocket build folder

    Download

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

    Repository

    github.com

    License

    MIT

    Author

    NightFish