Skip to content
A plugin that making factions with certain condition free from raiding.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings
config
lib
src/main
target
.classpath
.gitattributes
.gitignore
.project
README.md
build.xml
pom.xml

README.md

NewbieFaction--- Powered by LogoCat

mcfallout Jar Download link: Spigot Page

This is a plugin that suits your factions server. Newbie factions are now automatically protected by this plugin until they meet one of the criteria or kill another players.

Features :

Enhanced mechanism : This plugin would check whether the factions meets the requirements of Newbie-Faction. Criteria :

  1. members number does not exceed a certain amount (configurable, default 3)
  2. do not have ally (which their ally could exploit newbie-factions as a storage method.)
  3. do not kill players. (if they do, they will lose their newbie-faction tag for X seconds, X is configurable)

When a faction is regarded as Newbie-Faction :

  1. their faction flags [ pvp, explosion, offlineexplsion ] are automatically set to false, preventing them from looting or losing power.
  2. members can not place TNT all the world.
  3. non-faction players can't place TNT either

Environment

This build is compiled and tested on these environments.

Hard-Dependency

This plugin needs to run with the following plugins with the latest version to work properly:

  • faction - what this plugin is made to enhance for

Installation

  1. Drop the plugin jar file in your server folder /plugins/ and run once.
  2. After the plugin folder and default config.yml is generated, stop the server.
  3. Start to set your own config withing config.yml.

Configuration setting

  1. The messages are all configurable. You can edit them based on the name tag like [LEAST_PLAYER_TO_JOIN_PVP].
  2. Color codes escapes are represented with '§'.
  3. In all, after setting your world name, you could just leave these default values. It is well tuned already.
LEAST_PLAYER_TO_JOIN_PVP: 5:
# faction reaches this amount of player would lose their newbie-faction tag.
YOU_HAVE_TO_BE_IN_A_NORMAL_FACTIONS_TO_PLACE_TNT: 'You have to be in a normal faction to place TNT.'
# Most of the config.yml just like this one. Easy to understand. 
COUNTING_WORLDS: world,world_the_end,world_nether
# Plugin only counts these world for forbidding TNT placing or player killing.
SECOND_OF_NON_NEWBIE: 86400
# How much second should a faction impossible to tagged as newbie-faction after any member of that kills a player.
TEXT_PVP_KILLER_VICTIM: §cKiller §7/ §eVictim 
# The player-killing pair shown when a player is checking a faction has killed any player or not.

Commands

command description required permission
/fcheck show the current criteria of being a newbie faction. true
/fcheck [faction_name] show the faction is newbie or not, and if this factions has a player killing penalty of being newbie factions, show the time. true

Development

Want to contribute? Great! This project is open to everyone as long as it follows the license. You could follow these steps to build up the developing environment :

  1. Click here for instrctions of importing a maven project.
  2. Add the dependent plugin .jar file mentioned above.
  3. Run the project as 'maven install'
  4. The built version would be in /$project_name/target/

License

MIT licenses https://opensource.org/licenses/MIT THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You can’t perform that action at this time.