I migrated my files to a new server and only some of the images are working now. Which is weird. As far as I know, nothing changed. It's just the first page that has issues though. I did the whole loadimages thing too. All the pages other than the first one load just fine.
Screenshot
ServerRewards
Moved
Total Downloads: 14,033 - First Release: Mar 2, 2016 - Last Update: Jun 9, 2018
- 5/5, 61 likes
-
[request] random reward added to the plugin / config
Code:"RewardItems": { "0": { "DisplayName": "Mystery Box", "URL": "http://salemwiki.info/images/1/1a/Mystery_Box_icon.png", "Amount": 2, "RandomList": 821258270 188900688 336551612 324040353 97513422, (crappy example I'm a noob) "Cost": 3
-
UGH I have trouble EVERY wipe with these @(!$* images! I have the local Icons folder, all the files names are set (I saved my jSON data file).. I load the mod, loadlocalimages and NO flippin images showing up.. I dunno. So frustrating. I'm not getting ANY errors when I run loadlocalimages.. it says Saved rewards/permissions data (3 times).. but my images are all white. :\
EDIT..
JESUS ok.. loadlocalimages literally took TWENTY MINUTES to actually generate the icons properly.. but it eventually started working. I am just too impatient I guess.. I expected it to be like.. you know.. pretty much instant. But it literally took like 20 minutes.. I had given up then checked /s some time later and the images were working.Last edited by a moderator: Sep 1, 2016 -
Image links don't work after update?
-
Is it possible to make a command baught in the command store is happening to the user buying it?
For example adding the player to a permissions group or teleport him to a location specified in the command?
it doesnt work with $player.name -
-
Can i use a Rcon Console for those commands? Because some commands i want to use work only in a Rcon Console... -
On a scale of 1-10 (10 being redesigning the entire code, 1 being adding one line of code), how difficult would it be to add the option to create 2 or more Vendor menus? That is, I give NPC A, menu 1 of items players can purchase, and I give NPC B menu 2 of items players can purchase. That way you can sell certain items through one NPC and other items through another?
-
Code:
[Oxide] 22:19 [Error] Failed to call hook 'GetKitContents' on plugin 'Kits v3.1.11' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 22:19 [Debug] at Oxide.Plugins.Kits.GetKitContents (System.String kitname) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Kits.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
Kit section is still visible. After you enter /s - see exception above. -
I also use Server Rewards in this way in the Vendor "Command" list. Is it: $player.name!
????
I don't believe the exclamation mark is required, I think in the example, its just so the exclamation mark appears after the players name.
Someone correct me if I am wrong please.Last edited by a moderator: Sep 3, 2016 -
Any possibility to use the command as an ingame command fulfilled by an admin / a rcon console
-
-
Is it possible to setup multiple shops around the map if so could someone please help me with it because im having numerous problems, Please send me a PM and i'll replay with my teamspeak, Thanks in advance
-
/srnpc add
That should do it. If you're asking about the same question I asked above:
-
-
-
-
-
I am trying to make it so players can buy a teleport to a certain location... this is what I entered into chat:
/rewards add command "Power Plant" "teleport.topos $player.name -532 32 -397" 200
It successfully adds the command and I even verified it in the json file. NOW when I use the store to buy this command it does nothing except take my points. When I do the command manually in the console (teleport.topos NavyChief -532 32 -397) I teleport. Is it possible the prefix [God] is causing this?? What might be causing this?? -
Go to your servers Oxide folder --> Data --> ServerRewards_Rewards.json and look at the file. Scroll down to where your commands are, and see how its in put in there. How it should look is something like this:
Code:"Power Plant": { "Command": [ "teleport.topos $player.name -53 32 -397" ]
SUPER IMPORTANT NOTE!!!!!
Make a copy of your "serverrewards_rewards.json" file BEFORE YOU EVEN TOUCH IT. If you mess up the configuration, and restart the plugin via the oxide.reload command, and it detects an error, it will completely wipe your configuration file and start all over from scratch. PLEASE PLEASE PLEASE back that shit up. I'm speaking from experience.