1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

AntiNoobRaid

Blocks raiding of new players

Total Downloads: 344 - First Release: Dec 4, 2017 - Last Update: Feb 17, 2018 at 10:52 PM

5/5, 6 likes
  1. Slydelix
    AntiNoobRaid prevents doing damage to entities placed by a new player

    For this plugin to work PlaytimeTracker is needed to monitor how long players are on the server.

    Time period inside which players cannot get raided is configurable in config file, by default it is 86400 (seconds)

    Permission:
    antinoobraid.admin - gives player permission to command /refunditem

    Chat Commands:
    /checknew - allows player to check if the entity is placed by a new player to avoiding losing explosives (needs to be looking at the building/entity)

    /refunditem add - adds the item you are holding to the list of items that will get refunded (in case the item is a raid tool)

    /refunditem remove - removes the item you are holding from the list of items that will get refunded (in case the item is a raid tool)

    /refunditem list - lists all the items that are currently set to refund

    /refunditem clear - clears the list of items set to refund

    /refunditem all - sets all raid tools to get refunded (C4, satchel, beancan, f1 and all 3 types of rockets)

    Console Command:
    antinoob.checksteam - manually checks in game time for all online players (try to keep amount of requests per day below 100k :D)
    antinoob.wipe.playerdata - wipes player data from the file
    antinoob.wipe.attempts - wipes player raid attempts from the file
    antinoob.wipe.all - wipes the whole data file
    antinoob.removenoob <steamID> makes the player non noob (use this in case you notice player is not a noob)
    antinoob.addnoob <steamID> makes the player noob (use this in case you notice player is really... noob...)

    NOTE: after changing the time in config you have to reload the plugin
    (oxide.reload AntiNoobRaid)

    NOTE 2: for infinite refunding set the "Refunds before player starts losing explosives to zero

    NOTE 3: For steam API key go to steamcommunity.com/dev/apikey and create one. Put the long thing in config file and reload the plugin

    Config file:
    Code (Text):
    {
      "Check Steam for in game time": true,
      "In-game steam time which mark player as non-noob (hours)": 200.0,
      "Prevent new players from raiding": false,
      "Refund explosives": true,
      "Refunds before player starts losing explosives": 1,
      "Remove noob status of a raider on raid attempt": false,
      "Show message for not being able to raid": true,
      "Show time until raidable": false,
      "Steam API key": "SOMETHINGVERYLONG",
      "Time inside which new players are protected": 86400,
      "User data refresh interval (seconds)": 30,
      "Notify player on first connection with protection time": true,
      "Use game tips to send first connection message to players": false,
      "Days of inactivity after which players base will be raidable": 7
    }
    misha1979 and hoppel like this.