Code Monkey home page Code Monkey logo

blockparticles's Introduction

BlockParticles

This is a relatively simple Bukkit plugin that allows server operators to place decorative "blocks" of particle effects in the world. All particles that are supported by Bukkit can be used. The density of particles is configurable for each "group" of particles and a soft limit to the maximum number of blocks in a group can be set in the config.

The hard limit (due to Java) is around 2^31 - 1, but that is over two cubic kilometers, so you probably won't hit it anyways. The higher you set the density, the more lag there's going to be. But as of ~1.9, Mojang fixed a lot of what was causing lag with particles so it's probably not going to be that bad. Particle types also have their own activation ranges that I can't control, so even if you set an activation range in BlockParticles that's above this range then you still won't be able to see them until you get closer.

The particles you can use is any of those supported by Bukkit. A list of all of the available particles is here.

Groups don't have to be contiguous.

Permissions

  • blockparticles.cmd.create : Creation of partcle blocks.
  • blockparticles.type.[...] : Gives the specific type of particle (for example, VILLAGER_HAPPY translates to blockparticles.type.villagerhappy).
  • blockparticles.cmd.settype : Allows setting the type of particles for groups.
  • blockparticles.cmd.setdensity : Allows setting the densities of particles.
  • blockparticles.cmd.setrange : Allows setting the activation range of particles.

Commands

  • /bpcreate <name> <type> : Starts a new session, any blocks you place will turn into particleblocks.
  • /bpstop : Stops placing particle blocks and ends your placement session.
  • /bpsettype <name> <type> : Changes the type of particle for the group.
  • /bpsetdensity <name> <density> : Changes the density of the group.
  • /bpsetrange <name> <range> : Changes the visibility range of the group.

blockparticles's People

Contributors

treyzania avatar

Watchers

 avatar  avatar

blockparticles's Issues

Reloads can get a little messy sometimes.

This is really just because I'm forcibly disabling the plugin and reenabling it immediately after. It sounds like it should be fine, and maybe it is, but I think some things can freak out a bit if you do things a little weird.

Try to not have any sessions open when you do /bpreload until I fix this.

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.