BukkitNyan

NyanCat

BukkitNyan

Let players become the Nyan-Cat
No client modifications or damaged maps!

Version: v1.0.1

License: License given for private server and public server non-commercial use and unmodified ad-free non-commercial redistribution; all other rights reserved.

Supports: Permissions (yeti), Bukkit Permissions (all supporting permission systems)

This plugin is inspired by the plugin a friend of mine made titled NyanCraft. I took the basic premise and wrote my own version, an improved version. All code for BukkitNyan is originally written by myself.

Features:

  • Completely customizable colors / blocks.
  • Completely customizable propulsion. By default, it propels players every 15 server ticks at a reasonable speed in the direction they are looking.
  • Customizable calculation frequencies.
  • Customizable decay rates and ratios.
  • Customizable duration limit, cooldown, and price (only supports Vault)
  • Permission nodes for various features:
    • BukkitNyan.reset (default isOp) (this command is /nyan flush, it will drop all current players and blocks to be decayed)
    • BukkitNyan.reload (default isOp) (this command is /nyan reload, rereads from the configuration file and it is safe to do while someone is currently using a Nyan; they will not be affected)
    • BukkitNyan.verbose (default isOp) (this command is /nyan verbose, it gives you information on active players, current number of vertical bars, and the status of the various thread tasks)
    • BukkitNyan.default (default isOp) (this command is /nyan OR /nyan default, it will activate the nyan configured to be default in the configuration)
    • BukkitNyan.canSee (default true) (this allows players to 'see' a Nyan trail)
    • More permission nodes can be configured per-nyan style. They will follow the format BukkitNyan.permission
  • Will NOT modify your map in any way at any point in time. Even if the server crashes or a saveworld occurs, the map is never affected.
  • No dependencies

Installation:

  • Place jar in plugins folder.
  • Reload plugins with a plugin manager or restart server.

Configuration:

A default configuration file is created when plugin first loads. Node explanations will come soon. Every different type of Nyan may have its (almost) complete customization. Just edit the default or copy it and name it something else. Setting jump delay to 0 or a negative number disables it.

Usage:

  1. Configure as desired.
  2. Type /nyan (or you may add the name of you custom Nyan after the command)
  • May also use the commands:
    • /nyan version
      • Gives the name of the plugin, author, and current version.
    • /nyan reload
      • Reloads configuration, it is safe to do while active (no one currently active is affected by new settings).
    • /nyan verbose
      • Gives information on currently active players and thread tasks.
    • /nyan flush
      • Flushes all current information. This means active players will be deactivated and trails will cease to decay.

Known Issues:

  • Fall damage hurts after nyan finishes.
  • One section of obfuscated code that will 'detect' certain servers and give small advertisement on use (only for the predefined servers). Will not effect plugin functionality and takes no other action. At no point does it gather, save, or distribute data. On a personal note, the only servers that are affected by this are ones who personally know who I am and that I feel are not supportive of me. I wish and do no harm to them; there is only a short, simple, and forwarned advertisement on these selected servers.

Change Log:

  • (2/29/12) - v1.0.1 - new API
    • Updated to 1.1-R5 API
  • (1/2/12) - v1.0.0 - Polished
    • Changed vault methodology of withdraw. Will now attempt to withdraw and check if it worked.
    • Fixed flush, will now reset cooldowns
    • Fixed cooldowns, will now actually finish cooldowns
  • (12/29/11) - v1.0.0a - Polish, Beta release
    • Added timers to designs
    • Added cooldowns to designs (so that the timers actually mean something)
    • Added vault support (untested, I need feedback for this please)
    • Added console logging for commands
    • Improved memory management (should make it even more lightweight)
    • Fixed kick for flying messages (only if the design has option set for flying)
    • Fixed fall damage (only if the design has option set for flying)
    • Fixed some output
  • (12/6/11) - v0.0.1 - Gone public
    • Initial release to public
    • License given for private server and public server non-commercial use and unmodified ad-free non-commercial redistribution; all other rights reserved.
    • Fully configurable
    • One section of obfuscated code that will 'detect' certain servers and give small advertisement on use (only for the predefined servers). Will not effect plugin functionality and takes no other action. At no point does it gather, save, or distribute data.

