Auto Broadcast not working
I placed the .cs file under plugins and wanted to change the messages. My FTP has the lang folder but there is nothing inside. I created the en folder and placed the AutoBroadcast.json file in there. In game it doesnt show any messages at all. What am I doing wrong?
Sounds like the plugin isn't actually loaded then, as the file is created automatically when it is loaded.
So what should i do? Shutting down the server, deleting the plugin and uploading it again?
Did you verify the plugin was loaded and Oxide is installed as well? You can check Oxide with the oxide.version command. For seeing if plugins are loaded, use the oxide.plugins command else check your oxide/logs for errors.
okay i will

Merged post

So oxide.plugins shows that its loading. The log also shows that its loading:

14:50 [Info] Loading Oxide Core v2.0.3867...
14:50 [Info] Loading extensions...
14:50 [Info] Latest compiler MD5: 8ce6d27e7718e3d164766bba8833537a
14:50 [Info] Local compiler MD5: 8ce6d27e7718e3d164766bba8833537a
14:50 [Info] Loaded extension CSharp v2.0.4000 by Oxide and Contributors
14:50 [Info] Loaded extension MySql v2.0.3755 by Oxide and Contributors
14:50 [Info] Loaded extension Rust v2.0.4379 by Oxide and Contributors
14:50 [Info] Loaded extension SQLite v2.0.3754 by Oxide and Contributors
14:50 [Info] Loaded extension Unity v2.0.3768 by Oxide and Contributors
14:50 [Warning] [DEBUG] Cleanup file: /storage/games/metamods/rust/roxide/rust/RustDedicated_Data/Managed/Oxide.Core.CSharp.dll
14:50 [Warning] Failed to cleanup file: /storage/games/metamods/rust/roxide/rust/RustDedicated_Data/Managed/Oxide.Core.CSharp.dll
14:50 [Warning] [DEBUG] Cleanup file: /storage/games/metamods/rust/roxide/rust/RustDedicated_Data/Managed/Oxide.Core.MySql.dll
14:50 [Warning] Failed to cleanup file: /storage/games/metamods/rust/roxide/rust/RustDedicated_Data/Managed/Oxide.Core.MySql.dll
14:50 [Warning] [DEBUG] Cleanup file: /storage/games/metamods/rust/roxide/rust/RustDedicated_Data/Managed/Oxide.Core.SQLite.dll
14:50 [Warning] Failed to cleanup file: /storage/games/metamods/rust/roxide/rust/RustDedicated_Data/Managed/Oxide.Core.SQLite.dll
14:50 [Warning] [DEBUG] Cleanup file: /storage/games/metamods/rust/roxide/rust/RustDedicated_Data/Managed/Oxide.Core.Unity.dll
14:50 [Warning] Failed to cleanup file: /storage/games/metamods/rust/roxide/rust/RustDedicated_Data/Managed/Oxide.Core.Unity.dll
14:50 [Warning] [DEBUG] Cleanup file: /storage/games/metamods/rust/roxide/rust/RustDedicated_Data/Managed/Oxide.Game.Rust.dll
14:50 [Warning] Failed to cleanup file: /storage/games/metamods/rust/roxide/rust/RustDedicated_Data/Managed/Oxide.Game.Rust.dll
14:50 [Warning] [DEBUG] Cleanup file: /storage/games/metamods/rust/roxide/rust/RustDedicated_Data/Managed/Mono.Posix.dll.config
14:50 [Warning] Failed to cleanup file: /storage/games/metamods/rust/roxide/rust/RustDedicated_Data/Managed/Mono.Posix.dll.config
14:50 [Info] Using Covalence provider for game 'Rust'
14:50 [Info] Loading plugins...
14:50 [Info] Loaded plugin Rust v2.0.4379 by Oxide and Contributors
14:50 [Info] Loaded plugin Unity v2.0.3768 by Oxide and Contributors
14:50 [Info] AdminDeepCover, AdminLeaveJoin, AirdropPrecision, AutoBroadcast, AutoDoors, BarrelPoints, BetterChat, BetterLoot, BoxSorterLite, Clans, CompoundOptions, DeathNotes, Economics, FurnaceSplitter, GUIShop, GatherManager, GatherRewards, Godmode, HeliVote, HitIcon, InfoPanel, InstantCraft, InventoryCleaner, Kits, LootBouncer, NTeleportation, NoEscape, NoGiveNotices, QuickSmelt, RecyclerSpeed, SkipNightVote, StackSizeController, TownTeleport and Vanish were compiled successfully in 0ms
14:50 [Info] Loaded plugin Admin Deep Cover v2.0.1 by Tricky
14:50 [Info] Loaded plugin AdminLeaveJoin v0.1.10 by austinv900
14:50 [Info] Loaded plugin Airdrop Precision v0.1.3 by k1lly0u
14:50 [Info] Loaded plugin AutoBroadcast v1.0.8 by Wulf/lukespragg
14:50 [Info] Loaded plugin AutoDoors v3.1.2 by Wulf/lukespragg
14:50 [Info] Loaded plugin Barrel Points v2.0.8 by redBDGR
14:50 [Info] Loaded plugin Better Chat v5.1.8 by LaserHydra
14:50 [Info] Loaded plugin BetterLoot v3.0.0 by FuJiCuRa / dcode
14:50 [Info] Loaded plugin Box Sorter Lite v1.0.9 by haggbart
14:50 [Info] Loaded plugin Clans v0.1.52 by k1lly0u
14:50 [Info] Loaded plugin Compound Options v1.1.1 by nivex/rever
14:50 [Info] Loaded plugin Death Notes v6.2.0 by LaserHydra
14:50 [Info] [Economics] Saving balances for players...
14:50 [Info] Loaded plugin Economics v3.5.0 by Wulf/lukespragg
14:50 [Info] Loaded plugin Furnace Splitter v2.2.0 by Skipcast
14:50 [Info] Loaded plugin GUI Shop v1.5.9 by Default
14:50 [Info] Loaded plugin Gathering Manager v2.2.71 by Mughisi
14:50 [Info] Loaded plugin Gather Rewards v1.5.3 by CanopySheep
14:50 [Info] Loaded plugin Godmode v4.2.2 by Wulf/lukespragg/Arainrr
14:50 [Info] Loaded plugin HeliVote v0.1.32 by k1lly0u
14:50 [Info] Loaded plugin HitIcon v1.5.9 by serezhadelaet
14:50 [Info] Loaded plugin InfoPanel v1.0.0 by Default
14:50 [Info] Loaded plugin Instant Craft v2.1.1 by Orange
14:50 [Info] Loaded plugin Admin / Player Inventory Cleaner v1.5.1 by TheDoc - Uprising Servers
14:50 [Info] Loaded plugin Kits v3.2.93 by Reneb
14:50 [Info] Loaded plugin Loot Bouncer v1.0.2 by Sorrow/Arainrr
14:50 [Info] Loaded plugin NTeleportation v1.0.69 by RFC1920
14:50 [Info] Loaded plugin NoEscape v2.1.24 by Calytic
14:50 [Info] Loaded plugin No Give Notices v0.2.0 by Wulf/lukespragg
14:50 [Info] Loaded plugin Quick Smelt v5.1.3 by Iv Misticos
14:50 [Info] Loaded plugin Recycler Speed v1.0.4 by yetzt
14:50 [Info] Loaded plugin SkipNightVote v0.1.4 by k1lly0u
14:50 [Info] Loaded plugin Stack Size Controller v2.0.1 by Canopy Sheep
14:50 [Info] Loaded plugin TownTeleport v1.6.2 by mvrb
14:50 [Info] Loaded plugin Vanish v0.7.7 by nivex
14:56 [Info] IP address from command-line: 62.113.213.232
14:56 [Error] Failed to call hook 'OnServerInitialized' on plugin 'AutoBroadcast v1.0.8' (JsonReaderException: Invalid character after parsing property name. Expected ':' but got: ,. Path '', line 2, position 44.)
at Newtonsoft.Json.JsonTextReader.ParseProperty () [0x00116] in <8fe7f8665ff548909c2f26d557e5093a>:0

