R-Remover-Tool

Building and entity removal tool

Total Downloads: 65,415 - First Release: Apr 3, 2015 - Last Update: Feb 7, 2018

5/5, 105 likes
  1. Okay, I downloaded, and overwrote my own files with your references Resistance. Maybe a plugin is overlapping somewhere, or allowing this, when RemoverTool normally would not, but... I have all the required plugins to function with RemoverTool, and yet, when I auth myself, (or other regular players who are testing with me) on an enemy cupboard, they can /remove anything.

    If the cupboard is destroyed, they can lay their own, auth, and remove entities that they themselves do not have ownership to, (proof with /prod, and /prod2).
     
  2. I dont seem to have any problems but if you keep having problems on your server then remove the plugin would be the best thing to do
     
  3. So with your setup on your server, you can remove deployables, have them refunded, and auth yourself on an enemy cupboard without being able to /remove their entities?
     
  4. Yes, it could be the reason it's not working for you might be because you have added too many permissions to the default group that lets them
    This is my config
    Code:
    {
      "GUI - Position - X Min": "0.1",
      "GUI - Position - Y Min": "0.65",
      "Message - Admin Override Disabled the Remover Tool": "The remover tool was disabled for the time being.",
      "Message - Cant Use Remove With Item": "You can't use the remover tool while you are holding an item",
      "Message - External Plugin Blocking Remove": "You are not allowed use the remover tool at the moment",
      "Message - Friends Plugin Missing": "Plugin reference missing. Update config for 'Use RustIO' to false, or install 'Friends' plugin.",
      "Message - Multiple Players Found": "Multiple players found",
      "Message - No Players Found": "No players found",
      "Message - No Rights To Remove This": "You have no rights to remove this",
      "Message - Not Allowed": "You are not allowed to use this command",
      "Message - Not Enough To Pay": "You don't have enough to pay for this remove",
      "Message - Nothing To Remove": "Couldn't find anything to remove. Are you close enough?",
      "Message - Raid Blocked": "RaidBlocker: You need to wait for {0}s before being allowed to remove again",
      "Message - Remover Tool Ended": "{0}: Remover Tool Deactivated",
      "Message - Target Remover Tool Ended": "The Remover Tool for {0} has ended",
      "Message - Unable to remove Tool Cupboard": "You cannot /remove Tool Cupboards.",
      "Remove - Access - Require Block Ownership": true,
      "Remove - Access - Use Building Owners": true,
      "Remove - Access - Use Friends & Require Ownership (Require Block Ownership must be true)": true,
      "Remove - Access - Use RustIO & BuildingOwners (Building Owners needs to be true)": true,
      "Remove - Access - Use ToolCupboards": true,
      "Remove - Auth - AuthLevel - Admin Commands": 1,
      "Remove - Auth - AuthLevel - Normal Remove": 0,
      "Remove - Auth - Permission - Admin Remove": "removertool.canremoveadmin",
      "Remove - Auth - Permission - All Remove": "removertool.canremoveall",
      "Remove - Auth - Permission - Normal Remove": "removertool.canremove",
      "Remove - Auth - Permission - Target Remove": "removertool.canremovetarget",
      "Remove - Default Time": 30,
      "Remove - Distance - Admin": 20,
      "Remove - Distance - All": 300,
      "Remove - Distance - Player": 3,
      "Remove - Max Remove Time": 120,
      "Remove - Pay": true,
      "Remove - Pay - Costs": {
        "0": {
          "wood": "1"
        },
        "1": {
          "wood": "100"
        },
        "2": {
          "stones": "150",
          "wood": "100"
        },
        "3": {
          "metal fragments": "75",
          "stones": "50",
          "wood": "100"
        },
        "4": {
          "high quality metal": "25",
          "metal fragments": "75",
          "stones": "350",
          "wood": "250"
        },
        "deployable": {
          "wood": "150"
        }
      },
      "Remove - Pay - Deployables": true,
      "Remove - Pay - Structures": true,
      "Remove - RaidBlocker": true,
      "Remove - RaidBlocker - Radius To Block": 80,
      "Remove - RaidBlocker - Time To Block": 300,
      "Remove - Refund": true,
      "Remove - Refund - Deployables": true,
      "Remove - Refund - Percentage (Structures Only)": {
        "0": "100.0",
        "1": "80.0",
        "2": "60.0",
        "3": "40.0",
        "4": "20.0"
      },
      "Remove - Refund - Structures": true
    }
    If you have given default group removertool.canremoveall permission then it will let them remove all I have given the default group and all other group removertool.canremove permission only
     
  5. I've used your config - I will try to revoke group default removertool.canremoveall, but honestly - I don't think I allowed that permission. If I'm not mistaken that is the permission to /removeall which litterally removes structures. What I'm talking about is the players, typing /remove, authorizing themselves on an enemy cupboard, (with your config settings the way they are) and being able to remove any structures, or deployables.

    What is your server Resistance?
     
  6. since the last update , remove can be used without cupboard, even if the parameter is enabled !!!
    it is a problem to block raid with remove, please update ou correct this !!!
     
  7. hi, how to configure the plugin to delete your construction
     
  8. read the overview so you know how to use the plugin in game
     
  9. how to remove only what you have built and others were not able to
     
  10. So I had this plugin and We decided not to use it. I deleted it from the ftp but players can still remove things. How do I make this stop? Thanks in advance.
     
  11. restart your server
     
  12. You have to delete the actual RemoverTool.cs file from your plugins folder. It will automatically be unloaded then.
     
  13. When i set this options in config:
    Remove - Access - Use Building Owners": true,
    Remove - Access - Use RustIO & BuildingOwners (Building Owners needs to be true)": false,
    Remove - Access - Use ToolCupboards": false,
    All players can't remove stone/wood wall/gate
     
  14. Hopefully this can be fixed soon, the building owners function isn't working right so you can still remove other player's buildings.
     
  15. yeah litle bug, that why i edited plugin

    Code:
                            if (player.userID.ToString() == ownerid){
                                return true;
                            }
                            else{
                                return MessageErrorNotAllowedToRemove;
                            }
    
     
  16. Same here... no one seems to believe me that when you make that option available to have the deployables refunded, that when a player auths themselves on an enemy cupboard, they can then remove the entire enemy base. This is has been confirmed through other server owners.
    [DOUBLEPOST=1465232482][/DOUBLEPOST]
    Where can we cut and paste this command in the .cs file?
     
  17. just replace
    if (player.userID.ToString() == ownerid) return true;
    to my code in CanRemoveEntity function
     
  18. Ok, I put it in, it almost works. What happens now, is an enemy will auth themselves on a cupboard, and take all the deployables in the area that cupboard protects. They cannot remove that enemy base anymore, but they can "steal" all the deployables in the area - which is nearly just as bad.
     
  19. Fixes from above in case some are not sure how to add it to the coding

    Note: I have not tested if this fix works
     

    Attached Files: