You modified it for en? Are you sure the changes are still there?
AutoBroadcast
Moved
Total Downloads: 8,941 - First Release: Oct 26, 2014 - Last Update: Feb 27, 2017
- 5/5, 20 likes
-
Wulf Community Admin
-
-
you need to reload the plugin afterwards @Sunshine_live90
-
Hi:
This currently appears broken after the last update, here is what we are seeing.
(15:41:00) | Unloaded plugin AutoBroadcast v1.0.8 by Wulf/lukespragg
(15:41:00) | Failed to call hook 'OnServerInitialized' on plugin 'AutoBroadcast v1.0.8' (JsonReaderException: Invalid character after parsing property name. Expected ':' but got: }. Path 'Homes', line 7, position 2.)
at Newtonsoft.Json.JsonTextReader.ParseProperty () [0x00000] in <filename unknown>:0
at Newtonsoft.Json.JsonTextReader.ParseObject () [0x00000] in <filename unknown>:0
at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary (IDictionary dictionary, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonDictionaryContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x00000] in <filename unknown>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in <filename unknown>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in <filename unknown>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00000] in <filename unknown>:0
Any help/suggestions on how to get it working again would be appriciated.
Thank you -
Wulf Community Admin
-
Fantastic plugin, wolf could you add support for chat icon support for steamid? Example here 76561198795921619 Gyazo - 45f489e1fc1382bc236234c6eae0453c.png
-
Hi Wulf:
Thank you for your help, that site www.jsonlint.com is great.
I did want to know too that this was my error, I missed a ' : ' when I added a line just after the Rust Update completed. My apologies, next error I will double check my code before posting.
Thanks again for your help and all that you do for the community.
Wez -
i in the .jason file i change the messages to say this
{
"ExampleMessage": "Join the server discord ",
"AnotherExample": "Ask Admins for help"
}
but it dose not change it -
Wulf Community Admin
-
{
"Broadcast Interval (Seconds)": 300,
"Randomize Messages (true/false)": false
}
{
"ExampleMessage": "Join the server Discord",
"AnotherExample": "Ask the Admins for help"
} -
no, look at the plugin overview. it explains it all
-
"ExampleMessage": "Join the server Discord",
"AnotherExample": "Ask the Admins for help"
} -
{
"Broadcast Interval (Seconds)": 300,
"Randomize Messages (true/false)": false
}
{
"Build": "Build a home before exploring monuments and get some food!",
"commands": "/home|/tpr|/tpa|/tpb|/clan][/kit][/sethome]",
"Discord": "Discord",
"Meteor shower": "Starts every 30 miss (don't forget the meteors drop loot)",
"Staff on the server": "[OWNER] TrimT@x, cobs, fragle0132, ChaoticVibe, KingShadowMurloc, bulldog2522, Dr.Aromatic, 6 meter kuk"
}
is their any mistakes on this? -
Wulf Community Admin
-
-
Hi TrimT@x:
Are you putting your messages in the Oxide/Lang/En/Autobroadcast.json file?
your editing looks correct but will not work if it is in the config directory and would need to be in the En directory. -
btw do i have to add this
{
"Broadcast Interval (Seconds)": 300,
"Randomize Messages (true/false)": false
}
or will it already work without that -
Wulf Community Admin
-
Getting this:
Code:Failed to run a 300.00 timer in 'AutoBroadcast v1.0.8' (FormatException: Input string was not in a correct format.) at System.String.ParseFormatSpecifier (System.String str, System.Int32& ptr, System.Int32& n, System.Int32& width, System.Boolean& left_align, System.String& format) [0x00000] in :0 at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in :0 at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in :0 at System.String.Format (System.String format, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.AutoBroadcast.Lang (System.String key, System.String id, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.AutoBroadcast.m__0 () [0x00000] in :0 at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in :0
Code:{ "Broadcast Interval (Seconds)": 300, "Randomize Messages (true/false)": false }
Code:{ "Message1":"Be respectful with eachother.", "Message2":"You are playing on: <color=#ffa500>{server.hostname}</color>", "Message3":"There are <color=#ffa500>{players.active}</color>/<color=#c0c0c0>{server.maxplayers}</color> players playing in the server, and <color=#c0c0c0>{players.sleepers}</color> sleepers.", "Message4":"Check <color=#01c9df>commands</color> with <color=#ffa500>/help</color> command.", "Message5":"Use /kit for starter, daily and weekly gear!", "Message6":"Need Admin assistance? Use <color=#01c9df>/ticket</color>!", "Message7":"Use <yellow>/vote<end> to get some rewards!", "Message8":"Use <color=#ff0066>/vip</color> for information about the VIP status!", "Message9":"Use <color=#ff0066>/viptrial</color> for a free 2 day trial of our VIP status!" }
-
Wulf Community Admin