I Just tried to test Playtime Rewards for every 5 seconds. But, I got an error
This is my config :
Code:
Failed to run a 5.00 timer in 'PlaytimeRewards v1.5.1' (NullReferenceException: Object reference not set to an instance of an object)
at BasePlayer.GiveItem (Item item, BaseEntity+GiveItemReason reason) [0x0002b] in <a6e803dfe07d49ef9468a9ebf8507b2c>:0
at Oxide.Plugins.PlaytimeRewards.GiveRewards (BasePlayer player, Oxide.Plugins.PlaytimeRewards+RewardEntry entry, System.Single multiplier) [0x00111] in <8fe1e57c99834216ba65fd4ce5686696>:0
at Oxide.Plugins.PlaytimeRewards.CheckPlayer (BasePlayer player) [0x00130] in <8fe1e57c99834216ba65fd4ce5686696>:0
at Oxide.Plugins.PlaytimeRewards.CheckPlayers () [0x00017] in <8fe1e57c99834216ba65fd4ce5686696>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <1fe782f4b27a43ae85d29ebb2d56c007>:0
This is my config :
JSON:
{
"Wipe data on new map": true,
"Send rewards to reward storage": false,
"Reward give interval (0 to disable)": 5,
"Max loops (0 to disable)": 0,
"Loot multiplier increment (0 to disable)": 1,
"Maximal multiplier (0 to disable)": 10,
"Reward list": [
{
"Enabled": true,
"Description": "<color=#00ffff>Test Rewards 1</color>",
"Items": [
{
"Permission": "",
"Command": "",
"Shortname": "wood",
"Amount": 50,
"Skin": 0,
"Display name": null,
"Blueprint": false,
"Ignore loop multiplier": false
}
]
}
]
}