Jump to content

Any chance you could

Not a Bug 2.3.2

MrLiquid
MrLiquid

Posted

If you could, can you have limits ignore any foundations placed by this plugin please?
 

 

MON@H

Posted

Changed Status from Pending to Not a Bug

MON@H

Posted

Firstly, the plugin in question did not provide a public API to determine its activity in any way. Secondly, it is not the task of this plugin to exclude/influence the activity of other plugins.

  • Like 1
MrLiquid

Posted

oh thank you, so between your plugin and basements, do I ask basements to "ignore" limit entities? or

MON@H

Posted

The easiest way to make Limit Entities to ignore entity spawned by a custom plugin is to spawn that entity without OwnerID set (e.g. OwnerID = 0) and set it to userid after (NextTick for example) entity was spawned. This way OnEntitySpawned hook (which Limit Entities uses to track spawned entities) will ignore this entity. If that's what you want

MrLiquid

Posted

I spoke to the dev, he has included API

image.png.5e03aab1fb615a5f1f64db8c47a47381.png

MON@H

Posted (edited)

Call IsBasementEntity when each entity spawns, instead of changing the owner field after the entity spawns?
- Optimization? Never heard of it.

I mean, I can implement this check, it will only affect those who have this plugin installed, but I suggest going down the path I suggested.

Edited by MON@H
MrLiquid

Posted

13 hours ago, MON@H said:

Call IsBasementEntity when each entity spawns, instead of changing the owner field after the entity spawns?
- Optimization? Never heard of it.

I mean, I can implement this check, it will only affect those who have this plugin installed, but I suggest going down the path I suggested.

"I mean, I can implement this check, it will only affect those who have this plugin installed" Perfect, if you cant use the API.. then this is a working solution please

MrLiquid

Posted

The dev of basements followed your suggestion and added this

image.png.981b5f027e9a3e3eed7a0e5ce717b945.png

I am doing tests now to see how effective it is, I would need to make sure this setting is false

MrLiquid

Posted

works like a charm, thanks mate

2m

Downloads

Total number of downloads.

9.6k

Customers

Total customers served.

139.3k

Files Sold

Total number of files sold.

2.9m

Payments Processed

Total payments processed.

×
×
  • 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.