Error after July 6th update

After today's patch, getting this:

 Failed to call hook 'OnPlayerChat' on plugin 'BetterChat v5.2.14' (InvalidOperationException: Chat channel is set to Team, however the player is not in a team.)
at Oxide.Plugins.BetterChat.SendBetterChatMessage (Oxide.Plugins.BetterChat+BetterChatMessage chatMessage, ConVar.Chat+ChatChannel chatchannel) [0x0014b] in <ebb8ef75724b4aa1a617869fd3f89574>:0
at Oxide.Plugins.BetterChat.OnPlayerChat (BasePlayer bplayer, System.String message, ConVar.Chat+ChatChannel chatchannel) [0x00041] in <ebb8ef75724b4aa1a617869fd3f89574>:0
at Oxide.Plugins.BetterChat.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000ed] in <ebb8ef75724b4aa1a617869fd3f89574>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0​

i am having the same issueΒ 

Hey, would someone kindly update this good plugin?
Please?

Thank you in advance to whoever will do that.

Is this still broken? I would like to use this plugin but this doesn't seem promising together with 1 year since last update...

Chat is working on my servers and no error coming up, does the chat still show in global and team on yours ?

I haven't seen the error come up since July 7th.

Thanks guys!

nMyfFlEnglczTD3.jpg pookins

Chat is working on my servers and no error coming up, does the chat still show in global and team on yours ?

It's not perfectly clear what you mean but I guess you are talking about the BETTER CHAT formatting outputs like {Title} and {Group}. I guess, hence, those are working on your server and that's puzzling since you are, apparently, the only one to whom they work correctly, if I have interpreted your writing correctly.

Do you mind telling us what version do you use and if you have modified it in some way? Or if there are other plugins that interact with it and for some code magik make it work?

Thank you very much! πŸ˜‰

