Ops, I missed including seed saving in stash containers, I'll push an update for thatHey
Any idea why the seeds will not save after the plugin is reloaded or my server saves.chickens end up dying because they cant find food
You were likely in vanish mode when you tried to interact with the chicken or unlock a lockable area. While in vanish, you won't trigger the zoneshey
it seems the update broke some things not sure.
i no longer get the UI pop-up to upgrade the coop areas and to pick up the chickens.
I see. Thanks. Then one more thing: I have a suggestion for the PvE server: If you can make it so that other players can't kill the chickens in the dome, that would be great.You were likely in vanish mode when you tried to interact with the chicken or unlock a lockable area. While in vanish, you won't trigger the zones
Do you mean preventing other players from killing your chickens?I see. Thanks. Then one more thing: I have a suggestion for the PvE server: If you can make it so that other players can't kill the chickens in the dome, that would be great.
yesDo you mean preventing other players from killing your chickens?
Reset your lang filewhen I use the command “chicken.spawn UserID” on the console I get the error message:
Failed executing console command 'chicken.spawn' in 'Chicken Coop v1.2.0 by VisEntities' [callback] (Object reference not set to an instance of an object)
at void Oxide.Plugins.ChickenCoop.SendMessage(BasePlayer player, string messageKey, params object[] args) in C:/Projekte/Rust/RustServer/server/carbon/plugins/ChickenCoop.cs:line 6489
at void Oxide.Plugins.ChickenCoop.cmdSpawnChicken(Arg conArgs) in C:/Projekte/Rust/RustServer/server/carbon/plugins/ChickenCoop.cs:line 5719
at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
I am using Carbon, the player is always null with a command from the console
didn't help, I changed it now. It works nowReset your lang file
private void SendMessage(BasePlayer player, string messageKey, params object[] args)
{
if (player == null)
{
Puts("A chicken has been spawned!");
return;
}
Did you use the command in server console or F1 console?[22:54:46] > Failed to call hook 'cmdSpawnChicken' on plugin 'ChickenCoop v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.ChickenCoop.SendMessage (BasePlayer player, System.String messageKey, System.Object[] args) [0x00000] in <cd6728655465459a9046aaa42c29541b>:0
at Oxide.Plugins.ChickenCoop.cmdSpawnChicken (ConsoleSystem+Arg conArgs) [0x000a6] in <cd6728655465459a9046aaa42c29541b>:0
I see, so you're using it in a shop?chicken-0": {
"Command (if set, ignore item)": [
"chicken.spawn {userId}"
],
"Shortname": "",
"Skin ID": 3338631979,
"Amount": 1,
"Item Name": "chicken",
"Display Name": "Chicken",
"Is Blueprint": false,