Coder Social home page Coder Social logo

qradar's Introduction

QRadar

Simple player radar for world objects

When the player types the command, the plugin scans the area for entities within a specified range. It then places on-screen text at the location of those entities, color-coded by type. This stays on the screen for a specified number of seconds.

If the player also has the qradar.held permission, they can spawn a geiger counter.

  • Once held, they can use the main FIRE button to perform the same scan as with the /qradar command.

  • They can also use the FIRE2 button to describe an item in front of them.

  • If "specialHandlingForGC" is true (default):

    • They can move the geiger counter (or any geiger counter) between their belt and main inventory, or to and from a backpack (using the Backpacks plugin).
    • If they drop the geiger counter, it will disappear.
    • When they disconnect, the geiger counter will be removed from their inventory or backpack.

Command

  • /qradar -- Begin search from player location

This may be one of those commands you will want to bind to a key. Open the F1 console and type, e.g.:

  • bind y qradar

  • /qcounter -- Spawn a geiger counter to use for also describing viewed items

Permission

  • qradar.use -- Allow running the the /qradar command
  • qradar.held -- Allow spawning of a geiger counter using /qcounter (limit of one)

Configuration

{
  "playSound": true,
  "range": 50.0,
  "duration": 10.0,
  "frequency": 20.0,
  "showPlayersForAdmin" : true,
  "showPlayersForAll": false,
  "specialHandlingForGC": true,
  "Version": {
    "Major": 1,
    "Minor": 0,
    "Patch": 3
  }
}
  • playSound -- play a sound when the command is run (or bound key)
  • range -- How far out should the tool look for entities
  • duration -- How long should the text remain on screen
  • frequency -- How often are players allowed to use the command
  • showPlayersForAdmin -- Admin can also see other players / scientists
  • showPlayersForAll -- Players can also see other players / scientists

NOTES

Currently, the plugin will not display items within range of a tool cupboard. The goal here is to find resources and players, not scope out the inside of someone's home.

The special handling of geiger counters is mainly set to prevent abuse (infinite respawning to gain recycleable materials, etc.).

qradar's People

Contributors

rfc1920 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.