ActorPlugin_v07.jar

Details

  • Filename
    ActorPlugin.jar
  • Uploaded by
  • Uploaded
    Jun 9, 2012
  • Size
    241.49 KB
  • Downloads
    826
  • MD5
    5f533c1c43a077afa9fac54b3cf3e1e5

Supported Bukkit Versions

  • CB 1.2.5-R3.0

Changelog

v07

  • Commands have been restructured. Previous commands are now sub-commands, with new root command: /actor
    • So, just add /actor before the command. Full commands & permissions page has been updated.
    • The /actor command has been renamed to /actor hire. The permission node has also changed to Actor.command.hire.
  • In-game help menu. Just use the /actor command with no parameters.
  • Other internal changes.

Detailed Change Log:

  • Commander class is registered as the CommandExecutor for the /actor command

It holds a reference to all the other commands and calls their onCommand for the respective sub-command. A few minor aliases added.

  • Renamed the actor sub-command to accept either "hire" or "create"

This is so that the command does not "repeat" itself. Instead of

/actor actor [name]

it would be

/actor hire [name]

which makes a bit more sense due to the root command change. This is also reflected in the permissions, where the node has been changed to match the new sub-command.

  • EntityActor class variables have been made private instead of public.

So, just use the standard getter and setter methods to get / modify them.

Example:

Instead of

actor.name.equals(actorName); actor.isPlayback = true;

Use:

actor.getName().equals(actorName); actor.setIsPlayback(true);

  • Fire command now prompts user to confirm the action

Utilizes the Conversation API, which is pretty nifty. We can do the same for any other commands as well.

  • In-game help menu

All the commands that a player has access to can be viewed in-game by using /actor without any arguments.

  • Fixed plugin.yml

Added the softdepend key for Vault. Fixed my earlier typos on the description of permission nodes. Edited the version number to reflect the future release version number.

  • Command set incomplete.