ServerRewards

Moved

Total Downloads: 14,033 - First Release: Mar 2, 2016 - Last Update: Jun 9, 2018

5/5, 61 likes
  1. Where i can find Gradation of category ?
     
  2. I can't send pm's to you. I have uploaded it below.
     

    Attached Files:

  3. You have nothing in your reward_data.json I also need the other files I asked for the files you uploaded there are ok and should not be causing an error
     
  4. I fixed it, luckily after rebooting the server it started to work again. Ty for your effort!
     
  5. the only file I would change is this one so unload plugin upload this file then reload plugin
     

    Attached Files:

  6. Resistance... can you check over my files too? Not sure why, but my store does not show any icons or categories. I am sure it is something simple I missed.
     

    Attached Files:

  7. Hello I am having an issue when i add an item to the NPC shop where the last item alphabetically isn't showing in the NPC's store. It is showing in the npc_data.json file. However they all do shop up in /s shop

    For example I have added the 4 following Ak
    Tempered AK
    Assault Rifle (Stock)
    Battle-Scarred AKS47
    Doombringer AK47

    In this list the Tempered AK will not show

    As soon as rename Assault Rifle to ZAssault Rifle the Tempered AK and the ZAssault Rifle disappears.

    Any ideas?
     
  8. please help i have problem with mouse cursor. cursor always move to middle
     
  9. The images are stored in the data/ImageLibrary folder for the plugin you need to run the commands from ImageLibrary to build the image library and then try restarting the server once you have
     
  10. @k1lly0u it is possible to add outline/shadow to primary text? now its barely seen on some images..
     
  11. How can I make it so players can buy VIP status from the reward store?
     
  12. You could add it has a command but you would need to test first

    How to add a Command to the reward store
    To add a command use the chat command to add a console command with variables.
    ex. /rewards add command <name> <command> <cost> - <name> is the name in store, <command> is the chat command you wish to run, <cost> is the price in RP.
    This can also be achieved by using the console command with the same syntax.
    Once that is complete you can add a description using the commands provided (see below)

    One example of a command is "say RockOn!, $player.name!" which will make the player say RockOn! :p

    The current variables you can use in a command are;
    Code:
    $player.name - Player display name
    $player.id - Player Steam ID
    $player.x, $player.y, $player.z - Vector3 coordinates
    To add or remove commands to this purchase you can use the commands provided (see below). Make sure all commands entered are inside of quotation marks!

    But it might not be possible to do
    So try one of these in game

    /rewards add command "ViP" "usergroup add $player.name vip" 100
    /rewards add command "ViP" "usergroup add $player.id vip" 100
     
    Last edited by a moderator: May 21, 2017
  13. Nevermind it's fixed was running an older version.
     
  14. The mouse cursor re-centering is a Rust issue that affects most of the GUIs. You can fix it by pressing [tab]. This opens the Rust inventory screen behind the Server Rewards Store and prevents Rust from re-centering the mouse cursor.
     
  15. help!!!!
    Failed to call hook 'OnUseNPC' on plugin 'ServerRewards v0.4.53' (KeyNotFoundException: The given key was not present in the dictionary.)

    (02:52:44) | at System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.Dictionary`2[Oxide.Plugins.ServerRewards+UIPanel,System.Collections.Generic.Dictionary`2[Oxide.Plugins.ServerRewards+Category,System.Collections.Generic.Dictionary`2[System.Int32,Oxide.Game.Rust.Cui.CuiElementContainer]]]].get_Item (System.String key) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.ServerRewards+UIManager.AddUI (.BasePlayer player, UIPanel type, Category subType, Int32 pageNumber, System.String npcId) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.ServerRewards.OpenStore (.BasePlayer player, System.String npcid) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.ServerRewards.OnUseNPC (.BasePlayer npc, .BasePlayer player) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.ServerRewards.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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  16. Failed to call hook 'OnServerInitialized' on plugin 'ServerRewards v0.4.3' (NullReferenceException: Object reference not set to an instance of an object)

    at Oxide.Plugins.ServerRewards.CreateAllElements () [0x00000] in :0 at Oxide.Plugins.ServerRewards.OnServerInitialized () [0x00000] in :0 at Oxide.Plugins.ServerRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0