Allows players to set a spawn point for resources that respawn every X seconds

Supported Games
GameServerKingsGameServerKings

Usage

The main purpose of this plugin is to be able to give certain VIP/donators the permission to set their very own resource spawn point. This can be done for all 3 resource types individually. Once a spawnpoint is set, every x amount of seconds a new resource node will apear. This plugin offers a more interactive and fun way of giving VIP's/donators resources. The usage mentioned above is one of the many possible use cases

Permissions

  • resourcevipspawns.admin - Admins with this permission can access the debug messages in game.
  • resourcevipspawns.spawnable - Players with this permission can set/remove spawnpoints for Sulfur, Metal and Stone (One spawnpoint per resource).

Chat Commands

  • /rs - Displays the plugin information and command syntax
  • /rs add sulfur - Adds personal sulfur spawnpoint that respawns every x seconds
  • /rs add metal - Adds personal metal spawnpoint that respawns every x seconds
  • /rs add stone - Adds personal stone spawnpoint that respawns every x seconds
  • /rs remove sulfur - Removes personal sulfur spawnpoint
  • /rs remove metal - Removes personal metal spawnpoint
  • /rs remove stone - Removes personal stone spawnpoint
  • /rs remove all - Removes all personal spawnpoints at once
  • /rs admin - Displays current respawn timers set in the config file

x: is the amount of seconds before a resource respawns. This value can be set in the configuration file.

Configuration

{
  "AllowedOutsideBuildingPrivilege": false,
  "CooldownMetalSpawn": 300,
  "CooldownStoneSpawn": 300,
  "CooldownSulfurSpawn": 300,
  "DebugMode": false,
  "EnableSpawnablesWhenOffline": false
}
  • AllowedOutsideBuildingPrivilege(true/false) - If false players can only set a resource spawnpoint when they have toolcupboard authorization
  • DebugMode(true/false) - If false you will not recieve a message everytime a resource spawns
  • EnableSpawnablesWhenOffline(true/false) - If false resources will stop spawning when the player disconnects from the server

Credits

  • Created by: DNARust
  • Testing: Aaronitoo

At this time every server restart/plugin reload will wipe all spawn point data. This is done for performance. Next update I will include the possibility to choose between wiping all spawn data every server restart or not.

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.