Sniper Challenge
sniperchallange p Sniper Challenge
20210814174758 1 Sniper Challenge
20210814134511 1 Sniper Challenge
20210814134433 1 Sniper Challenge
20210814101059 1 Sniper Challenge
 

Sniper Challenge

This plugin gives the possibility to trigger a timed events or an event between two server restart. The event will choose randomly a weapon category and reward will be given based on the distance and the place.

$15.00

Sold By: Kaucsenta

Description

About Sniper Challenge

This plugin gives the possibility to trigger a timed event or an event between two server restarts. The event will choose randomly a weapon category.

During the event, after the minimum category distance was achieved, the player will be on the leader board. The less attachment the weapon has, the players can earn extra percentage points, which is the count at the end, when the rewards are given. For example, if the first place is worth 50 and the reward type is a Small Halloween Bag, and the player had no attachment on the weapon what he used, then he got a 100% extra point, which will double the price and he will get 100 Small Halloween Bag. Each additional attachment deducts ~33%. So for example, if the player has a Flashlight, a Scope and a Silencer, he will get 0% extra point in the end. (With the attachment-less weapon, automatically 100% bonus given)

If the Players not gain points, they will be not listed on the Scoreboard. Rewards can be claimed after the event(s) are over.

First event will start after 5 min as soon as the plugin loaded in.

The plugin have several protection against wrong configuration.

  • If no weapon category is enabled, no event will started and message will be written to the server console.
  • If no reward or invalid reward number set in the configuration, list of rewards will be cleared, 0 and 1 will be added as default (see the meaning below).
  • If ServerRewards plugin is not installed, this type of reward will be not selected.
  • If Economics plugin is not installed, this type of reward will be not selected.

Configuration

Default configuration:

{
  "minimum_hour_before_reset": 12,
  "event_duration_in_hour": 6,
  "event_reward_type": "0, 1, 2, 3",
  "event_top1_reward": 50,
  "event_top2_reward": 40,
  "event_top3_reward": 30,
  "rp_reward_multiplier": 10,
  "economics_reward_multiplier" : 10.0,
  "additional_winners_reward": 15,
  "max_winners": 10,
  "event_based_challenge": false,
  "reminder_enabled": true,
  "reminder_time_in_minute": 30
  "SC_UIPanel_Color": "0.39 0.39 0.39 0.8",
  "SC_Player_Color": "0.76 0.90 0.29 1",
  "SC_Description_Color": "0.76 0.90 0.29 1",
  "SC_Description_Color_Img": "0.39 0.39 0.39 0.9",
  "SC_Distance_Color": "0.76 0.90 0.29 1",
  "SC_Weapon_Color": "0.76 0.90 0.29 1",
  "SC_Extra_point_Color": "0.76 0.90 0.29 1",
  "SC_Title_Color": "0.76 0.90 0.29 1",
  "SC_CloseButton_Color": "0.5 0.5 0.5 1",
  "SC_Close_Color": "0.76 0.90 0.29 1",
  "rifle_weapon_cat": [
    "lr300.entity",
    "l96.entity",
    "m39.entity",
    "semi_auto_rifle.entity",
    "ak47u.entity",
    "bolt_rifle.entity"
  ],
  "rifle_weapon_cat_enabled": true,
  "rifle_weapon_cat_min_dist": 100.0,
  "smg_weapon_cat": [
    "smg.entity",
    "thompson.entity",
    "mp5.entity",
    "m249.entity"
  ],
  "smg_weapon_cat_enabled": true,
  "smg_weapon_cat_min_dist": 100.0,
  "shotgun_weapon_cat": [
    "double_shotgun.entity",
    "shotgun_waterpipe.entity",
    "shotgun_pump.entity",
    "spas12.entity"
  ],
  "shotgun_weapon_cat_enabled": true,
  "shotgun_weapon_cat_min_dist": 100.0,
  "pistol_weapon_cat": [
    "pistol_eoka.entity",
    "m92.entity",
    "python.entity",
    "pistol_revolver.entity",
    "nailgun.entity",
    "pistol_semiauto.entity"
  ],
  "pistol_weapon_cat_enabled": true,
  "pistol_weapon_cat_min_dist": 100.0,
  "bow_weapon_cat": [
    "bow_hunting.entity",
    "compound_bow.entity",
    "crossbow.entity"
  ],
  "bow_weapon_cat_enabled": true,
  "bow_weapon_cat_min_dist": 50.0,
}

Definition of configurations:

