Thank you for the prompt response.
Pheww, i been searching for those thing all day long. I didn't expecting that. I thought i have to search or generate link or something like that.
One more question please.
But I have to copy paste the Vote Link (URL) part right or just leave it with the default settings?
In case you wanna see part of my config:
Code:"VoteSitesAPI": { "Beancan": { "API Claim Reward (GET URL)": "http://beancan.io/vote/put/{0}/{1}", "API Vote status (GET URL)": "http://beancan.io/vote/get/{0}/{1}", "Vote link (URL)": "http://beancan.io/server/vote/rust-dolt" -> I get this from the URL when I want to vote. },
EasyVote
Moved
Total Downloads: 4,115 - First Release: Aug 27, 2016 - Last Update: Mar 24, 2018
- 5/5, 14 likes
-
You can rename ServerName1/2 what every you want.
Code:"Servers": { "ServerName1": { "Beancan": "ID:KEY", "RustServers": "ID:KEY" }, "ServerName2": { "Beancan": "ID:KEY" } },
Code:"Servers": { "Alpha": { "Beancan": "249##:2e#####bcb", "RustServers": "944##:ts7dus028###############984s2ruiu1c" }, "Beta": { "RustServers": "1369##:l8IXZmL####################hZOZmKLU" } },
-
Thank you
Edit:
@Exel80
Found it on oxide log:
Code:EasyVote was compiled successfully in 127ms (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)Unloaded plugin EasyVote v2.0.32 by Exel80 (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)Non platform assembly: data-00000000E520EF80 (this message is harmless) Fallback handler could not load library C:/games/rust/exp-oxide/RustDedicated_Data/Mono/data-00000000E520EF80.dll Loaded plugin EasyVote v2.0.32 by Exel80
Code:[SERVER v1.0.24] Started as service [SERVER v1.0.24] Running as service [SERVER v1.0.24] Got Message: Ready [SERVER v1.0.24] Got Message: Compile [SERVER v1.0.24] Console: [SERVER v1.0.24] Got Message: Compile [SERVER v1.0.24] Console: EasyVote.cs(840,17): warning CS0162: Unreachable code detected[SERVER v1.0.24] Connection closed. [SERVER v1.0.24] Shutdown
Last edited by a moderator: Jan 9, 2018 -
Code:
(12:27:22) | Failed to call hook 'OnPlayerSleepEnded' on plugin 'EasyVote v2.0.32' (IndexOutOfRangeException: Array index is out of range.) at Oxide.Plugins.EasyVote.OnPlayerSleepEnded (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EasyVote.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.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
Supplied cs / json with API + Webhooks redactedAttached Files:
-
-
-
Code:"Servers": { "PGS 20X": { "Beancan": "", "RustServers": "" }, "ServerName2": { "Beancan": "ID:KEY" } },
-
Seems the issue isnt about this plugin but the host server provider.
Thanks alot for the response -
All works fine except the fake cast vote from rust-servers i dont know why?
-
-
Feature Request:
Auto Voting Detection with message to chat and Reward per Command.
btw, Thx for your work! Plugin works great! -
-
mine is stuck at Checking the voting server. please wait. whats wrong?
-
-
-
Code:SyntaxError: Duplicate key '# CENSURE #' on line 48
-
and u was 100% correct, i does work now, however it does not announce in chat that players voted, nor does it send it to discord.
also i get a huge error in my log: and my json is valid according to the validator
Web request callback raised an exception (IndexOutOfRangeException: Array index is out of range.)
at Oxide.Plugins.EasyVote.GaveRewards (.BasePlayer player, System.Collections.Generic.List`1 rewardValue) [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.RewardHandler (.BasePlayer player, System.String serverName) [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.ClaimReward (Int32 code, System.String response, .BasePlayer player, System.String url, System.String serverName) [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote+<cmdClaim>c__AnonStorey3.<>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
Web request callback raised an exception (IndexOutOfRangeException: Array index is out of range.)
at Oxide.Plugins.EasyVote.GaveRewards (.BasePlayer player, System.Collections.Generic.List`1 rewardValue) [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.RewardHandler (.BasePlayer player, System.String serverName) [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.ClaimReward (Int32 code, System.String response, .BasePlayer player, System.String url, System.String serverName) [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote+<cmdClaim>c__AnonStorey3.<>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
Web request callback raised an exception (IndexOutOfRangeException: Array index is out of range.)
at Oxide.Plugins.EasyVote.GaveRewards (.BasePlayer player, System.Collections.Generic.List`1 rewardValue) [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.RewardHandler (.BasePlayer player, System.String serverName) [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.ClaimReward (Int32 code, System.String response, .BasePlayer player, System.String url, System.String serverName) [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote+<cmdClaim>c__AnonStorey3.<>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 -
Last edited by a moderator: Jan 20, 2018
-
thank you! i hope the anouncing will be fixed too i have to wait for next vote
[DOUBLEPOST=1516485740][/DOUBLEPOST]worked like a charm! now everyone sees the voted player however nothing in discord, ive made the webhook and assigned a channel, applied the url to the config wich i sent b4, but nothing. any ideas? -
You had installed DiscordMessages , right? -
derp, no i did not, works flawlessly now! Thank you soo much!!