I am using the latest version but there are two methods in chat , one is global (everone sees) and the other is team (which only team members see).
The group and name show but i dont use title in the format.
All the plugins that *announce in chat , MonumentRadiation, FancyDrop, GuardedCrate, DangerousTreasures. Inbound, ProximityAlert etc all do so without any problem and i dont modify any plugins unless it is recommended by the dev
Here is a list of my plugins
01 "AdminHammer" (1.13.0) by mvrb (0.01s / 12 KB) - AdminHammer.cs
02 "Air Fuel" (0.2.3) by WhiteDragon (1.15s / 16 KB) - AirFuel.cs
03 "Always Lootable Turrets" (1.0.1) by WhiteThunder (0.73s / 144 KB) - AlwaysLootableTurrets.cs
04 "Anti Offline Raid" (0.4.3) by Calytic/Shady14u (23.06s / 313 MB) - AntiOfflineRaid.cs
05 "Auto Doors" (3.3.10) by Wulf/lukespragg/Arainrr/James/Bushhy (6.45s / 48 MB) - AutoDoors.cs
06 "Automatic Authorization" (1.3.3) by k1lly0u/Arainrr (2.77s / 10 MB) - AutomaticAuthorization.cs
07 "Backpacks" (3.13.5) by WhiteThunder (2.09s / 6 MB) - Backpacks.cs
08 "Better Chat" (5.2.14) by LaserHydra (0.05s / 376 KB) - BetterChat.cs
09 "Better Chat Filter" (1.5.1) by NooBlet (0.01s / 68 KB) - BetterChatFilter.cs
10 "BetterChatIgnore" (1.0.3) by MisterPixie (0.01s / 1 MB) - BetterChatIgnore.cs
11 "BetterLoot" (3.5.8) by Tryhard & Khan (131.79s / 781 MB) - BetterLoot.cs
12 "Better Turret Aim" (1.0.2) by WhiteThunder (58.47s / 220 KB) - BetterTurretAim.cs
13 "BotReSpawn" (1.2.7) by Steenamaroo (213.86s / 1 GB) - BotReSpawn.cs
14 "Bottom" (1.0.1) by MikeHawke (0.00s / 392 KB) - Bottom.cs
15 "Bradley Guards" (1.6.3) by Krungh Crow (33.85s / 9 MB) - BradleyGuards.cs
16 "Building Grades" (1.0.12) by Default/Arainrr (0.00s / 560 KB) - BuildingGrades.cs
17 "CCTVControl" (1.0.13) by RFC1920 (5.30s / 108 KB) - CCTVControl.cs
18 "CFuelUI" (1.0.6) by TF Crazy - Raul-Sorin Sorban Edit (0.01s / 3 MB) - CFuelUI.cs
19 "CapsNoCaps" (2.0.0) by LaserHydra (0.00s / 0 B) - CapsNoCaps.cs
20 "Car Spawn Settings" (2.3.1) by WhiteThunder (0.00s / 0 B) - CarSpawnSettings.cs
21 "Car Turrets" (1.6.3) by WhiteThunder (0.80s / 2 MB) - CarTurrets.cs
22 "ConnectMessages" (1.2.2) by Mroczny (0.04s / 936 KB) - ConnectMessages.cs
23 "Player corpse duration modifier" (2.0.4) by Mughisi (5.42s / 14 MB) - CorpseDuration.cs
24 "CupboardRange" (1.0.0) by DEUSNEXUS (0.01s / 12 KB) - CupboardRange.cs
25 "CustomLoot" (1.2.1) by Steenamaroo (33.30s / 2 GB) - CustomLoot.cs
26 "Dangerous Treasures" (2.3.8) by nivex (10.29s / 52 MB) - DangerousTreasures.cs
27 "Death History" (1.0.3) by MadKingCraig (0.11s / 1 MB) - DeathHistory.cs
28 "Death Notes" (6.3.9) by LaserHydra/Mevent (1.54s / 360 KB) - DeathNotes.cs
29 "Door Health Multiplier" (1.2.0) by Judess69er (0.96s / 60 KB) - DoorHealthMultiplier.cs
30 "Electric Generator Tweaker" (1.0.0) by FastBurst (2.92s / 152 KB) - ElectricGeneratorTweaker.cs
31 "Electro Lock" (1.1.8) by RFC1920 (0.94s / 72 KB) - ElectroLock.cs
32 "Entity Reducer" (2.1.4) by Arainrr (45.69s / 0 B) - EntityReducer.cs
33 "Event Tips Remover" (1.0.2) by Razor (1.58s / 20 MB) - EventTipsRemover.cs
34 "External Wall Decay Protection" (1.0.0) by Orange (3.11s / 1 MB) - ExternalWallDecayProtection.cs
35 "FancyDrop" (3.2.2) by FastBurst (16.45s / 1 MB) - FancyDrop.cs
36 "Foundation Limit" (1.4.2) by noname (0.01s / 1 MB) - FoundationLimit.cs
37 "Friends" (3.1.3) by Wulf (0.02s / 132 KB) - Friends.cs
38 "Give" (3.4.1) by Wulf (0.00s / 0 B) - Give.cs
39 "Godmode" (4.2.14) by Wulf/lukespragg/Arainrr/dFxPhoeniX (2.87s / 9 MB) - Godmode.cs
40 "Guarded Crate" (1.9.9) by Bazz3l (2.25s / 76 KB) - GuardedCrate.cs
41 "HeliControl" (1.4.5) by Shady (11.98s / 67 MB) - HeliControl.cs
42 "HelpText" (2.0.51) by Calytic (0.00s / 4 KB) - HelpText.cs
43 "Huntsman" (1.4.1) by Krungh Crow (10.05s / 100 KB) - HuntsMan.cs
44 "Image Library" (2.0.62) by Absolut & K1lly0u (0.02s / 5 MB) - ImageLibrary.cs
45 "Inbound" (0.6.5) by Substrata (2.49s / 1 MB) - Inbound.cs
46 "InfoPanel" (1.0.9) by Gonzi (15.38s / 277 MB) - InfoPanel.cs
47 "Keep Active Item" (2.1.0) by Ryz0r (0.39s / 7 MB) - KeepActiveItem.cs
48 "Kits" (4.4.1) by k1lly0u (4.00s / 47 MB) - Kits.cs
49 "Limited Smoke Grenade" (1.0.2) by Lincoln (0.00s / 0 B) - LimitedSmokeGrenade.cs
50 "Lock Master" (1.1.5) by FastBurst (4.59s / 128 KB) - LockMaster.cs
51 "MLRS Respawner" (1.0.0) by WhiteThunder (0.00s / 8 KB) - MLRSRespawner.cs
52 "Metabolism" (1.0.1) by The Friendly Chap (0.00s / 0 B) - Metabolism.cs
53 "MonumentRadiation" (0.2.58) by k1lly0u (2.70s / 60 MB) - MonumentRadiation.cs
54 "Movable CCTV" (1.1.2) by Bazz3l (0.01s / 0 B) - MovableCCTV.cs
55 "Mushroom Effects" (1.1.1) by supreme (0.01s / 160 KB) - MushroomEffects.cs
56 "NTeleportation" (1.7.7) by nivex (0.21s / 5 MB) - NTeleportation.cs
57 "Nav Mesh Error Fix" (1.1.1) by Ryz0r (0.00s / 0 B) - NavMeshErrorFix.cs
58 "No Coil Drain" (1.0.4) by Lincoln/Orange (1.36s / 68 KB) - NoCoilDrain.cs
59 "No Decay" (1.4.8) by 0x89A (44.22s / 87 MB) - NoDecay.cs
60 "No Duds" (1.1.0) by bearr (0.00s / 0 B) - NoDuds.cs
61 "NoFuelRequirements" (1.8.0) by k1lly0u (0.00s / 0 B) - NoFuelRequirements.cs
62 "No Give Notices" (0.3.0) by Wulf (0.00s / 0 B) - NoGiveNotices.cs
63 "No Interference" (0.1.811) by nivex (0.29s / 2 MB) - NoInterference.cs
64 "No Sash" (1.0.2) by Wulf (0.02s / 0 B) - NoSash.cs
65 "No Suicide" (0.1.5) by Wulf/lukespragg (0.00s / 0 B) - NoSuicide.cs
66 "NpcSpawn" (2.7.1) by KpucTaJl (16.79s / 18 MB) - NpcSpawn.cs
67 "PermissionsManager" (2.0.9) by Steenamaroo (0.56s / 15 MB) - PermissionsManager.cs
68 "Personal Vault Door" (1.0.3) by bmgjet (6.09s / 16 MB) - PersonalVaultDoor.cs
69 "Player Gravestone" (1.2.2) by Lincoln (31.64s / 171 MB) - PlayerGravestone.cs
70 "Player Rankings" (3.0.3) by Ankawi (0.29s / 852 KB) - PlayerRankings.cs
71 "Playtime Tracker" (0.2.2) by k1lly0u (1.19s / 71 MB) - PlaytimeTracker.cs
72 "PrivateMessages" (1.1.11) by MisterPixie (0.00s / 0 B) - PrivateMessages.cs
73 "Proximity Alert" (0.3.7) by PaiN (0.00s / 20 KB) - ProximityAlert.cs
74 "QuickSmelt" (4.0.5) by Wulf/Jake-Rich (0.02s / 0 B) - QuickSmelt.cs
75 "RadTownLoot" (2.2.0) by Krungh Crow (1.22s / 1 MB) - RadTownLoot.cs
76 "RainOfFire" (0.2.52) by emu / k1lly0u (12.56s / 28 MB) - RainOfFire.cs
77 "Recycle" (3.1.2) by 5Dev24 (9.06s / 76 MB) - Recycle.cs
78 "RemoveDefaultRadiation" (0.1.0) by k1lly0u (0.38s / 368 KB) - RemoveDefaultRadiation.cs
79 "Remover Tool" (4.3.41) by Reneb/Fuji/Arainrr/Tryhard (0.06s / 12 MB) - RemoverTool.cs
80 "Rules GUI" (2.0.1) by Mike Hawke (0.01s / 464 KB) - RulesGUI.cs
81 "SAMSiteAuth" (2.4.3) by haggbart (0.00s / 0 B) - SAMSiteAuth.cs
82 "SAM Site Range" (1.2.5) by gsuberland/Arainrr (0.91s / 36 KB) - SAMSiteRange.cs
83 "SaveAlerter" (1.0.0) by PsychoTea (0.03s / 508 KB) - SaveAlerter.cs
84 "Simple Kill Feed" (2.2.8) by Krungh Crow (0.50s / 5 MB) - SimpleKillFeed.cs
85 "Skins" (2.2.3) by misticos (2.72s / 100 KB) - Skins.cs
86 "SkipNightVote" (0.1.4) by k1lly0u (0.62s / 19 MB) - SkipNightVote.cs
87 "Spawn Modular Car" (5.2.3) by WhiteThunder (1.60s / 36 KB) - SpawnModularCar.cs
88 "Stack Fuel Generator" (1.0.1) by ninco90 (1.28s / 56 KB) - StackFuelGenerator.cs
89 "Stack Size Controller" (4.1.3) by AnExiledDev/patched by chrome (36.23s / 253 MB) - StackSizeController.cs
90 "Steam Checks" (5.0.7) by Shady14u (0.04s / 4 MB) - SteamChecks.cs
91 "TargetPractice" (0.2.2) by k1lly0u (1.38s / 11 MB) - TargetPractice.cs
92 "TestPerm" (1.0.3) by Steenamaroo (0.00s / 0 B) - TestPerm.cs
93 "Timed Execute" (0.7.4) by PaiN & misticos (113.20s / 73 MB) - TimedExecute.cs
94 "TurretsReborn" (1.0.7) by Mrdecoder & 0xf (6.27s / 68 KB) - TurretsReborn.cs
95 "Vehicle Deployed Locks" (1.9.2) by WhiteThunder (1.80s / 216 KB) - VehicleDeployedLocks.cs
96 "Vehicles" (0.1.8) by bsdinis (5.11s / 5 MB) - Vehicles.cs
97 "WelcomeMessages" (1.0.7) by Ankawi (0.01s / 352 KB) - WelcomeMessages.cs
98 "Where's My Corpse" (0.6.2) by Fuji/LeoCurtss (0.11s / 456 KB) - WheresMyCorpse.cs
99 "ZLevels Remastered" (3.1.9) by nivex (5.48s / 153 MB) - ZLevelsRemastered.cs

