Jump to content

Limit Entities 2.1.9

$25.00
   (6 reviews)
Message added by MON@H,
  • If you want to know what prefab some entity is using, I suggest you to use Entity Owner plugin. Connect to your server, stand in the front of any entity you want to get prefab name for and use /prod command.
  • If you want to get a full list of all supported prefabs into log file - use limitentities.list console command

6 Screenshots

  • 76k
  • 1.4k
  • 92.95 kB

Recommended Comments



@ZombZ I tested and it's on the list: 

PrefabID: 4267988016
PrefabShortName: chippyarcademachine
Prefab: assets/prefabs/misc/chippy arcade/chippyarcademachine.prefab

Works as expected

Link to comment
Share on other sites

is there a way to have 
assets/prefabs/misc/xmas/poweredlights/xmas.advanced.lights.deployed.prefab

be able to disable on server, or have it where one can limit it to zero with this plugin, cause as of now it says its not tracked, and I cannot remove them.
or is there a setting/convar I adjust to make these go byebye,  I have yet to find a solution to this annoying item.


thanks.

Link to comment
Share on other sites

@Nstahg8r it's supported in latest version 

PrefabID: 132493746
PrefabShortName: xmas.advanced.lights.deployed
Prefab: assets/prefabs/misc/xmas/poweredlights/xmas.advanced.lights.deployed.prefab

 

Link to comment
Share on other sites
1 hour ago, MON@H said:

@Nstahg8r it's supported in latest version 

PrefabID: 132493746
PrefabShortName: xmas.advanced.lights.deployed
Prefab: assets/prefabs/misc/xmas/poweredlights/xmas.advanced.lights.deployed.prefab

 

hey that is awesome, thank you my friend.

Link to comment
Share on other sites

Hello, I just upgraded to Limit Entities. I like it a lot so far and am going to continue using it. but I have one question. 

I want 1 Base role that all players share
then I want 12 skill roles that each have specifics

For example, Farmer skill allows more planters & miners to get more furnaces  

But there's a chance the user can go up in two skills they could choose both skills in my tree if they have enough points.

Will this be possible or will 1 role always cancel out the other (or can I just set all the additional percs to the same priority?)

I ask this cause I tried making a farmer role and then I just had only farmer limits and not default.
 

Edited by Chill Roleplay
Link to comment
Share on other sites
MON@H

Posted (edited)

@Chill Roleplay, in your terms "1 role always cancel out the other". You can copy your "Base role" 12 times and then edit each one to suit the specifics of that "role".

Edited by MON@H
Link to comment
Share on other sites

but if I follow your steps then I get the miner skill role allowing more furnaces and the Farmer Role allowing more planters. Will my farmer role then take priority or can I set farmer and miner the same priority? Is it possible to have multiple specifications work at once? I'm thinking it will only allow one but I'm wondering if there is a way?

Edited by Chill Roleplay
Link to comment
Share on other sites

@Chill Roleplay, no, if you set the same priority to more then one permission you will just confuse yourself. Only one permission will be active. They are not combined.

Link to comment
Share on other sites

OK I appreciate the response,  My Suggestion

Implementing a tree approach with the default role as an umbrella role. It could provide the flexibility and complexity for users. This way, players could have multiple roles with different priorities(or priority not even mattering), but still benefit from the specifications of the default role while also gaining additional benefits from higher priority roles.

Either way, I'm very happy with the plugin and how easy it was to setup and switch over :classic_happy:

 

Link to comment
Share on other sites
On 4/7/2024 at 12:40 PM, MON@H said:

@Nstahg8r it's supported in latest version 

PrefabID: 132493746
PrefabShortName: xmas.advanced.lights.deployed
Prefab: assets/prefabs/misc/xmas/poweredlights/xmas.advanced.lights.deployed.prefab

 

I have a question, but first I want to thank you for this addition, 
question- I have these annoying AF lights set to zero, however they still spawn in game, and sometimes i find that players have added a sh*tton of them.
is their a way to ERASE these from even spawning in game?
Kinda new to configs and the like if their is something I am missing, maybe?
any help would be greatly appreciated.

Link to comment
Share on other sites
MON@H

Posted (edited)

@Nstahg8r it's not spawned in game. It's crafted if the player has a Steam item (more info here or here).

If you disabled it using this plugin, players will not be able to place it. Just wait until the next wipe, no need to erase anything.

Edited by MON@H
Link to comment
Share on other sites
7 hours ago, MON@H said:

@Nstahg8r it's not spawned in game. It's crafted if the player has a Steam item (more info here or here).

If you disabled it using this plugin, players will not be able to place it. Just wait until the next wipe, no need to erase anything.

ok, i actually had not thought of the whole steam item in players inventory side of it, will just do what ya gotta do then, thank you sir, for your help/info.

Link to comment
Share on other sites

Hello

I'm working on a plugin that can be used to build stuff. I'm interested in making it compatible with your plugin. I'm not interested in purchasing your plugin just for the sake of adding compatibility, as I don't use it myself.

Is there an api or can I have some help with figuring out how to check if the entity a user is trying to place, should be prevented from being placed because of limitations set by this plugin?

 

Link to comment
Share on other sites

@The Bob this plugin uses CanBuild hook, so you can call it like this:

if (LimitEntities != null
&& LimitEntities.IsLoaded
&& LimitEntities.Call("CanBuild", planner, entity, target) != null)
{
    Puts("Building is blocked by LimitEntities");
}

The player will be shown a building restriction message

  • Like 1
Link to comment
Share on other sites

I'm assuming your CanBuild hook returns false if limits have been reached.

Thanks for the help, I appreciate it. I will give it a try. 

Link to comment
Share on other sites

Do you have a config with all the entities added to it??

 

Or is there a command that can add all of the entities automatically??

Link to comment
Share on other sites

I have an issue where people can keep building after reaching the limits, how to solve that?

 

Personally I think the issue comes from claiming abandoned bases, limits mess up after claiming a base?

 

Edited by Maximo
Link to comment
Share on other sites

@Maximo yes, code for abandoned bases wasn't thoroughly tested, so it may be inaccurate. If you really want to figure out what exactly issue is, you can set "Log Level (Debug, Info, Warning, Off)": "Debug" and try to claim some bases. I can fix inaccuracy in code, but I need some additional info about issue. Feel free to create a support request and give additional info about such cases.

  • Like 1
Link to comment
Share on other sites

I have a player which isnt listed in the datafile, he is in a team and whenever his teammate places something it adds up to his limits, it stacks...how to solve that?

Link to comment
Share on other sites

@Maximo datafile only used to store building owners. If you want support, please create a support request and provide more details. From what you've described, it's not entirely clear what your problem is.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 4
  • Love 1

MON@H's Collection

User Feedback

1.3m

Downloads

Total number of downloads.

6.5k

Customers

Total customers served.

95.9k

Files Sold

Total number of files sold.

1.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.