Not limiting anything
Does the plugin need an update ? players seem to be able to place w/e they like without limiting anything, any ideas. ?

Merged post

Alright well the only ones that do get limited are the default items that are in the config file but when i add other items to the list it doesn't limit those.

Merged post

Alright i found out the issue you have to get the /shortname, because its not the same as just putting mailbox, you need to put mailbox.deployed.

Merged post

The only items i'm having issues with are the table, mailbox, it doesn't seem to block you from placing more, but it says you have reached the limit but you can keep placing them, any ideas ?

Merged post

Edit: All the items with .deployed im having issues with, it says you reach the limit but you can keep placing them.

Merged post

I got it to work, i just added that line to the code, and also all the other item names that start with .deployed.

if (entity.ShortPrefabName == "mailbox.deployed")
item = ItemManager.CreateByName("mailbox");
I'm having similar issue, some entities are limited, but I just tried fundations and the players get the error message but the fundation is not getting removed and the logs show this error:

Failed to call hook 'OnRemovedEntity' on plugin 'EntityLimit v0.6.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.EntityLimit.EntityDestroyed (BaseEntity entity) [0x0005b] in <072bfbe07ee545959ab2f72ef58b41c6>:0
at Oxide.Plugins.EntityLimit.OnRemovedEntity (BaseEntity entity) [0x00000] in <072bfbe07ee545959ab2f72ef58b41c6>:0
at Oxide.Plugins.EntityLimit.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00257] in <072bfbe07ee545959ab2f72ef58b41c6>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0


I tried this with foundation.triangle