Does this remove the kit from the player once they have claimed it? Let's say I create a kit with 1 supply signal, then they can claim it, and then it gets removed from them, right?![]()
Vote For Money
Players who vote are rewarded with Economics, Server Rewards, Kits...
Total Downloads: 944 - First Release: Aug 23, 2016 - Last Update: Nov 7, 2017
- 5/5, 6 likes
-
-
Is it possible to remove the message when logging in?
-
-
Hi, i have a bug with your plugin :
Code:48 VoteForMoney - Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.ObjectModel.Collection`1[Oxide.Plugins.VoteForMoney+PlayerVote]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly. To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object. Path '', line 1, position 2.
Thanks for your help.
-
I need some help, when i setup my server on rust-server and do a vote it gives me this red error in the cmd console.
Code:Web request callback raised an exception (FormatException: Invalid format.) at System.Double.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00000] in <filename unknown>:0 at System.Double.Parse (System.String s) [0x00000] in <filename unknown>:0 at System.Convert.ToDouble (System.String value) [0x00000] in <filename unknown>:0 at Oxide.Plugins.VoteForMoney.GetMoney (.BasePlayer player, System.String site) [0x00000] in <filename unknown>:0 at Oxide.Plugins.VoteForMoney.Claim (.BasePlayer player, System.String site, Oxide.Plugins.PlayerVote data) [0x00000] in <filename unknown>:0 at Oxide.Plugins.VoteForMoney.CheckVote (.BasePlayer player, Int32 response, System.String site) [0x00000] in <filename unknown>:0 at Oxide.Plugins.VoteForMoney.GetCallback (Int32 code, System.String response, .BasePlayer player, System.String site) [0x00000] in <filename unknown>:0 at Oxide.Plugins.VoteForMoney+<GetRequest>c__AnonStorey1.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00000] in <filename unknown>:0
-
-
-
How do I add myself as an admin? I'm completely new to rust plugins so explain it like I'm five.
-
Is it possible to have RP just give one supply signal for voting on each site? So if they voted on all 3 they would get 3 supply signals?
-
In order for users to be shown the correct url for servers listed on toprustservers.com line 27 in the plugin file (.cs) needs to be changed from:
const string link2 = "httpcolon//toprustservers.com/";
To:
const string link2 = "http://toprustservers.com/server/";
It will then show the proper URL. If they go to toprustservers.com/ServerID/, which is default ti goes to the sites landing page or times out.
[DOUBLEPOST=1534423552][/DOUBLEPOST]
oxide.usergroup add Username admin
where username is the desired username to add to the built in admin group. Keep in mind this is not the same as making the a full admin (owner) of the server.
Link to Oxide guide on permissions.
Using the Oxide permission systemLast edited by a moderator: Aug 16, 2018 -