1. Lizzaran submitted a new resource:

    Forbidden Stakes - Find stakes inside rocks and outside of the map

    Read more about this resource...
     
  2. Lizzaran updated Forbidden Stakes with a new update entry:

    1.0.0

     
  3. needs updating to work with newest version
     
  4. Need update please
     
  5. Ven

    Ven

    Need update
     
  6. Need update
     
  7. [Oxide] 11:03 [Error] Error while compiling ForbiddenStakes.cs(163,49): error CS0117: `TerrainSettingsManager' does not contain a definition for `Instance'
     
  8. Can someone please look at the plugin forbidden stakes and see if it can be fixed...I think the person that made it is awol :(
     
  9. Try this one.
     

    Attached Files:

  10. You da man! I would like to thank you for all the work you do and for helping the hurtworld community and the plugin developers.
     
  11. I agree !!
     
  12. Wulf

    Wulf Community Admin

    @Lizzaran / @SouZa, I'd recommend using RefTrackedObject instead of FindObjectsByType, as FindObjectsByType can be a bit of performance hog.
     
  13. Thanks @Wulf
    Maybe something like this ?
    Code:
    var enumerator = RefTrackedBehavior<OwnershipStakeServer>.GetEnumerator();
    while (enumerator.MoveNext()) { ... } 
     
  14. Wulf

    Wulf Community Admin

    Yes, I believe so.
     
  15. Ok cool, I tested and it work.
     

    Attached Files:

  16. works perfect :) thx man
     
  17. Is there anyway to stop players planting a stake in forbidden area?
    I am a lazy hoster and do not want to wipe the forbidden stakes every midnight....@SouZa
     
  18. Maybe using the OnEntitySpawned hook to know when a Stake is placed, and check if inside forbidden areas. If yes, destroy it. Or something like that.
     
  19. Thx a lot , and would it be added in next version of Plugin.ForbiddenStakes?