at Newtonsoft.Json.JsonTextReader.ParseObject () [0x000d8] in <8fe7f8665ff548909c2f26d557e5093a>:0

at Newtonsoft.Json.JsonTextReader.Read () [0x00053] in <8fe7f8665ff548909c2f26d557e5093a>:0

at Newtonsoft.Json.JsonReader.ReadAndAssert () [0x00000] in <8fe7f8665ff548909c2f26d557e5093a>: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) [0x000b6] in <8fe7f8665ff548909c2f26d557e5093a>: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) [0x0006d] in <8fe7f8665ff548909c2f26d557e5093a>:0

at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <8fe7f8665ff548909c2f26d557e5093a>:0

at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <8fe7f8665ff548909c2f26d557e5093a>:0

at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <8fe7f8665ff548909c2f26d557e5093a>:0

at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <8fe7f8665ff548909c2f26d557e5093a>:0

at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <8fe7f8665ff548909c2f26d557e5093a>:0

at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in <8fe7f8665ff548909c2f26d557e5093a>:0

at Oxide.Core.Libraries.Lang.GetMessageFile (System.String plugin, System.String lang) [0x00067] in <4452f821def6406d834e4149849fe7ea>:0

at Oxide.Core.Libraries.Lang.GetMessages (System.String lang, Oxide.Core.Plugins.Plugin plugin) [0x00040] in <4452f821def6406d834e4149849fe7ea>:0

