R-Remover-Tool

Building and entity removal tool

Total Downloads: 63,014 - First Release: Apr 3, 2015 - Last Update: Feb 7, 2018

5/5, 105 likes
  1. If you want to have all the features of the remove tool you will need to install the plugin "buildingowners", it is possible for players to access the remove tool without it but then they need a cupboard at their building (which they probably will, but you never know). This is all because of a change by Rust where the owners of the structures are no longer saved with the building object. Basically if you don't have a cupboard or the plugin "buildingowners" the normal remove command will not work and only the admin commands /remove admin and /remove all will be available.
     
  2. Works fine on our server
     
  3. it does work. My bad. I didnt have building manager. Sorry.
     
  4. Awesome work!!!!

    Can you add to the config file everything that the plugin prints on the chat ?? Also the commands and chat name ?? So i can translate and change them. Thx
     
    Last edited by a moderator: Jan 29, 2015
  5. Hello, just a headsup garry just added a change to main branch that when the players inventory is full, items will spill out into the world around the player.. with the 1k stack limit - this is going to cause LARGE drops when removing big places
     
  6. Bah ... Lol :p nothing i can do from this plugin :p
     
  7. Understood, I think it'll be hilarious to watch and you'll have heaps of people following you haha
     
  8. It would be great to see /help strings in cfg json file, so i could translate it in json, rather than lua itself.
     
  9. That comment about items falling out is incorrect. using the give command doesnt cause that issue at all.
     
  10. Updated everything and...

    [Oxide] 8:52 AM [Info] Unloaded plugin R-Remover Tool (v1.4.8) by Reneb
    [Oxide] 8:52 AM [Error] Failed to load plugin r-remover (Sharing violation on path c:\games\8_2_121_25_28016\1112264\ruste\server\1112264\oxide\plugins\r-remover.lua)
    [Oxide] 8:52 AM [Debug] at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
    at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
    at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
    at System.IO.File.OpenRead (System.String path) [0x00000] in <filename unknown>:0
    at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0
    at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
    at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string,System.Text.Encoding)
    at System.IO.File.ReadAllText (System.String path, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
    at System.IO.File.ReadAllText (System.String path) [0x00000] in <filename unknown>:0
    at Oxide.Lua.Plugins.LuaPlugin.Load () [0x00000] in <filename unknown>:0
    at Oxide.Lua.Plugins.LuaPluginLoader.Load (System.String directory, System.String name) [0x00000] in <filename unknown>:0
    at Oxide.Core.OxideMod.LoadPlugin (System.String name) [0x00000] in <filename unknown>:0
    [Oxide] 8:52 AM [Info] Loaded plugin R-Remover Tool (v1.4.8) by Reneb
    [Oxide] 8:52 AM [Info] Error in R-Remover, you may want to have the "Building Owners" plugin installed to give ownership of buildings to certain players. Else it will only use ToolCupboard
     
  11. oxide.reload r-remover
    And discard the message i just Forgot to remove it ;)
     
  12. worked like a charm, thanks
     
  13. hey dude i updated this with building owners before changeownership was working etc and prod just reset server and its showing this error in my oxide log [Info] Error in R-Remover, you may want to have the "Building Owners" plugin installed to give ownership of buildings to certain players. Else it will only use ToolCupboard which it is installed strange
     
  14. And discard the message i just Forgot to remove it ;) <--
    !!!!!!!!!!!!!!!!!!!!!!!!
     
  15.  
  16. [Oxide] 5:50 PM [Error] r-remover: LuaScriptException while calling OnPlayerAtta
    ck: [string "r-remover.lua"]:242: attempt to perform arithmetic on field 'refund
    rate' (a nil value)
    at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unkn
    own>:0
    at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System
    .Type[] returnTypes) [0x00000] in <filename unknown>:0
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (ob
    ject,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invoke
    Attr, System.Reflection.Binder binder, System.Object[] parameters, System.Global
     
  17. Corruption in your config file
     
  18. hello that is my config;

    {
    "MaxAllowedTime": 120,
    "DefaultActivationTime": 30,
    "useToolCupboard": true,
    "Refund": {
    "activated": true,
    "refundrate": 1
    },
    "RemoveForModerators": false,
    "RemoveForPlayers": false
    }
     
  19. Just reset it, some Times just changing the file format corrupts it