DutchKingCobra
Reward players for kills, give rewards or add rewards to a claim list

Supported Games
GameServerKingsGameServerKings

Features

  1. No spam in chat like: "Server gave xxx amount to player" (only player will see "you got item x quantity")
  2. If player inventory is full, reward will be added to a list which can be seen by players using /rw.
  3. Admin can setup the plugin to just add all rewards to the player claim list instead of trying to give it immediately.
  4. Shows item fullnames and check for bad format and bad shortnames in configuration.
  5. Works in PVP and PVE vs. bots.
  6. Chat commands are configurable in configuration.

Permissions

  • claimrewards.use -- Allows players to be rewarded

Chat Commands

  • /rw help
    Show available commands.

  • /rw
    Show a list with rewards that the player can claim.

  • /gimme #
    players use this to claim a reward from the claim list like /gimme #nr

  • /nextreward
    Shows number of kills and kills needed for the next reward and the next reward.

  • /discard #
    Players can dispose a reward from the claim list with /discard #nr

Console Commands

  • vcr
    Manually validate item names in configuration.

Configuration

Commands

IMPORTANT: Don't forget to edit the ClaimRewards.json in oxide/lang to match your custom commands!

Claim:Command to claim.

Discard:Command to discard.

Nextreward:Command for nextreward

Rewards:Command for list of rewards

Settings

OneLife:
true = a player will lose his kills on death and will start over from 0.
false = player will keep his kills on death.

AutoGiveRewardsUnlessFullInventory:
true = give rewards immediately BUT if player has no room for it add it to a claim list.
false = add all rewards to the claim list let player claim them at their convenience.

MaxKillsBeforeReset:
if you you have a max kill reward at 500 kills set this to atleast 501,
after this the kill count will start from 0.

Rewards

An Example of the rewards:
format is kills needed and the reward quantity
So 50 kills will reward 1 metal face mask in this example.

"Rewards": {
  "1": "easter.bronzeegg 1",
  "10": "bow.hunting 1",
  "20": "seed.pumpkin 2000",
  "30": "wood 5000",
  "40": "lunar.firecrackers 10"
  "45": "firework.romancandle.green 10",
  "50": "metal.facemask 1",
  "65": "firework.romancandle.red 10",
  "70": "metal.plate.torso 1",
  "90": "firework.romancandle.violet 10",
  "100": "keycard_blue 1"
}

Localization

Compatiblity

Extended Recycler

Usage:

"Rewards": {
  "1": "easter.bronzeegg 1",
  "10": "bow.hunting 1",
  "20": "recycler.give"
}
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.