Player Challenges

Allows titles to be set when certain criteria are met, with a UI Leader board

Total Downloads: 5,608 - First Release: Nov 11, 2015 - Last Update: May 5, 2018

5/5, 20 likes
  1. Isn't that easy to abuse? Like kill your friends over and over for the title.
    Would it be possible to add hooks to FriendsAPI and Clans so it doesn't count that kills etc?
     
  2. Code:
    (19:06:36) | [Oxide] 7:06 PM [Error] Failed to call hook 'OnEntityDeath' on plugin 'PlayerChallenges v1.7.0' (NullReferenceException: Object reference not set to an instance of an object)
     
  3. I'm getting the same error in the console.
     
  4. So I run a mostly PVE server is it possible to get a version of this that monitors each type of animal kills? So to see whos killed the most of XXX animal?
     
  5. Hello,

    the plugin does not change with skill betterchat

    Code:
    {
      "0IsAnimalKillChallangeActive": true,
      "0IsHeadshotChallangeActive": true,
      "0IsKillChallangeActive": true,
      "1AnnounceNewLeader": true,
      "1BCaUseBetterChat": true,
      "1IgnoreAdmins": false,
      "1IgnoreSleepers": true,
      "2BCAnimalGroup": "Player",
      "2BCheadshotGroup": "Player",
      "2BCKillsGroup": "Player",
      "3animalKillTitle": "[Braconier]",
      "3headshotTitle": "[BigBoss]",
      "3KillTitle": "[Assassin]"
    }
    [DOUBLEPOST=1461954443,1461940635][/DOUBLEPOST]re the plugin does not work with betterchat did bug the oxide group of trick but then I ask nothing
     
  6. Anyway to make this a cron job? Like run it once a week so it checks player kill count up to that point in time, then gives them the title, so then they can maintain the title for one week until next time it runs?

    It would be great to see this take into consideration farming as well. For example:
    • Player who has planted most seeds } receives title Farmer
    • Player who has farmed most wood } receives title Lumberjack
    • Player who has farmed most stone / metal } receives title Miner
    • Player who cooks most meat } receives title Butcher or Cook
    • Player who heals most players } receives title Medic or Doctor
    • Player who crafts most clothes } receives title Tailor
    • Player who crafts most guns } receives title Gunsmith
    • Player who shoots most arrows } Archer
    • player who builds most structures } Architect
    etc.
     
  7. Unfortuantly I no longer play rust so if someone else wants to pick it up they are more than welcome. I was working on something that does track over time to a web based portal but stopped playing before it was anywhere near ready
     
  8. Word up man. Im going to give it a shot. Im no dev though. Regardless thanks.
     
  9. k1lly0u updated Player Challenges with a new update entry:

    2.0.0

     
  10. is there a command to reset the rankings?

    ---
    Ok i found it

    ResetPC

    :)

    --------
    (20:50:03) | [Oxide] 20:50 [Info] Permission 'canResetPlayerChallenges' doesn't exist
     
  11. upload_2016-7-9_22-36-58.png
    [DOUBLEPOST=1468093043][/DOUBLEPOST]Spam in console
     

  12. A fantastic mod - thank you very much.

    I am however getting the same error messages, even though everything seems to be working a treat.

    Thanks again.
     
  13. You need to delete all files before uploading this new version
     
  14. First plugin installation:

    Code:
    [Oxide] 23:52 [Error] Failed to call hook 'OnStructureRepair' on plugin 'PlayerChallenges v2.0.0' (InvalidCastException: Cannot cast from source type to destination type.)
    [Oxide] 23:52 [Debug]   at Oxide.Plugins.PlayerChallenges.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    [Oxide] 23:52 [Error] Failed to call hook 'OnStructureRepair' on plugin 'PlayerChallenges v2.0.0' (InvalidCastException: Cannot cast from source type to destination type.)
    [Oxide] 23:52 [Debug]   at Oxide.Plugins.PlayerChallenges.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    [Oxide] 23:52 [Error] Failed to call hook 'OnStructureRepair' on plugin 'PlayerChallenges v2.0.0' (InvalidCastException: Cannot cast from source type to destination type.)
    [Oxide] 23:52 [Debug]   at Oxide.Plugins.PlayerChallenges.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    [Oxide] 23:52 [Error] Failed to call hook 'OnStructureRepair' on plugin 'PlayerChallenges v2.0.0' (InvalidCastException: Cannot cast from source type to destination type.)
    [Oxide] 23:52 [Debug]   at Oxide.Plugins.PlayerChallenges.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    [Oxide] 23:52 [Error] Failed to call hook 'OnStructureRepair' on plugin 'PlayerChallenges v2.0.0' (InvalidCastException: Cannot cast from source type to destination type.)
    [Oxide] 23:52 [Debug]   at Oxide.Plugins.PlayerChallenges.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    [Oxide] 23:52 [Error] Failed to call hook 'OnStructureRepair' on plugin 'PlayerChallenges v2.0.0' (InvalidCastException: Cannot cast from source type to destination type.)
    [Oxide] 23:52 [Debug]   at Oxide.Plugins.PlayerChallenges.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    [Oxide] 23:52 [Error] Failed to call hook 'OnStructureRepair' on plugin 'PlayerChallenges v2.0.0' (InvalidCastException: Cannot cast from source type to destination type.)
    [Oxide] 23:52 [Debug]   at Oxide.Plugins.PlayerChallenges.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  15. It was my first time installing too.
     
  16. I have got that error a bit but not spamming like yours coder will need to check his code
     
  17. Thanks for the reply.

    Reloading it seemed to work a treat.
     
  18. What version of better chat are you using? The error is from a function that calls better chat. Some of those betterchat hooks might not be available in earlier versions, I will have to download some and have a look to find out
    [DOUBLEPOST=1468106604][/DOUBLEPOST]Requires BetterChat 4.0.0 or higher
     
  19. Same error on first install as C-Block. Don't have Better Chat installed.
     
  20. k1lly0u updated Player Challenges with a new update entry:

    2.0.1