Immediate Demolish Limiter

Block the usage of immediate demolish per auth level

Total Downloads: 434 - First Release: Apr 3, 2015 - Last Update: Apr 3, 2015

5/5, 1 like
  1. Mughisi submitted a new resource:

    Immediate Demolish Limiter - Block the usage of immediate demolish per AuthLevel

    Read more about this resource...
     
  2. thanks but we already have remover tool why we may need that?
     
  3. Immediate Demolish is an option in the menu to remove a buildingblock only available to players marked with ownerid and moderatorid. This plugin allows you to block the usage of it so that moderators and/or admins can't use it as they can use it on any buildingblock.
     
  4. Yep, that one I need :D

    But what about Shift+P and Shift+L?
     
  5. That's actually handled client-side last time I checked so there is not much to do to stop this, might be possible to log the usage at best (not even sure if that will work)
     
  6. well i guess you could also remove players from the admin list when they connect?
    maybe keep the authLevel, but remove the IsAdmin?
     
  7. Would also stop them from using all the admin console commands though (kick, ban, ...)
     
  8. true, but i guess people that need those commands are the one using level 1 as VIP players no?
    but this would be a walkaround for the moment :p
     
  9. What?..

    Code:
    [Oxide] 9:02 AM [Error] Failed to call hook 'OnBuildingBlockDemolish' on plugin 'Demolish Limiter' (NullReferenceException: )
    [Oxide] 9:02 AM [Debug]   at (wrapper managed-to-native) UnityEngine.Object:get_name ()
      at Oxide.Plugins.DemolishLimiter.OnBuildingBlockDemolish (.BuildingBlock block, .BasePlayer player) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
     
  10. Right, disable the console log for now. Should stop the error for now
     
  11. i need help. i installed the plugin but every player can use it
     
  12. Wulf

    Wulf Community Admin

    Only moderators and admin should be able to use it, I don't see how it'd be possible for any other players.
     
  13. Iam Load Oxide 2 only with that Plugin and become this warning and ingame the Plugin not work! This warning is not important for me but is not still working and have now rly a little problem. Thanks for Help

    click here for see the image
    Bilder-Upload - Kostenlos Fotos hochladen und ins Netz stellen

    [Oxide] 7:34 PM [Error] DemolishLimiter plugin failed to compile!
    [Oxide] 7:34 PM [Error] DemolishLimiter.cs(48,33): error CS0115: `Oxide.Plugins.
    DemolishLimiter.LoadDefaultConfig()' is marked as an override but no suitable me
    thod found to override
     
    Last edited by a moderator: Dec 30, 2015
  14. Needs to be updated cuz of new hook : change OnBuildingBlockDemolish to OnStructureDemolish and its ok)
     
  15. What is the command line to put into rusty rcon to disallow it for admin/mod/everyone
     
  16. Wulf

    Wulf Community Admin

    This uses Rust's auth levels only, see Admin and moderators in Rust | Oxide.
     
  17. @Wulf i need some help rust no longer let me use this plugin dunno why are there commands or can i change some coding i added the plugin to standart dailky rust now and just dont do anything admins can still use right click demlish with and with out cupboard with and without added to cupboard