IntellectualSites / IntellectualSites/PlotSquared

PlotSquared Feature Suggestion: 'kill-road-monsters' and 'kill-road-animals' Setting in settings.yml

Open
#2,957 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement
Dominant language
Java
Stars
653
Forks
975
Avg merge
2m
Merged PRs (30d)
6

Description

PlotSquared Feature Suggestion:

Allow server owners to allow players to keep their pets and other non-hostile mobs from dying in the roads while unwanted mobs are eliminated. Owners could still eliminate all mobs or not.
How should it be implemented?

In the PlotSquared/config/settings.yml file, replace the existing kill-road-mobs with kill-road-animals and kill-road-monsters.
Additional context

Other plugins like WorldGuard and Multiverse have something like that already.
Checklist:

  • I made sure there are no duplicates of my suggestion (Use search)
  • I made sure my suggestion does not exist yet (Check the wiki)
  • [] I made sure my suggestion is useful for the majority of PlotSquared users

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing kill-road-mobs setting in PlotSquared/config/settings.yml and the code that handles mob removal in roads. Determine how animals, monsters, and player-owned pets are distinguished, then verify that separate settings provide the requested behavior while retaining the option to remove all mobs; no test file or entry point is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.