Gather Blocking

Blocks gather by certain tools.

Total Downloads: 164 - First Release: Jul 4, 2017 - Last Update: Apr 20, 2018

5/5, 2 likes
  1. DylanSMR submitted a new resource:

    Gather Blocking - Blocks gather by certain tools.

    Read more about this resource...
     
  2. DylanSMR updated Gather Blocking with a new update entry:

    1.0.1

     
  3. Thanks a lot!
     
  4. Is there anyway I can modify this to cut out gathering all together?
     
  5. Currently no. Unless of course you add all of the tools to it. I'll probably add this as a config option.
     
  6. Thank you for the response, I'm currently terrible at all things coding and I'm looking for any help I can find to fine tune some things on a server I am working on. If you are familiar with the Terminus server DeanCentral used to run, its going to be just like that. No gathering, no crafting, barrels drop items, with different drop chances based on rarity etc. and that is where I am hitting a wall and having difficulty. If you can offer me any help or would like to point me in the right direction I would be very grateful. Thank you.
     
  7. People say they can not gather dead animals.
     
  8. Yes. That's the point. This plugin will block all types of gathering by a tool. Or at least any gathering that calls the hook I am using.
     
  9. So, I added all the tools individually to the same part of the string as the bone club and bone knife separated by quotations and commas. However it still allows the gathering from all the added tools.

    what have i done wrong?
     
  10. What does your cfg look like? It would be easier for me to see it.
     
  11. [JsonProperty(PropertyName = "The list of tools that cannot gather. Based on their item name.")]
    public List<string> BlockedItems;

    public static Configuration DefaultConfig()
    {
    return new Configuration
    {
    BlockedItems = new List<string>(){
    "knife.bone",
    "bone.club",
    "axe.salvaged",
    "longsword",
    "mace",
    "machete",
    "pickaxe",
    "salvaged.cleaver",
    "salvaged.sword",
    "stone.pickaxe",
    "stone.hatchet",
    "icepick.salvaged",
    "hatchet",
    "surveycharge",
    "torch",
    "hammer.salvaged" },
    };
     
  12. Why not just change the blockeditems.json config file? Much easier and doesn't require plugin editing. Plus that's the point of it.
     
  13. I am 100% a noobie at this, and have now figured it out lmao thank you for your quick replies you saved me, im sure, HOURS of frustration.
     
  14. How can i remove the bonus resources gathered at the end?
     
  15. DylanSMR updated Gather Blocking with a new update entry:

    1.0.2