First of all, thank you for your explanation. There is something that, maybe, could solve my problem: "The group and name show but i dont use title in the format".
My format (in BetterChat.json) is the following:

      "Chat": "{Title} {Username}: {Message}",
      "Console": "{Title} {Username}: {Message}"​

And as you can see I use the {Title} while you don't. I want to try to modify that snippet into something like that

      "Chat": "{Group} {Username}: {Message}",
      "Console": "{Group} {Username}: {Message}"​
And see if that can resolve my thing.... 😁

UPDATE
Unfortunately not, that did not work. My plugins list is the following:

AdminRadar.cs
AlphaAnimals.cs
AmmoHUD.cs
AutoCCTVStations.cs
AutomatedEvents.cs
BackpackButton.cs
Backpacks.cs
BackpackSwap.cs
BackToTheWild.cs
BaseRepair.cs
BasicInfo.cs
BetterChat.cs
BetterElectricity.cs
BetterElevators.cs
BetterLoot.cs
BetterNoStability.cs
BetterRootCombiners.cs
BGrade.cs
BloodBags.cs
BlueprintManager.cs
BotReSpawn.cs
BuildingGrades.cs
BuildingSkins.cs
BuildingWorkbench.cs
ChestStacks.cs
ColouredChat.cs
ConveyorStacks.cs
CopyPaste.cs
CreativeToggle.cs
CustomIcon.cs
CustomizableMagazines.cs
CustomVendingSetup.cs
DeathNotes.cs
DiscordLogger.cs
DiscordServerStats.cs
DoorUpgrade.cs
Earthquake.cs
ExtendedRecycler.cs
ExtraSeating.cs
FancyDrop.cs
FridgeFood.cs
FullRepair.cs
FurnaceSplitter.cs
GUIAnnouncements.cs
HealthyGuns.cs
HeliSams.cs
IgniterPlus.cs
ImageLibrary.cs
InfoScreens.cs
InjuriesAndDiseases.cs
InventoryCleaner.cs
InventoryViewer.cs
ItemSkinRandomizer.cs
JetEvent.cs
Kits.cs
LaptopCrateHack.cs
LightsOn.cs
Lockcomposter.cs
Lockoven.cs
MagicAirdropPanel.cs
MagicBradleyPanel.cs
MagicCargoShipPanel.cs
MagicCh47Panel.cs
MagicClockPanel.cs
MagicEarthquakePanel.cs
MagicHeliPanel.cs
MagicHostilePanel.cs
MagicMessagePanel.cs
MagicOilRigPanel.cs
MagicPanel.cs
MagicPlayersPanel.cs
MagicRadiationPanel.cs
MagicServerRewardsPanel.cs
MagicWipePanel.cs
Metabolism.cs
MiniCopterOptions.cs
MiniPlate.cs
MonumentAddons.cs
MonumentFinder.cs
NoDuds.cs
NoGiveNotices.cs
NPCKits.cs
OxidationAutoLights.cs
PermissionsManager.cs
PlaceholderAPI.cs
PlayerAdministration.cs
PlayerRankings.cs
PlayerRanks.cs
PlaytimeTracker.cs
QuickSmelt.cs
RaidableBases.cs
RandomRespawner.cs
RecycleManager.cs
RemoverTool.cs
RocketTurrets.cs
RustRewards.cs
SaveAnnouncer.cs
ServerPop.cs
ServerRewards.cs
SignArtist.cs
SimpleStatus.cs
SkillTree.cs
SkillTreeItems.cs
Skins.cs
SortButton.cs
StackFuelGenerator.cs
StackModifier.cs
Tides.cs
TimedExecute.cs
TimeOfDay.cs
TugMe.cs
UINotify.cs
Vanish.cs
WaterCatcherBoost.cs
WaterPassthrough.cs
WaterWorks.cs
WeatherEvents.cs
WipeInfoApi.cs

