CommandPackage

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

CommandPackage

General Description

CommandPackage is a simple plugin giving you more power in single command. This plugin can have commands put in packages and run them all in one command. Each package can have a list of commands and each command can have a delay in ticks. And each package can have a cooldown in ticks(The cooldown will apply separately to different players).

Commands

  • /cp <package-name>
    • Call the specific package
  • /cpreload
    • Reload all packages from disk. Need permission: commandpackage.reload to use.

Permissions

  • commandpackage.reload
    • The only permission of this plugin, used in command /cpreload

Package File

A package file is an YAML: <package-name>.yml file in ./plugins/CommandPackage/packages/ folder. You can create unlimited numbers of packages (yml files), and the name of the file will be used in the command.

A package file:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
package: #All commands in this package go under this

#Element one(starts with "- ")
- command: me said this is command one! #The command to be executed
  delay 10 #Delay in ticks

#Element two
- command: me said this is command two!
  delay: 20

#Element three
- command: kill
#delay is optional

#Add more commands here

cooldown: 50 #The cooldown in ticks (Optional)

The same file with out comments

1
2
3
4
5
6
7
package: 
- command: me said this is command one!
  delay 10
- command: me said this is command two!
  delay: 20
- command: kill
cooldown: 50

You can put <sender> inside the command, it will be replaced by sender's name in runtime.


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    52818
  • Created
    Feb 28, 2013
  • Last Released File
    Feb 28, 2013
  • Total Downloads
    847
  • License

Categories

Members

Recent Files

Bukkit