ServerRewards
Moved
Total Downloads: 14,033 - First Release: Mar 2, 2016 - Last Update: Jun 9, 2018
- 5/5, 61 likes
-
Attached Files:
-
-
-
-
Attached Files:
-
-
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:
-
-
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? -
please help i have problem with mouse cursor. cursor always move to middle
-
-
@k1lly0u it is possible to add outline/shadow to primary text? now its barely seen on some images..
-
How can I make it so players can buy VIP status from the reward store?
-
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!
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
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" 100Last edited by a moderator: May 21, 2017 -
WTF with sale_data.json !?
Don't work items for sell!
CUsersPirateTMAppDataLocalTempfz3temp-2sale_data.json - Notepad++ [Administrator] (235 kb) закачан 21 мая 2017 г. Joxi -
-
http://joxi.ru/MAjMjzosnRpq2e <- 1 screen
Rust (236 kb) закачан 22 мая 2017 г. Joxi <- 2 screen -
First unload plugin then upload the file then reload the plugin -
Nevermind it's fixed was running an older version.
-
-
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 -
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