Spawns configurable entities where a player throws a survey charge

Supported Games
GameServerKingsGameServerKings

When a player throws a survey charge an entity from the config will be spawned and rise out of the ground.

Note: The survey charge will have to be added to the loot table in order to use this.

Permissions

  • surveygather.use - Allows players to be able to use survey gather
  • surveygather.admin - Allows players to use the chat command to add entities to the configuration

Chat Commands

  • /sg - Show the help text
  • /sg add- Add the entity being looked at to configuration

Configuration

{
  "Survey Gather Chat Command": "sg",
  "Allow survey charge researching": false,
  "Allow survey charge crafting": false,
  "Enabled notifications": true,
  "Gather Items": [
    {
      "Prefab to spawn": "assets/bundled/prefabs/radtown/ore_stone.prefab",
      "Chance to spawn": 45.0,
      "Distance to spawn underground": 1.5,
      "Min health Percentage": 0.3,
      "Max health Percentage": 0.9,
      "Rise duration (Seconds)": 3.0
    },
    {
      "Prefab to spawn": "assets/bundled/prefabs/radtown/ore_metal.prefab",
      "Chance to spawn": 40.0,
      "Distance to spawn underground": 1.5,
      "Min health Percentage": 0.3,
      "Max health Percentage": 0.9,
      "Rise duration (Seconds)": 3.0
    },
    {
      "Prefab to spawn": "assets/bundled/prefabs/radtown/ore_sulfur.prefab",
      "Chance to spawn": 35.0,
      "Distance to spawn underground": 1.5,
      "Min health Percentage": 0.3,
      "Max health Percentage": 0.9,
      "Rise duration (Seconds)": 3.0
    },
    {
      "Prefab to spawn": "assets/bundled/prefabs/radtown/crate_elite.prefab",
      "Chance to spawn": 2.5,
      "Distance to spawn underground": 1.5,
      "Min health Percentage": 1.0,
      "Max health Percentage": 1.0,
      "Rise duration (Seconds)": 5.0
    },
    {
      "Prefab to spawn": "assets/bundled/prefabs/radtown/crate_normal.prefab",
      "Chance to spawn": 5.0,
      "Distance to spawn underground": 1.0,
      "Min health Percentage": 1.0,
      "Max health Percentage": 1.0,
      "Rise duration (Seconds)": 5.0
    }
  ]
}

Localization

{
  "NoPermission": "You do not have permission to use this command",
  "Chat": "<color=#bebebe>[<color=#de8732>Survey Gather</color>] {0}</color>",
  "Notification": "Throw this survey charge on the ground to spawn a random item",
  "NoEntity": "You're not looking at an entity. Please try to get closer or from a different angle.",
  "Add": "You have successfully added <color=#de8732>{0}</color> prefab to the config.",
  "HelpText": "Allows admins to configure which entities are spawned with the survey charge.\n<color=#de8732>/{0} add</color> - to add the entity you're looking at\n<color=#de8732>/{0}</color> - to view this help text again\n"
}
MIT License

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.