1. So this does ban IP even if they change steam account?
     
  2. How is it possible to ban someone not on your server at the time?
     
    Last edited by a moderator: Mar 18, 2015
  3. Offline bans are currently not supported, you can use the built in Rust ban system by using "banid steamid playername reason"
     
  4. ok thanks
    [DOUBLEPOST=1426801251,1426681392][/DOUBLEPOST]
    Code:
    File: EnhancedBanSystem.lua Line: 29 After parsing a value an unexpected character was encountered: ". Path '76561198180563170', line 25, position 1.:
      at Newtonsoft.Json.JsonTextReader.ParsePostValue () [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.JsonTextReader.ReadInternal () [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0
      at Oxide.Core.Configuration.KeyValuesConverter.ReadJson (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue, Newtonsoft.Json.JsonSerializer serializer) [0x00000] in <filename unknown>:0
     
  5. This with new update?
     
  6. Emh, where did u find it?
     
  7. Probably caused by a corrupt data file. Have you manually edited it?
     
  8. @Domestos Feel free to update this plugin with the file attached to this post :) Its tested plugin Permission works and everything is okay you can check it if u want :) Thanks for help.. about the small error :p

    I've made some changes to this plugin i think they are helpfull

    TESTED ON MY OWN SERVER WORKS!!

    Added Permissions
    canban = /ban
    cankick = /kick
    canunban = /unban
    cancheckban = /bancheck
     

    Attached Files:

  9. You basicly simply copied the permission functions from my ChatHandler to this nothing more.

    I already have a local copy with implemented permissions but there are some more changes i plan to make before publishing it.
     
  10. yeah i was about to edit it for my server but i JUST uploaded for users to help them ... but its your plugin you will decide :)

    It was my first time so i didnt know how to add this thing i just checked other plugins like Reneb and Wulf said and i learned something atleast.
     
  11. Is it possible to add support that you dont need to enter the whole playername? because if your name is like "Naked-Men Hunter" its not working.
     
  12. If thats the real name and not just displayed in chat by another plugin it should work when using "" to wrap the name
     
  13. I mean is it possible to make it like the TP system? So i only have to enter /ban Naked instead of /ban "Naked-Men Hunter"?
     
  14. Its possible but no ETA yet.
     
  15. can i simply add: "local targetPlayer = self:FindPlayerByName( args[1] )" to the /ban command or does it breaks?
    Greets
     
  16. Its not that simple. It'll break if you add only that.
     
  17. I can't unban people.

    Code:
    > player.unban 76561198040908402
    [Oxide] 10:35 PM [Error] Failed to call hook 'ccmdUnban' on plugin 'Enhanced Ban System'
    File: EnhancedBanSystem.lua Line: 312 attempt to call method 'RustDBUnban' (a string value):
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>: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 (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 
     
  18. Did you unload rustdb ?
    This looks like the plugin is trying to call the rustdb plugin but can't find it anymore
     
  19. [​IMG]
    [DOUBLEPOST=1429649823,1429561532][/DOUBLEPOST]
    No I didn't unload RustDB. In the picture it shows both are in the plugin folder.