Todo & Planned Features:

  • Optionally block fall damage
  • Tweak the way memory is handled for decay (maybe reuse the allocations). At the moment, on a Bukkit server with no other plugins, it runs very smoothly already.
  • Add configurable timers / limits
  • Suggestions?

PayPal - The safer, easier way to pay online!

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Wolvereness Wolvereness May 11, 2012 at 04:20 UTC - 0 likes

    @crjalbert: Go

    The flag, iirc, disables the movement modifier and re-enables the auto-kick on flying. It's for something like a fire trail nyan (nyans where you don't pop the user into the air).

  • Avatar of crjalbert crjalbert May 11, 2012 at 02:30 UTC - 0 likes

    @Wolvereness: Go

    I just did that. What does that do to make it different? Makes it so that doesn't happen?

  • Avatar of Wolvereness Wolvereness May 10, 2012 at 21:56 UTC - 0 likes

    @crjalbert: Go

    Did you try turning off the 'canFly' flag in the config?

  • Avatar of crjalbert crjalbert May 10, 2012 at 20:54 UTC - 0 likes

    Hey, somebody found out on my server that when they use fly mod with bukkitnyan, it lets them fly, bypassing the nocheat and the fly disabled on the server.

    FIX PLEASE :)?

  • Avatar of Megalanias Megalanias Apr 25, 2012 at 20:48 UTC - 0 likes

    Could you add that the plugin only change Air into the config ? :D

    http://minecraft.space-multigaming.com/
    The Homepage of my new Server ^^

  • Avatar of CreepCraft CreepCraft Apr 17, 2012 at 04:15 UTC - 0 likes

    @Wolvereness: Go

    You wouldn't believe me how many people think cancelling an event is completely "client sided" or "100% safe" :DDD So I better make sure ;) Gonna install it now

    nyan nyan nyan nyan nyan :DDD

  • Avatar of Wolvereness Wolvereness Apr 16, 2012 at 12:33 UTC - 0 likes

    @CreepCraft: Go

    It's completely client-sided. From the description: "Will NOT modify your map in any way at any point in time. Even if the server crashes or a saveworld occurs, the map is never affected"

  • Avatar of CreepCraft CreepCraft Apr 16, 2012 at 11:43 UTC - 0 likes

    Hah! This is pretty awesome :)

    Does it still work with the current RB?

    Also, are the changes client sided ? Or are you changing it on the actual world and reverting them?

  • Avatar of Wolvereness Wolvereness Mar 29, 2012 at 11:47 UTC - 0 likes

    @gnarlerman: Go

    I'll look into those issues.

  • Avatar of gnarlerman gnarlerman Mar 29, 2012 at 11:01 UTC - 0 likes

    Thanks! It works perfectly now.

    A few sugguestions, During the nyan flight the server dosn't kick for flying, but as soon as the flight is over, non ops get kicked for flying. Maybe make the anti-fly kick protection you used last maybe 2 or so seconds longer then the nyan jump?

    Also, when using timed nyans, if you stop the flight and then restart it, the old timer is still in existance and the second nyan flight is cut short. Using a long timed nyan of about 1000 and doing some stop-and go from platform to platform is really unreliable as the boost cuts out and you have to re-boost, so your not sure when it will terminate. My suggestion is to remove all stop timers when someone types in /nyan to stop the flight.

    Thanks for your hard work!

Facts

Date created
Dec 09, 2011
Categories
Last update
Feb 29, 2012
Development stage
Release
Language
  • enUS
License
All Rights Reserved
Curse link
BukkitNyan
Downloads
955
Recent files

Authors