Jump to content

request

Closed 1.0.4 1.0.5

MissGamerz
MissGamerz

Posted

possible to make it so the plugin knows the difference between recyclers in monuments and player place recyclers as it would be nice to have like rad town 60% personal recyclers 50% and safe zone 40% 

The_Kiiiing

Posted

Which plugin are you using for player placed recyclers?

MissGamerz

Posted

this shouldnt matter as i was more thinking anything out of a monument/safe zone marker should be classed as "player placed" which would make it compatible with any plugin

 

buut im using craftmenu with place anything 

The_Kiiiing

Posted

The reason why I'm asking this is because it is relatively difficult to determine if a recycler is inside a mounument just by looking at its position.

The best way would be for the other plugin to assign an OwnerId to these recyclers so they are easy to distinguish.

MissGamerz

Posted (edited)

ahhh i see 

 

how about using the monumentswatcher  or monuments finder plugins which does alot of heavy lifting and has a API ?

 

yea a ownerid or some sort of way to identify would be ideal though idk if it even sets a entity owner when the recyclers are placed i can have a look

Edited by MissGamerz
The_Kiiiing

Posted

Quote

how about using the monumentswatcher  or monuments finder plugins which does alot of heavy lifting and has a API ?

The problem is not the implementation of such a functionality but the performance implications that come with it

  • Love 1
MissGamerz

Posted

place anything uses entity ownership for its own pickup system which is uses a hammer example of their own code using this system 

 

       private void OnHammerHit(BasePlayer player, HitInfo info)
        {   
            var ent = info.HitEntity.GetComponentInParent<BaseEntity>();
            if (ent == null) return;
            if (ent.Health() != ent.MaxHealth()) return;
            if (ent.OwnerID == player.userID)

 

  • Like 1
The_Kiiiing

Posted

I'm gonna add a separate configuration option for player placed recyclers with the next update

  • Love 1
The_Kiiiing

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.0.5

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

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.