1. Wulf

    Wulf Community Admin

    Domestos submitted a new resource:

    PVP Switch - Allows you to switch between PVP and PVE

    Read more about this resource...
     
  2. /pvp is used to enable
    /pvp is used to disable
     
  3. Domestos updated PVP Switch with a new update entry:

    ResourceID

     
  4. anything for sleepers? I want them off
     
  5. Domestos updated PVP Switch with a new update entry:

    rust update

     
  6. Domestos updated PVP Switch with a new update entry:

    permissions

     
  7. can someone help me to figure out how to get this to work, all I get is invalid command. and I really want my server to be PvE
     
  8. Wulf

    Wulf Community Admin

    Check your logs for errors and post them here.
     
  9. um, I dont know were to check for logs, but it just keeps giving me invalid command, thinking it might have to make myself owner first, if I can get that figured out
     
  10. Wulf

    Wulf Community Admin

    There is a thread for that under Oxide Support.
     
  11. any way to change the plugin so it turns it off for the whole game, when installed?
     
  12. Wulf

    Wulf Community Admin

    Temporary build compatible with Oxide builds 266+.
     

    Attached Files:

  13. Hi Guys,

    I have a PVE server but the PVP Switch plugin dosent work since the update today ;-( I can use the /pvp command but no effect.

    I hope you can help me

    sKy
     
  14. Wulf

    Wulf Community Admin

    Next Oxide update should fix it.
     
  15. Ok but i found a solution! I changed the PLUGIN:OnPlayerAttack(attacker, hitinfo) to PLUGIN:OnEntityAttacked( entity, hitinfo)

    Now it works fine.
     
  16. Update Please
     
  17. Wulf

    Wulf Community Admin

    What's the issue with it?
     
  18. CHR

    CHR

    It does work. But we need additional stuff.

    Pls make something about the c4. People can kill with c4. And they can kill people by making a fire on someone. Can u do something against that?
     
  19. Just got this error message via rcon:
    Code:
    [Oxide] 10:16 PM [Error] Failed to call hook 'OnPlayerAttack' on plugin 'PVP Switch'
    File: pvpswitch.lua Line: 58 attempt to call method 'ToPlayer' (a nil 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
    [DOUBLEPOST=1432614456,1432469313][/DOUBLEPOST]Also, is there any way to set it so that PvP is switched off for players but remains on for admins and moderators?
    [DOUBLEPOST=1432695030][/DOUBLEPOST]Something else - even with PvP turned off, rockets still do damage :eek:
     
  20. I am having a simple issue but I can't seem to use the command within Rusty. Is there a way to do this?