I think I'm seeing the same error with the September update:

(17:59:52) | Failed to call internal hook 'OnPlayerChat' on plugin 'BetterChat v5.2.14' [2032160890] (Chat channel is set to Team, however the player is not in a team.)
at CancelOptions Oxide.Plugins.BetterChat.SendBetterChatMessage(BetterChatMessage chatMessage, ChatChannel chatchannel) in C:/Games/rust/carbon/plugins/BetterChat.cs:line 257
at object Oxide.Plugins.BetterChat.OnPlayerChat(BasePlayer bplayer, string message, ChatChannel chatchannel) in C:/Games/rust/carbon/plugins/BetterChat.cs:line 107
at object Oxide.Plugins.BetterChat.InternalCallHook(uint hook, object[] args) in BetterChat.cs/Internal:line 174​

Β 


My guess is it's from people hopping servers.
MONpP9IiRFS6v3p.jpg HunterZ

I think I'm seeing the same error with the September update:

(17:59:52) | Failed to call internal hook 'OnPlayerChat' on plugin 'BetterChat v5.2.14' [2032160890] (Chat channel is set to Team, however the player is not in a team.)
at CancelOptions Oxide.Plugins.BetterChat.SendBetterChatMessage(BetterChatMessage chatMessage, ChatChannel chatchannel) in C:/Games/rust/carbon/plugins/BetterChat.cs:line 257
at object Oxide.Plugins.BetterChat.OnPlayerChat(BasePlayer bplayer, string message, ChatChannel chatchannel) in C:/Games/rust/carbon/plugins/BetterChat.cs:line 107
at object Oxide.Plugins.BetterChat.InternalCallHook(uint hook, object[] args) in BetterChat.cs/Internal:line 174​

Β 


My guess is it's from people hopping servers.

Oh yea I noticed that - its a Rust bug really. I'll open a ticket in the Rust Discord about that.