TruePVE

Better PVE/PVP implementation

Total Downloads: 4,637 - First Release: Mar 25, 2016 - Last Update: Mar 7, 2018

5/5, 26 likes
  1. TY That fixed it...
     
  2. How can I edit the Plugin saying: [ TruePVE ] in Orange (In Chat)
    I want to place my server name there.
     
    Last edited by a moderator: Mar 20, 2017
  3. That is in the localization config in /oxide/lang/en/
     
  4. @ignignokt84

    I know you're not liking the NRE's but here ya go

    Found this again in rcon spammed as it was loading up from restart:

    (05:05:20) | Failed to call hook 'CanBeTargeted' on plugin 'TruePVE v0.7.11' (NullReferenceException: Object reference not set to an instance of an object)

    (05:05:20) | Connected to Steam

    (05:05:21) | Updating Rust:IO ...

    not sure if where its spamming at or what its spamming before matters, but right before it connected to steam and updated rust.io :)

    sorry bro.
     
  5. Hello
    how can I set that players can remove the wall of the house of his propieta '?
    Thank you
     
  6. You can add the AuthorizedDamage flag to your RuleSet, or you can use another plugin like R-Remover Tool for Rust | Oxide
     
  7. with the answer but where is it: AuthorizedDamage flag to your RuleSet?
    thank you
     
  8. There's a section called "flags" in each RuleSet.
     
  9. are these?
    "Name": "default",
    "Enabled": false,
    "DefaultAllowDamage": false,
    "Flags": "HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal"
    "Rules": [
    "Anything can hurt dispensers"
    "Anything can hurt players,"
    "Players can not hurt players,"
    "Anything can hurt traps"
    "Traps can not hurt players,"
    "Players can hurt barricades"
    "Barricades can not hurt players,"
    "Highwalls can not hurt players,"
    "Anything can hurt heli"
    [DOUBLEPOST=1490185016][/DOUBLEPOST]I and this:
    // flags for rulesets
    [Flags]
    enum RuleFlags
    {
    None = 0,
    SuicideBlocked = 1,
    AuthorizedDamage = 1 << 1,
    LootableCorpses = 1 << 2
    NoHeliDamage = 1 << 3
    HeliDamageLocked = 1 << 4
    NoHeliDamagePlayer = 1 << 5,
    HumanNPCDamage = 1 << 6
    LockedBoxesImmortal = 1 << 7
    LockedDoorsImmortal = 1 << 8
    AdminsHurtSleepers = 1 << 9
    LootableSleepers = 1 << 10,
    ProtectedSleepers = 1 << 11,
    TrapsIgnorePlayers = 1 << 12,
    TurretsIgnorePlayers = 1 << 13
     
  10. @SENTENZA - Yes those are what I was referring to. They are listed in the plugin overview.
     
  11. Thank you
    the answer
    solved
     
  12. Error with today's update - Failed to call hook 'CanBeTargeted' on plugin 'TruePVE v0.7.11' (NullReferenceException: Object reference not set to an instance of an object) Thank you
     
  13. Getting this on server restart.
    (09:47:55) | Failed to call hook 'CanBeTargeted' on plugin 'TruePVE v0.7.11' (NullReferenceException: Object reference not set to an instance of an object)
    Times a full page..........
     

    Attached Files:

  14. ignignokt84 updated TruePVE with a new update entry:

    0.7.12


    [DOUBLEPOST=1490624817][/DOUBLEPOST]@JP05 @^Animal^ Submitted update to fix this issue - sorry, I had this fix locally for a while and forgot to upload!
     
  15. Thanx. No errors on server restart
     
  16. Hey ignignokt84,

    Any chance you were able to look into the infopanel thing about adding a highlighted notification to say whether you were in a PVP or PVE enabled zone or time? Just wondering - Thanks.
     
  17. I looked into it a bit a few weeks ago but I wasn't able to get the panel to work, so I shelved it - I just haven't gotten back to playing around with it. But I should be getting back to it shortly, once my other projects slow down a bit.
     
  18. No worries, thanks!
     
  19. @ignignokt84

    I suppose the other day my message didn't go through or something lol

    I was wondering about the schedules:

    I enabled it and left it on (last Friday) so that it would enable pvp on this Tuesday. (Tomorrow.) I got some reports that it was sending notifications to chat every now and then saying that pvp has ended and going back to pve mode (on that same Friday). Which would be fine but that's not how I set up the schedule.

    I haven't had time to sit there and test the functionality of the scheduling because I've been preoccupied, have no test server, and too many people on my server when im on.

    can you test the functionality of this and I will try to test myself.

    Heres the schedule I have because you said it needed 2 entries. 2=Tuesday and 4=Thursday (Friday it shouldn't have turned pvp.)

    "Schedule": {
    "enabled": false,
    "useRealtime": true,
    "broadcast": true,
    "entries": [
    "2.20:00 RaidZoneRules The Purge has started, At this time, Killing and Raiding are Legal.",
    "4.20:00 default The Purge has ended, At this time, Killing and Raiding is not Allowed."
    ]
    },
     
  20. @Krazy J - Can you upload your full json so I can do a proper test? Also, was it sending the messages to players when they connected, or to all players at random times?