Dangerous Treasures is an event that occurs once every one to two hours. The event spawns a box at a random position on the map away from all player obstructions and water.
The event opens with a barrage of rockets that blast the chest's location. A sphere surrounds the treasure chest, and a fire aura is activated which sets players on fire who enter it. The chest is locked for a random period of time to give players an opportunity to travel to it.
A server broadcast is sent informing players of the event, it's location, and to use '/dtd' to draw on their screen where the chest is located (usable once every 15 seconds).
Players cannot build inside of the sphere, damage the chest, nor loot it until the event starts.
When the event starts the fire aura and sphere are obliterated and the chest becomes lootable. Once the contents are stolen the thief is announced and the event ends.
Treasure chests contain 6 random items of high-quality loot found in supply drops by default.
If Zone Manager is installed, this plugin will not open events inside of zones created by ZoneManager. This plugin creates its own zones and does not use ZoneManager for any other reason.
Event Messages - Allow or block messages sent to players by the plugin
The event opens with a barrage of rockets that blast the chest's location. A sphere surrounds the treasure chest, and a fire aura is activated which sets players on fire who enter it. The chest is locked for a random period of time to give players an opportunity to travel to it.
A server broadcast is sent informing players of the event, it's location, and to use '/dtd' to draw on their screen where the chest is located (usable once every 15 seconds).
Players cannot build inside of the sphere, damage the chest, nor loot it until the event starts.
When the event starts the fire aura and sphere are obliterated and the chest becomes lootable. Once the contents are stolen the thief is announced and the event ends.
Treasure chests contain 6 random items of high-quality loot found in supply drops by default.
If Zone Manager is installed, this plugin will not open events inside of zones created by ZoneManager. This plugin creates its own zones and does not use ZoneManager for any other reason.
Permissions
This plugin uses the permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.- dangeroustreasures.use -- Allows a user to open a new event. Admins do not need this permission. It's not advised to give it to players unless you trust they won't abuse it.
- dangeroustreasures.th -- Awarded when the map wipes. The plugin gives this out automatically so you don't need to.
- dangeroustreasures.notitle permission to exempt users from ranked titles
Chat Commands
- /dtevent -- Open an event at a random position on the map
- /dtevent tp -- Open an event at a random position on the map and teleport to it (admin only)
- /dtevent me -- Spawn an event at the position you are looking at
- /dtevent custom -- Remove or set a custom spawn location for all events to spawn at
- /dtevent help -- Basic help information, and display a list of monuments for use with blacklisting
- /dtd -- View status of the current or next event
- /dtd tp -- Teleport an admin to the nearest treasure chest
- /dtd ladder -- View treasure hunter ladder for the current wipe
- /dtd ladder resetme -- Reset your score for the current wipe
- /dtd lifetime -- View treasure hunter lifetime scores
- /dtd additem -- Modify Treasure -> Loot config in-game. This will overwrite entries in the config with the same item name, but will not update any active treasure chests. e.g. /dtd additem rifle.ak 1 10135
Console Commands
- dtevent -- Open an event at a random position on the map
Configuration
The settings and options can be configured in the DangerousTreasures file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.Event Messages - Allow or block messages sent to players by the plugin
- Show Barrage Message (default: enabled)
- Show Opened Message (default: enabled)
- Show Prefix (default: enabled)
- Show Started Message (default: enabled)
- Amount Of Items To Spawn (default: 6)
- Amount Of Spheres (default: 5) (Increase this number to make the sphere darker)
- Auto Draw Minimum Distance (default: 300)
- Auto Draw On New Event For Nearby Players (default: disabled)
- Automated (default: enabled)
- Every Max Seconds (default: 7200 seconds)
- Every Min Seconds (default: 3600 seconds)
- Fire Aura Radius (Advanced Users Only) (min: 10.0, max: 150.0, default: 25.0)
- Grant DDRAW temporarily to players (default: enabled)
- Grant Draw Time (default: 15 seconds)
- Max Manual Events (default: 1)
- Player Limit For Event (default: 0)
- Time To Loot (default: 900 seconds)
- Use Spheres (default: enabled)
- Damage Per Second (Tick) (default: 10 health)
- Enabled (default: true)
- Generation (default: 5)
- Lifetime Max (default: 10 seconds)
- Lifetime Min (default: 7.5 seconds)
- Radius (default: 1 meter)
- Spawn Every X Seconds: (default: 5)
- Tick Rate (default: every 1 second)
- Water To Extinguish (default: 25)
- Enabled (default: true)
- Icon File (default:
(http://imgur.com/XoEMTJj) ) - If you use a custom icon file name then it must be in the oxide/data/LustyMap/custom/ folder, or be a link to a valid file/website address. - Icon Name (default: dtchest) - A unique identifier is appended to this name to separate one event from another.
- Icon Rotation (default: 0.0)
- Use ServerRewards (default: disabled)
- ServerReward Points: 20
- Use Economics (default: disabled)
- Economics Money: $20
- Acquire Time In Seconds (default: 10)
- Enabled (default: true)
- Ignore Flying Players (default: false)
- Life Time In Seconds (default: 60)
- Radar Distance (default: 15 meters)
- Spawn Every X Seconds (default: 15)
- Target Chest If No Player Target (default: disabled)
- Protect Nakeds From Fire Aura (default: false)
- Protect Nakeds From Other Harm (default: false)
- Award Top X Players On Wipe (default: 3)
- Enabled (default: true)
- Group Name: treasurehunter
- Permission Name: dangeroustreasures.th
- Enabled (default: true)
- Rockets (default: 10)
- Speed (default: 25)
- Use Fire Rockets (default: disabled)
- Distance Chat Command: dtd
- Event Chat Command: dtevent
- Event Console Command: dtevent
- Permission Name: dangeroustreasures.use
- Allow PVP with TruePVE - Allow PVP on TruePVE servers inside of event zones
- Auto Spawn At Monuments Only (default: diabled): Events automatically started will only spawn at monuments
- Chance To Spawn At Monuments Instead (default: 0, range 0.0 - 1.0): Events have a chance to spawn at monuments instead
- Allow Treasure Loot Underground (default: false): Allow events start underground (needs improved)
- Blacklisted (default: Outpost) - A list of monuments that events may not start at.
- Enabled (enable or disable all murderers and scientists)
- Allow Npcs To Leave Dome When Attacking (true)
- Allow Npcs To Target Other Npcs (false)
- Block Damage From Players Beyond X Distance (0, disabled)
- Block Npc Kits Plugin (false) - prevent this plugin from kitting these npcs
- Kill Underwater Npcs (true)
- Random Names (names to randomly chose for the murderer or scientist)
- Items (list of items to spawn with)
- Kits (alternatively spawn with a kit, recommended)
- Spawn Alternate Loot - Prefab ID List (alternate prefab game loot tables to spawn with, default is heavy scientist loot)
- Spawn Alternate Loot - Enabled (this MUST be set to true for the above Prefab ID List option to work)
- Spawn Alternate Loot - Disable All Prefab Loot Spawns (disallow spawning of any game loot)
- Weapon Accuracy (20%)
- Aggression Range (70 meters)
- Die Instantly From Headshots (false)
- Amount To Spawn (min) (2)
- Amount To Spawn (max) (2)
- Health (100 min, 5000 max) (150, there is no max anymore)
- Include Workship Skins (default: enabled)
- Preset Skin (default: 0 (disabled))
- Use Random Skin (default: enabled)
- Max Seconds (default: 480)
- Min Seconds (default: 300)
- Require All Npcs Die Before Unlocking : false
- Unlock When Npcs Die : true
- Default Values: 120, 60, 30, and 15 seconds
- Disabled by default
- Enabled (default: false)
- Notify Every X Minutes (Minimum 1) (default: every 3 minutes)
- Include Workshop Skins (default: disabled)
- Use Random Skins (default: disabled)
- Percent Increase When Using Day Of Week Loot (default: disabled)
- Percent Increase On Monday (default: 0.0) - Increase the amount of loot by the given percentage on this specific day only. Use 25.0 for a 25% increase.
- Percent Increase On Tuesday (default: 0.0)
- Percent Increase On Wednesday (default: 0.0)
- Percent Increase On Thursday (default: 0.0)
- Percent Increase On Friday (default: 0.0)
- Percent Increase On Saturday (default: 0.0)
- Percent Increase On Sunday (default: 0.0)
- Minimum Percent Loss (default: 0.0) - Set above 0% to randomize the amount given from items. e.g. Use 25.0 to give between 75 and 100 where 100 is the maximum amount. (This is a typo and should read Maximum Percent Loss)
- Day Of Week Loot Monday (default: not configured)
- Day Of Week Loot Tuesday (default: not configured)
- Day Of Week Loot Wednesday (default: not configured)
- Day Of Week Loot Thursday (default: not configured)
- Day Of Week Loot Friday (default: not configured)
- Day Of Week Loot Saturday (default: not configured)
- Day Of Week Loot Sunday (default: not configured)
- Loot (default: see loot table below)