In 30mins I will check it.

Entity Limit
Limit entities per player
Total Downloads: 703 - First Release: Jun 4, 2016 - Last Update: Jul 20, 2018
- 5/5, 11 likes
-
PaiN updated Entity Limit with a new update entry:
0.6
-
thank you, will try it later
-
is there anyway so you can make it like let's say i limited the sleeping bags to 4 and placed all of them and then i wanted to pickup the bag and place it somewhere else ?
-
R-Remover Tool for Rust | Oxide -
-
Code:
at Oxide.Plugins.EntityLimit.EntityDestroyed (.BaseEntity entity) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EntityLimit.OnEntityDeath (.BaseCombatEntity entity, .HitInfo hitInfo) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EntityLimit.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
-
"MaxLimits": {
"cupboard.tool.deployed": 1
Code:[10/05/2017 08:57:17] Unloaded plugin Entity Limit v0.5.0 by PaiN [10/05/2017 08:57:43] at Oxide.Plugins.EntityLimit+PlayerLimit.Modify (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EntityLimit.OnEntitySpawned (.BaseNetworkable entity) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EntityLimit.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
Last edited by a moderator: Oct 5, 2017 -
Hi,
Is there a way to add command said how much they can build again ? For each entities?
And add clan,friends support to limit per clan and not player? (Using Universal plugin?)
ThanksLast edited by a moderator: Oct 15, 2017 -
Hi, There is an issue with "autoturret_deployed" . The bigest issue is that is possible to continue to deploye turret after the limit.
The second issue is that the only way to decrease the counter is to /remove the turret.. If you pick it up by the normal way with hamer, the counter don't decrease :/ -
Same here with those settings:
Code:{ "MaxLimits": { "campfire": 10, "autoturret_deployed": 10 } }
Code:7:57 [Error] Failed to call hook 'OnEntitySpawned' on plugin 'EntityLimit v0.6.0' (NullReferenceException: Object reference not set to an instance of an object) 17:57 [Stacktrace] at Oxide.Plugins.EntityLimit+PlayerLimit.Modify (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EntityLimit.OnEntitySpawned (.BaseNetworkable entity) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EntityLimit.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
Code:
(08:40:04) | at Oxide.Plugins.EntityLimit+PlayerLimit.Modify (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EntityLimit.OnEntitySpawned (.BaseNetworkable entity) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EntityLimit.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 (08:40:04) | Failed to call hook 'OnEntitySpawned' on plugin 'EntityLimit v0.6.0' (NullReferenceException: Object reference not set to an instance of an object) (08:40:04) | at Oxide.Plugins.EntityLimit+PlayerLimit.Modify (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EntityLimit.OnEntitySpawned (.BaseNetworkable entity) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EntityLimit.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
Hey, I've this config
Code:{ "MaxLimits": { "mining.quarry": 1, "campfire": 50, "ceilinglight": 50, "furnace": 30, "furnace.large": 15, "lantern": 50, "searchlight": 50, "tunalight": 50 } }
How can I fix this or what can I do? -
What about limiting building blocks? Can this limit the amount of building blocks such as foundations, walls, etc. that the players build?
-
Great plugin! Exactly what I needed after I found someone lagging the server with campfires! Thanks!
-
There's been a persistent issue with this plugin where players will be at max for an entity, have it destroyed, (wooden box, for instance) yet not able to place more of the same entity. Not sure if the code just doesn't account for this or if the plugin isn't playing nice with our server.
-
By default the config limits high stone walls and stone wall gates. I removed that and added my own items. Thing is players were complaining these items were still limited and I saw them in the data file being listed there so I had to modify my config to this:
Code:{ "MaxLimits": { "campfire": 25, "skull.fire.pit": 25, "ceilinglight": 25, "searchlight": 25, "tunalight": 25, "furnace": 25, "furnace.large": 25, "wall.external.high.stone": 500, "gates.external.high.stone": 25 } }
Sincerely, great plugin -
Hi!
I want to remove bed and limit sleeping bag to 1 for a dark reason.
bed_deployed doesn't work too
Also, once the sleeping bag is destroyed, I've to wipe the limit to place it again because it counted as one. Same if I picked up.
Thanks!Last edited by a moderator: Dec 5, 2017 -
"small_stash_deployed": 2
not work
Code:| at Oxide.Plugins.EntityLimit+PlayerLimit.Modify (.BasePlayer player, .BaseEntity entity) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EntityLimit.OnEntitySpawned (.BaseNetworkable entity) [0x00000] in <filename unknown>:0 at Oxide.Plugins.EntityLimit.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0