Jump to content

APDistance 1.1.26

$5.00
   (0 reviews)

4 Screenshots

About APDistance

APDistance is an essential Rust plugin designed to enhance server management by tracking and reporting proximity violations between players. This plugin is perfect for server administrators who want to enforce social distancing rules or prevent player clustering in specific areas.


Key Features:

  1. Proximity Detection: Automatically detects when players come within a specified distance of each other, configurable via the Detection Distance setting.
  2. Configurable Check Intervals: Set how frequently the plugin checks for proximity violations with the Check Interval option.
  3. Threshold Reporting: Define the number of checks that must pass before a violation is reported using the Report Threshold setting.
  4. Player Notifications: Notify players when they are too close to others with customizable messages.
  5. Discord Integration: Send notifications of violations directly to a Discord channel using a webhook.
  6. Language Support: Fully supports both English and Russian, with built-in localization for additional languages like Ukrainian and Polish.
  7. Admin Console Messages: Customize admin notifications with the Admin Message Console setting.


Commands:

/distance "on" or "of"

Toggle the distance ignore feature for a player, requiring the apdistance.ignore permission.


Permissions:

apdistance.ignore
apdistance.notify 

Grants players the ability to toggle the distance ignore feature.

Added a new permission apdistance.notify to receive admin notifications.

Modified the NotifyPlayersAndAdmin method to check for the apdistance.notify permission for players who will receive notifications.

Configuration:

  • Detection Distance: Set the proximity distance to trigger checks (default: 50.0 meters).
  • Check Interval: Interval in seconds between proximity checks (default: 10.0 seconds).
  • Report Threshold: Number of consecutive checks required to report a violation (default: 3 checks).
  • Player Notify Threshold: Number of consecutive checks before notifying players (default: 3 checks).
  • Send To Discord: Enable or disable sending notifications to Discord (default: true).
  • Discord Webhook Url: URL of the Discord webhook to send notifications to.
  • Send Test Message On Load: Send a test message to Discord on plugin load (default: true).
  • Admin Message Console: Format of the admin console message for proximity violations.


Configuration CODE:

{
  "Admin Message Console": "{0} and {1} are closer than {2} meters for {3} checks.",
  "Check Interval": 10.0,
  "Detection Distance": 50.0,
  "Discord Webhook Url": "",
  "Player Notify Threshold": 3,
  "Report Threshold": 3,
  "Send Test Message On Load": true,
  "Send To Discord": true
}



Installation:

  1. Download the APDistance plugin from Codefling.
  2. Place the plugin file in your server's oxide/plugins directory.
  3. Restart your server or load the plugin using the command.
o.reload APDistance

 


VORON's Collection

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2.1m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.