Unturned

Unturned

View Stats:
Lilly Aug 6, 2016 @ 2:22am
Votifier plugin
Can someone help me with configuration of this plugin please? Commands in the log working, but ingame are not displayed.

<?xml version="1.0" encoding="utf-8"?>
<VotifierConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Services>
<Service name="unturned-servers.net" apikey="opx3yaza1pr4nmo69rjc98fc4su1p06dx" />
<Service name="unturnedsl.com" apikey="" />
<Service name="obs.erve.me" apikey="" />
</Services>
<EnableRewardBundles>true</EnableRewardBundles>
<RewardBundles>
<RewardBundle>
<Probability>33</Probability>
<Name>Survival</Name>
<Rewards>
<Reward itemid="81" amount="2" />
</Rewards>
</RewardBundle>
<RewardBundle>
<Probability>33</Probability>
<Name>Brute Force</Name>
<Rewards>
<Reward itemid="113" amount="3" />
</Rewards>
</RewardBundle>
<RewardBundle>
<Probability>33</Probability>
<Name>Watcher</Name>
<Rewards>
<Reward itemid="111" amount="3" />
</Rewards>
</RewardBundle>
</RewardBundles>
<ServiceDefinitions>
<ServiceDefinition name="unturned-servers.net">
<CheckHasVoted>https://unturned-servers.net/api/?object=votes&element=claim&key={0}&steamid={1}</CheckHasVoted>
<ReportSuccess>https://unturned-servers.net/api/?action=post&object=votes&element=claim&key={0}&steamid={1}</ReportSuccess>
</ServiceDefinition>
<ServiceDefinition name="unturnedsl.com">
<CheckHasVoted>http://unturnedsl.com/api/dedicated/{0}/{1}</CheckHasVoted>
<ReportSuccess>http://unturnedsl.com/api/dedicated/post/{0}/{1}</ReportSuccess>
</ServiceDefinition>
<ServiceDefinition name="obs.erve.me">
<CheckHasVoted>http://api.observatory.rocketmod.net/?server={0}&steamid={1}</CheckHasVoted>
<ReportSuccess>http://api.observatory.rocketmod.net/?server={0}&steamid={1}&claim</ReportSuccess>
</ServiceDefinition>
</ServiceDefinitions>
</VotifierConfiguration>
< >
Showing 1-8 of 8 comments
Mastoras Aug 6, 2016 @ 2:34am 
You need to give the default users the "reward" permission.
Lilly Aug 6, 2016 @ 2:37am 
Originally posted by Leo:
You need to give the default users the "reward" permission.

when im admin, i cant use it?
Lilly Aug 6, 2016 @ 2:39am 
i have error in log

[8/6/2016 7:08:49 AM] [Error] XmlException: expected ';' (3B) but found '=' (3D) Line 40, position 77. - Mono.Xml2.XmlTextReader.Expect (Int32 expected)
Mono.Xml2.XmlTextReader.ReadEntityReference (Boolean ignoreEntityReferences)
Mono.Xml2.XmlTextReader.ReadReference (Boolean ignoreEntityReferences)
Mono.Xml2.XmlTextReader.ReadText (Boolean notWhitespace)
Mono.Xml2.XmlTextReader.ReadContent ()
Mono.Xml2.XmlTextReader.Read ()
System.Xml.XmlTextReader.Read ()
System.Xml.XmlReader.ReadElementString ()
System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadPrimitiveValue (System.Xml.Serialization.XmlTypeMapElementInfo elem)
System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObjectElement (System.Xml.Serialization.XmlTypeMapElementInfo elem)
System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList, Boolean readByOrder)
System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstanceMembers (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob)
System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstance (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType)
System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObject (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType)
System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObjectElement (System.Xml.Serialization.XmlTypeMapElementInfo elem)
System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadListElement (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, System.Object list, Boolean canCreateInstance)
System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadMembers (System.Xml.Serialization.ClassMap map, System.Object ob, Boolean isValueList, Boolean readByOrder)
System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstanceMembers (System.Xml.Serialization.XmlTypeMapping typeMap, System.Object ob)
System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstance (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType)
System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObject (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType)
System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot (System.Xml.Serialization.XmlTypeMapping rootMap)
System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot ()
System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.Serialization.XmlSerializationReader reader)
Rethrow as Exception: Failed to deserialize XMLFileAsset: Plugins/Votifier/Votifier.configuration.xml
Rocket.Core.Assets.XMLFileAsset`1[fr34kyn01535.Votifier.VotifierConfiguration].Load (Rocket.API.AssetLoaded`1 callback)
Rocket.Core.Assets.XMLFileAsset`1[fr34kyn01535.Votifier.VotifierConfiguration]..ctor (System.String file, System.Type[] extraTypes, fr34kyn01535.Votifier.VotifierConfiguration defaultInstance)
Rocket.Core.Plugins.RocketPlugin`1[RocketPluginConfiguration]..ctor ()
fr34kyn01535.Votifier.Votifier..ctor ()
UnityEngine.GameObject:.ctor(String, Type[])
Rocket.Core.Plugins.RocketPluginManager:loadPlugins()
Rocket.Core.Plugins.RocketPluginManager:Start()

[8/6/2016 7:08:49 AM] [Error] NullReferenceException: Object reference not set to an instance of an object - Rocket.Core.Plugins.RocketPlugin`1[RocketPluginConfiguration].LoadPlugin ()
Rocket.Core.Plugins.RocketPlugin.OnEnable ()
UnityEngine.GameObject:.ctor(String, Type[])
Rocket.Core.Plugins.RocketPluginManager:loadPlugins()
Rocket.Core.Plugins.RocketPluginManager:Start()
Mastoras Aug 6, 2016 @ 3:04am 
You have misstype something in your config .xml file.
Lilly Aug 6, 2016 @ 3:06am 
Originally posted by Leo:
You have misstype something in your config .xml file.

but what is wrong
Ducathicc Aug 6, 2016 @ 6:41am 
The rewards are wrong typed just disable them then test the votifier then try again re-typing them
GamingGuyLV Aug 6, 2017 @ 9:32pm 
Am i able to add cars to the "reward"?
Fringe Wizard Feb 4, 2018 @ 11:18pm 
Is it possible to reward players with exp? I don't want to give them cash or items just some exp for voting. If not what is a plugin I can use to do that?
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Aug 6, 2016 @ 2:22am
Posts: 8