Giter VIP home page Giter VIP logo

mob-plugin's Introduction

Nukkit Mob Plugin

Development: kniffo80

MobPlugin is a plugin that implements the mob entities for MCPE including movement, aggression etc.

Notice

Welcome Github issue!

This plug-in is in development. Therefore, It is possible to function abnormally.

Credits

Credits go to Team-SW! They have a nice plugin already made. I used it and adapt it for 0.16.

Plugin Example configuration

Place this plugin jar file to your Nukkit's home directory "${NUKKIT_HOME}/plugin".

Example:

/usr/share/nukkit/plugins/MobPlugin-0.0.2-SNAPSHOT.jar

Then you have to create a folder in plugin folder with the name of the plugin and place the config.yml there ("${NUKKIT_HOME}/plugin/MobPlugin").

Example:

/usr/share/nukkit/plugins/MobPlugin/config.yml

When Nukkit Server starts up and the plugin is activated, the config.yml is read and evaluated by the plugin.

config.yml example

The following configuration sets mobs AI enabled and the auto spawn task will be triggered all 300 ticks. It's configured to spawn only wolfes:

entities:
  mob-ai: true
  auto-spawn-tick: 300
  worlds-spawn-disabled: 

max-spawns:
  bat: 0
  blaze: 0
  cave-spider: 0
  chicken: 0
  cow: 0
  creeper: 0
  donkey: 0
  enderman: 0
  ghast: 0
  horse: 0
  iron-golem: 0
  mooshroom: 0
  mule: 0
  ocelot: 0
  pig: 0
  pig-zombie: 0
  rabbit: 0
  silverfish: 0
  sheep: 0
  skeleton: 0
  skeleton-horse: 0
  snow-golem: 0
  spider: 0
  wolf: 1
  zombie: 0
  zombie-horse: 0
  zombie-villager: 0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.