Project Zomboid

Project Zomboid

52 次評價
简单禁止物品 Easily Ban Items!
   
獎勵
加入最愛
已加入最愛
移除最愛
Mods: Build 41
檔案大小
發佈於
更新時間
116.066 KB
2022 年 11 月 11 日 上午 8:15
2023 年 4 月 14 日 下午 8:30
6 項更新註記 (檢視)

訂閱以下載
简单禁止物品 Easily Ban Items!

描述
Have you been tired of limiting players to use some excessively powerful weapons without abadoning a excellent mod?
Are you still repeating the boring process of [modify script - upload to workshop - restart server/game] in order to ban certain items?
Are you still appealling players not to throw cigarette butts, pop cans and candy papers all over the ground, to protect the environment (server memory)?

If yes, this lightweight mod is just for you!
You can easily ban items by adding its ID in the new sandbox option! (For example, to ban the M1911 pistol, you only need to type in "Pistol2". And you don't need to add the prefix, such as "Base.”)
(When you are in Admin mode or use the mod "Debug Menu", you can conveniently find the item ID.)

If you want to change the banned items list in the sandbox option at any time, you can use the admin menu(available in mutiplayer) or the mod "Change Sandbox Options".

MOD principle: Automatically detect the player inventory, and if there exist banned items, they will be deleted.
This mod can be used to ban cigarette butts, cans, candy paper -- players needn't throw them all over the ground anymore, and reduce the burden of server memory!
Or you can ban Harry potter wands, Gatlings, and other too much powerful equipments – increase playing time as well as game experience!

-----------------------------------------------------------------------------------------------------

Q: Does it only detect player's items? Why not delete items in the whole world?
A: Considering the number of containers in the world and the huge amount of items that may be stored inside them, detecting all of those containers will bring more stress to the server (the same reason for player backpacks)! Howerver just detecting the items in players' inventory is much simpler, which reduces 99% calculation but achieves more than 90% effect.





如果喜欢的话可不可以点一个赞呢?



563636668 PZ大聪明服务器群,大聪明都爱玩的服务器!(*thumb*)
-----------------------------------------------------------------------------------------------------
特别感谢 金色喵球 和 千年纹 大佬的指导!

Workshop ID: 2887214193
Mod ID: Easily_Ban_Items
28 則留言
Le SneK [] 10 月 3 日 下午 7:17 
last time i ever trust a Chinese developer, literally caused my PC to bluescreen, shitty mod never trust Chinese bs let them stay in their own bubble
TJX 2023 年 3 月 27 日 下午 10:29 
@三猫的太刀侠 感谢,我加你好友了。这个宝石BAN不掉困扰我好几天了
三猫的太刀侠  [作者] 2023 年 3 月 27 日 下午 7:18 
@TJX
我刚才测试了这四个宝石会正常删除。你可以重进游戏再试试。如果不行的话就加我q发截图给我看吧。
TJX 2023 年 3 月 27 日 上午 8:14 
@三猫的太刀侠 确定严格检查了大小写,烟头,空罐子是正常的。
三猫的太刀侠  [作者] 2023 年 3 月 17 日 下午 7:35 
@TJX
唯一原因是没有正确输入ID。请严格检查物品ID的大小写、下划线等是否正确。
TJX 2023 年 3 月 17 日 下午 5:51 
@三猫的太刀侠 作者你好, 生化危机MOD 的宝石BAN不掉。
NotARealDentist 2023 年 3 月 4 日 下午 8:07 
Thank you for the help ♥

Will this mod ban items from appearing as loot in containers too, or only from players' inventory?
三猫的太刀侠  [作者] 2023 年 3 月 4 日 下午 6:01 
@Crustancean the soup
Sorry for the carelessness. You can see it in the workshop introduction now.
NotARealDentist 2023 年 3 月 4 日 下午 3:10 
What's this mod's ID and workshopitem?
三猫的太刀侠  [作者] 2023 年 3 月 2 日 上午 12:13 
@TTAJ1bl4
No problem, I will add this function on finishing another mod im working on.