at Oxide.Plugins.AutoBroadcast.OnServerInitialized () [0x0002a] in <57fee1a095d54f7da3b1dedc9969c74f>:0

at Oxide.Plugins.AutoBroadcast.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00035] in <57fee1a095d54f7da3b1dedc9969c74f>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0

14:56 [Info] [BetterLoot] Using '23' active of '23' supported containertypes
14:56 [Info] [BetterLoot] Updating internals ...
14:56 [Info] [GUI Shop] ShopCategory: 4x Zoom Scope Unknown item: 4x zoom scope
14:56 [Warning] Calling 'OnServerInitialized' on 'GatherManager v2.2.71' took 145ms
14:56 [Warning] [HitIcon] Plugin Clans work with HitIcon
14:56 [Warning] Calling 'OnServerInitialized' on 'InfoPanel v1.0.0' took 533ms
14:56 [Info] [NTeleportation] Game Version: 2208.187, Url: , Level: Procedural Map, size: 4200, seed: 420
14:56 [Warning] Calling 'OnServerInitialized' on 'QuickSmelt v5.1.3' took 130ms
14:56 [Warning] Calling 'OnServerInitialized' on 'TownTeleport v1.6.2' took 142ms
14:56 [Info] [BetterLoot] No stacked LootContainer found.
14:56 [Info] [BetterLoot] Populated '882' supported containers.
Looks like your changes were invalid JSON, so you'd need to validate and fix the typos in the file. I'd suggest using a site such as http://www.jsonlint.com to see.
Failed to call hook 'OnServerInitialized' on plugin 'AutoBroadcast v1.0.8' (JsonReaderException: Invalid character after parsing property name. Expected ':' but got: ,. Path '', line 2, position 44.)

Delete your lang file and reload the plugin, edit it from there.

Ok so i deleted everything and started fresh. Plugin is loaded according to oxide.plugins but still in my ftp the lang folder is empty

Merged post

Side note: Inside the game it shows me these two example messages but i have no idea where this file is located.
You'll need to refresh in your FTP client, they tend to not show right away.
Reazon
https://ibb.co/YcB6RJc here is a picture of my FTP
Did you reload or restart after deleting the file?
Yes i did. I stopped the server, deleted the files, put the .cs file back in, started the server, stopped the server and started it up again

So yeah, your FTP client just isn't showing or Oxide isn't installed then. Please make sure Oxide installed and check your oxide/logs for errors too. If the plugin is loaded and Oxide is installed, the file is there.

https://ibb.co/k5FKZQ7
https://ibb.co/hgJNqN7


So as far as i can understand that, the plugin is in my ftp, but according to the log it isnt loaded. The thing is, that the example messages are still showing ingame.