Sniper Challenge
$15.00
Sold by: KaucsentaThis 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.
- Description
- Reviews (0)
- Version History
- Discussions (0)
- Setup
- Product Enquiry
Description
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",
"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,
"disable_pvp" = false,
"event_based_delay" = 0,
"first_event_delay_in_min" = 5,
"enable_extra_point_feature" = true,
"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 enable_extra_point_feature - Disable the extra point feature event_based_delay - If the event based configuration is set, it can be now configured, what time shall be between two event (By default as soon as the event is over a new immediately start) first_event_delay_in_min - customize when the first event after server start to start instead of the originally introduced 5 min disable_pvp - disable player kills (to avoid bypass and exploit long kills with other friendly players, also added Friends, Clan and team ****_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 (0)
Only logged in customers who have purchased this product may leave a review.
Version History
- Added several additional option (enable_extra_point_feature, event_based_delay, first_event_delay_in_min, disable_pvp )
- Added stucked event notification for debug
- Added Additional exclude permission to handle admins, not approved players, etc
- 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.
- Added Add Economics plugin support for more reward choice
- Updated Update based on review recommendations
- Added Initial release
Discussions (0)
Discussions
There are no discussions yet.
Leave a reply
Setup
Plugin FAQ – 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.
Currently all products on Lone.Design will be contained within a zipped file which is the .7z or .zip that you see. I believe windows 10 and up can unzip on its own without 3rd party tools, but in that case, if you’re unfamiliar with zipped files here are 2 programs I recommend to easily unzip zipped files.
Video On How to Zip and Unzip: https://youtu.be/Ep-L3PjBPCk (TechInsider Youtube Channel)
Zipping/Unzipping Tools
Winrar https://www.rarlab.com (I used to use for years, but works great!)
7zip https://www.7-zip.org/a/7z2107-x64.exe (the one I use currently)
Reviews
There are no reviews yet.