Netherkitteh
Shows a crosshair on the screen

Supported Games
depends on

The plugin shows a crosshair on the screen consisting of icons which can be changed as desired by editing the URL in the configuration file. This plugin was made for my server and not passed tionless testing.

Default chat command and console command is crosshair, but you can change it in the configuration file.

Permissions

  • showcrosshair.allowed -- Allows player to use the crosshair

Commands

  • crosshair - Open crosshair selection menu

Console Commands

  • loadcrosshairimages - Reload the images

Configuration

{
  "Color": {
    "ColorBackground": "0 0 0 0.7",
    "ColorButtonClose": "0 0 0 0.7",
    "ColorButtonDisable": "0 0 0 0.7",
    "ColorButtonToggle": "0 0 0 0.7"
  },
  "Image": {
    "background": "https://image.ibb.co/fNyDXS/background.png",
    "background2": "https://image.ibb.co/g8eRmn/background2.png",
    "crosshair1": "https://image.ibb.co/jC4Fe7/image1.png",
    "crosshair2": "https://image.ibb.co/k0zFe7/image2.png",
    "crosshair3": "https://image.ibb.co/fjP3XS/image3.png",
    "crosshair4": "https://image.ibb.co/erAcsS/image4.png",
    "crosshair5": "https://image.ibb.co/fufcsS/image5.png",
    "crosshair6": "https://image.ibb.co/cxymmn/image6.png",
    "crosshair7": "https://image.ibb.co/j271K7/image7.png",
    "crosshair8": "https://image.ibb.co/dko8z7/image8.png"
  },
  "Options": {
    "CommandMenu": "crosshair",
    "EnableSound": true,
    "HideWhenAiming": true,
    "List of weapons with disabled crosshair while aiming": [
      "Eoka Pistol",
      "Custom SMG",
      "Assault Rifle",
      "Bolt Action Rifle",
      "Waterpipe Shotgun",
      "Revolver",
      "Thompson",
      "Semi-Automatic Rifle",
      "Semi-Automatic Pistol",
      "Pump Shotgun",
      "M249",
      "Flame Thrower",
      "Double Barrel Shotgun",
      "MP5A4",
      "LR-300 Assault Rifle",
      "M92 Pistol",
      "Python Revolver",
      "Crossbow"
    ],
    "ShowMessage": true,
    "ShowOnLogin": false,
    "UsePermissions": false
  },
  "Sound": {
    "SoundDisable": "assets/prefabs/locks/keypad/effects/lock.code.lock.prefab",
    "SoundOpen": "assets/bundled/prefabs/fx/build/promote_metal.prefab",
    "SoundSelect": "assets/prefabs/locks/keypad/effects/lock.code.unlock.prefab",
    "SoundToggle": "assets/prefabs/misc/xmas/presents/effects/unwrap.prefab"
  }
}

Credits

  • Marat, the original author of the plugin
This plugin is unlicensed and the original author reserves all rights to it.

The original author may request that this plugin be removed and there is a risk that the plugin may be unavailable in the future.

Note that the current maintainer may not have permission to assign a license to the plugin if they are not the original author, so explicit permission would need to be obtained from the original author in order for the plugin to remain openly available and guarantee that it will be around for all to enjoy going forward.