Jump to content

help) ideas

Pending 1.3.14

BenDer
BenDer

Posted

Hi mr01sam,

Could you please look into adding these anti-abuse features to the official version of the plugin? Right now, PvP players are heavily using PvE players as walking "safes" to hide their raid loot, which completely breaks the mod's logic.

I have completely rewritten the #region LOOTING block in my file with the help of ChatGPT. It is fully working on my live server right now, but it needs a professional dev's touch to be natively integrated into your official build.

Here is everything I have already fixed and what I need you to add to completely stop the abuse:

Fixed loose item pickups: I added OnItemPickup and OnLootEntity hooks so players can no longer vacuum up single items (DroppedItem) or backpacks from the ground if they belong to an opposing mode.

Fixed the foundation/box destruction exploit: I added OnContainerDropItems and OnEntityKill. When a box or foundation is destroyed, my code waits 1 tick and forcibly restores the original owner's ID onto the dropped loot bags and items, completely blocking players from another mode from stealing them.

Hardened secure containers: I updated CanLootHelper to properly block cross-mode transfers via ShopFront, DropBox, Mailbox, stashes, and vehicles.

Team/Clan block (Need to add): We need to prevent PvE and PvP players from joining the same team or clan dynamically.

Unlocked TCs and boxes (Need to add): We need to block players from opening or looting boxes/TCs of an opposing mode, even if they are left unlocked or have no TC in the building.

Vending machine blacklist (Need to add): We need a config blacklist to block trading specific raid materials (sulfur, gunpowder, C4, rockets) between different modes via vending machines and shopfronts.

I can send you my modified file right now so you can look at my rewritten looting section and add it to the next update.

My Discord: benderrodriges Thanks for your hard work!

  • Like 1
Mr01sam

Posted

I'll take a look into this for next patch - I had some ideas of doing this anyways!

BenDer

Posted

15 minutes ago, Mr01sam said:

I'll take a look into this for next patch - I had some ideas of doing this anyways!

I wrote you a private message, everything is there.

 

  • Like 1

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.7m
Total downloads
Customers
11.5k
Customers served
Files Sold
164.9k
Total sales
Payments
3.6m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.