event_based_challenge - If it is set to false, then a server start to server restart long event will be active, and "minimum_hour_before_reset" hour need to be between the two to give reward to the players (it is for avoid too many reward in case of often server restarts)
minimum_hour_before_reset - If "event_based_challenge" is set to false, then a server start to server restart long event will be active, and "minimum_hour_before_reset" hour need to be between the two to give reward to the players (it is for avoid too many reward in case of often server restarts)
event_duration_in_hour - If event_based_challenge set to true, then the given hour long events will be started, and as soon as the event is over, the next X hour long will started
event_reward_type : 
   0 - (Bronze Easter Egg - item ID: 844440409) 
   1 - ( Small Halloween Bag item ID: 1319617282) 
   2 - RP point from ServerRewards plugin [if installed, if not, it can not be choosen even if in the list](https://umod.org/plugins/server-rewards) 
   3 - Economics point from Economics plugin [if installed, if not, it can not be choosen even if in the list](https://umod.org/plugins/economics)
max_winners - maximum number of rewarded player, after the first 3 place, the additional_winners_reward amount will be given 
event_top1_reward - Amount of choosen item/RP(base for a the rp_reward_multiplier below) for the first place
event_top2_reward - Amount of choosen item/RP(base for a the rp_reward_multiplier below) for the second place
event_top3_reward - Amount of choosen item/RP(base for a the rp_reward_multiplier below) for the third place
additional_winners_reward - - Amount of choosen item/RP(base for a the rp_reward_multiplier below) for the rest of the place until maximum winner is reached
rp_reward_multiplier - ServerRewards multiplier for the RP reward, if the event is generated to give RP as a reward
economics_reward_multiplier - Economics multiplier for the Economics reward, if the event is generated to give Economics point as a reward
reminder_enabled - enable/disable the repeated reminder to the players with unclaimed reward
reminder_time_in_minute - reminder time in minute format
****_weapon_cat - different weapon categories, the listed weapons will be considered as an allowed weapons for the selected challenge
****_weapon_cat_enabled - if it is set to true, the category can selected as challenge
****_weapon_cat_min_dist - minimum distance for the kill with the selected category weapons to earn place
Colors: the first 3 number is the corresponding RGB color number, but between 0-1 with float numbers. So if you want to write an RGB, where the RED is 210, then the first number in the config will be 210/255=0.82. The last number is the opacity 0 is invisible, 1 the maximum

Commands

/sc - Show information about Sniper Challenges
/sc info  - Show information about Sniper Challenges
/cch show  - Show currently Active Challenge Scoreboard
/cch claim - Claim rewards after event(s)

Localization

English language file generated by default, texts supported by the language files.


Logging

Reported winner and claimed rewards stored in the oxide/logs folder.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Version 1.3.2
  • 1 week ago Added Additional exclude permission to handle admins, not approved players, etc
  • 1 week ago Fixed Fix bug, where when the far way target get killed, but the player was able to switch weapon meanwhile the bullet not reach the target, then the current weapon in the player hand was used to check he attachments instead of the original weapon.
Version 1.2.0
  • 3 months ago Added Add Economics plugin support for more reward choice
Version 1.1.0
  • 3 months ago Updated Update based on review recommendations
Version
  • 3 months ago Added Initial release

MIT License

Copyright (c) 2021 Kaucsenta

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.

Got something to discuss?


Customer
tomhud
3 months 19 hours ago

why does this not work with Economics ?????

Support
Kaucsenta
3 months 18 hours ago

Hi, at the creation, who order it in first place didn’t ask for Economics support, but it was requested by others too, so it was updated with it right now.

Customer
Angela Stücklin
2 months 16 days ago

Hi there, would it be possible to exclude admins from the ranking?

Support
Kaucsenta
2 months 16 days ago

Helllo,
I can check the possibilities and introduce it in new patch as a configurable option. I would not leave out the admins by default from the fun 😉

Customer
Angela Stücklin
2 months 16 days ago

Oh wow thank you for the fast reply! That would be awesome, it’s only because on our server admins are always excluded^^

Customer
Angela Stücklin
2 months 16 days ago

It would also be cool to have a timer under /sc show oder /sc info to see how long the event is running. Just an idea.:-)

Support
Kaucsenta
2 months 15 days ago

Since it has 2 option, timed long events or event between two server restart. For the first one I check where i can put such a timer regarding the remaining time, but for the second option it makes no sense.

Customer
Melanie Schertel
2 months 13 days ago

Could you tell me what I’m doing wrong or how the config would be right. So far the plugin runs about 10days and there was never a price.

My info:
Server restart: Daily 1x
Price ServerRewards. . .
Plugins:
PlaytimeTracker
ServerRewards

Config is set:
“minimum_hour_before_reset”: 12,
“event_duration_in_hour”: 6,
“event_reward_type”: “2”,
“event_top1_reward”: 50,
“event_top2_reward”: 30,
“event_top3_reward”: 10,
“rp_reward_multiplier”: 10,
“economics_reward_multiplier”: 10,

Support
Kaucsenta
2 months 12 days ago

Hi, i assume the rest of the config is also there and this is just the example about your timing config. If there is no reward given, can you please check your server logs for any error related to this plugin? Also you can contact me on discord directly and we can figure out the problem based on the logfiles Kaucsenta#8175

 
How do I use this .zip/.7z file I just purchased on my server?

• First, you want to unzip the file. You can do so by just double-clicking it to open, then drag the contents to the desired location (you may need to install an external unzipping software if you don’t already have one such as 7zip or winrar)
• Next you will find either a structure of folders or just the .cs file itself (it’s the actual plugin file itself).
• After that just install the .cs (plugin file) into your …/oxide/plugins/ folder where you will install plugins you ever need to.

Additionally, here’s a great video that easily covers adding a plugin to your server if you need! https://youtu.be/yWC_p97FhQA

• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.