promotional bannermobile promotional banner

CommandPackage

Abandoned
CommandPackage

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.

The CommandPackage Team

profile avatar
  • 2
    Projects
  • 2.9K
    Downloads

More from _ForgeUser9924170

  • Minescript project image

    Minescript

    • 2.0K
    • Bukkit Plugins

    A bukkit plugin that run scripts in runtime.

    • 2.0K
    • February 16, 2013
    • Bukkit Plugins
    • +1
  • MenuService project image

    MenuService

    • 6.4K
    • Bukkit Plugins

    Allows plugin developers to create simple and complex menu systems

    • 6.4K
    • July 31, 2013
    • Bukkit Plugins
    • +3
  • Minescript project image

    Minescript

    • 2.0K
    • Bukkit Plugins

    A bukkit plugin that run scripts in runtime.

    • 2.0K
    • February 16, 2013
    • Bukkit Plugins
    • +1
  • MenuService project image

    MenuService

    • 6.4K
    • Bukkit Plugins

    Allows plugin developers to create simple and complex menu systems

    • 6.4K
    • July 31, 2013
    • Bukkit Plugins
    • +3