-
Posts
67 -
Joined
-
Last visited
Content Type
Profiles
Warranty Claims
Downloads
Forums
Store
Services
Downloads Plus Support
DOWNLOADS EXTRA
Everything posted by Hardrock1988
-
If that help and need anymore or for someone else , i did make with chatgpt very tiny change in plugin to plant and harvest drug seeds . Only issue have to replace it every AutoFarm update private void pickCrop(GrowableEntity growableEntity) { if (config.seedStorageSlots <= 0 || config.BoxStorageSlots <= 0) return; if (containerSeeds == null || container == null) generateStorage(); int amount = growableEntity.CurrentPickAmount; if (config.seedsAllowedAndMultiplier.ContainsKey(growableEntity.Properties.SeedItem.itemid)) amount *= config.seedsAllowedAndMultiplier[growableEntity.Properties.SeedItem.itemid]; if (amount <= 0) return; Item obj; // Custom: hemp with skin -> cloth with skin if (growableEntity.skinID == 2645313312 && growableEntity.ShortPrefabName == "hemp.entity") { obj = ItemManager.CreateByName("cloth", amount, 2647169612); } // Custom: red.berry with skin -> red.berry with new skin else if (growableEntity.skinID == 2645313234 && growableEntity.ShortPrefabName == "red_berry.entity") { obj = ItemManager.CreateByName("red.berry", amount, 2650674189); } else { obj = ItemManager.Create(growableEntity.Properties.pickupItem, amount, growableEntity.skinID); } if (obj != null) { Item itemEntity = growableEntity.GetItem(); if (Interface.CallHook("OnAutoFarmGathered", growableEntity, obj, container) == null) { if (_ != null && _.Ganja != null && _.configData.settings.GanjaPluginEnable) { if (growableEntity.prefabID == 3006540952) Interface.CallHook("OnAutoFarmGather", planterBox.OwnerID.ToString(), container, growableEntity.transform.position, true, growableEntity); else if (growableEntity.prefabID == 3587624038) Interface.CallHook("OnAutoFarmGather", planterBox.OwnerID.ToString(), container, growableEntity.transform.position, false, growableEntity); } if (itemEntity != null && itemEntity.skin != 0UL) { _.Puts("its not empty"); BasePlayer player = BasePlayer.Find(planterBox.OwnerID.ToString()); if (growableEntity is CollectibleEntity) { Interface.CallHook("OnCollectiblePickup", obj, player, growableEntity); } else { Interface.CallHook("OnGrowableGathered", growableEntity, obj, player); } } else if (_.configData.settings.CallHookOnCollectiblePickup && planterBox != null && planterBox.OwnerID != 0UL) { BasePlayer player = BasePlayer.Find(planterBox.OwnerID.ToString()); if (player != null) { if (growableEntity is CollectibleEntity) { Interface.CallHook("OnCollectiblePickup", obj, player, growableEntity); } else { Interface.CallHook("OnGrowableGathered", growableEntity, obj, player); } } } } if (growableEntity != null) { if (!obj.MoveToContainer(container.inventory)) { obj.Drop(growableEntity.transform.position + new Vector3(0f, 2f, 1.5f), Vector3.zero); } if (growableEntity.Properties.pickEffect.isValid) Effect.server.Run(growableEntity.Properties.pickEffect.resourcePath, growableEntity.transform.position, Vector3.up); if (!growableEntity.IsDestroyed) growableEntity.Kill(); } _.NextTick(() => { autoFill(); }); } }
-
- 424 comments
-
- #helicopter
- #helicopters
- (and 17 more)
-
- 424 comments
-
- #helicopter
- #helicopters
- (and 17 more)
-
- 70 comments
-
- #wallpaper
- #wall
-
(and 8 more)
Tagged with:
-
- 70 comments
-
- #wallpaper
- #wall
-
(and 8 more)
Tagged with:
-
- 70 comments
-
- 1
-
-
- #wallpaper
- #wall
-
(and 8 more)
Tagged with:
-
-
-
-
hello , what could be issue for this on carbon Timer of 5s has failed in 'WelcomeController v2.0.8 by Amino' [callback] (Object reference not set to an instance of an object) at void Oxide.Plugins.WelcomeController.ImportImages() in /server/carbon/plugins/WelcomeController.cs:line 2725 at void Oxide.Plugins.WelcomeController.OnServerInitialized(bool initial)+() => { } in /server/carbon/plugins/WelcomeController.cs:line 2556 at Timer Oxide.Plugins.Timers.In(float time, Action action)+() => { } in /home/runner/work/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Oxide/Libraries/Timer.cs:line 50
-
-
-
-
-
Version 1.0.10
542 downloads
With this plugin server admins can add players to any team . All you need is team leader steam id and steam id for player you want add to team , team leader can be ofline. Chat command for admins: /addteam <teamOwnerID> <playerToAddID> /changeleader <currentLeaderID> <newLeaderID> /removeplayer <teamLeaderID> <playerID> Permission : adminteammanager.useFree -
-
-
-
- 611 comments
-
- #hud
- #interface
-
(and 6 more)
Tagged with:
-
- 611 comments
-
- #hud
- #interface
-
(and 6 more)
Tagged with:
-
- 611 comments
-
- #hud
- #interface
-
(and 6 more)
Tagged with:
-