AdminCmd

Features

Features :

Home Limit, Immunity Lvl & Item Limit

Yeti's Permissions :

Example on Group Admin :

As you can see you must add

            admincmd:
                maxHomeByUser: 2
                immunityLvl: 150
                maxItemAmount: 30

in the info node

groups:
    Admins:
        default: false
        info:
            prefix: '&10[ADMIN]&7'
            suffix: ''
            build: true
            admincmd:
                maxHomeByUser: 2
                immunityLvl: 150
                maxItemAmount: 30
        inheritance:
        permissions:
            - '*'

Example on User

Here you must add

        info:
            admincmd:
                maxHomeByUser: 2
                immunityLvl: 150
                maxItemAmount: 30

in the user Node (here Balor)

users:
    Balor:
        groups:
        - Admins
        permissions: []
        info:
            admincmd:
                maxHomeByUser: 2
                immunityLvl: 150
                maxItemAmount: 30

PermissionsEX :

Example on Group Admin :

As you can see you must add

            admincmd.maxHomeByUser: 2
            admincmd.immunityLvl: 150
            admincmd.maxItemAmount: 30

in the options node

groups:
    Admins:
        prefix: '&0(&4Admins&0)&7 '
        permissions:
        - '*'
        options:
            admincmd.maxHomeByUser: 2
            admincmd.immunityLvl: 150
            admincmd.maxItemAmount: 30
        inheritance:
        - default

Example on User

Here you must add

        options:
            admincmd.maxHomeByUser: 2
            admincmd.immunityLvl: 150
            admincmd.maxItemAmount: 30

in the user Node (here Balor)

users:
    Balor:
        groups:
        - Admins
        permissions: []
        options:
            admincmd.maxHomeByUser: 2
            admincmd.immunityLvl: 150
            admincmd.maxItemAmount: 30

mChat :

in the mChat Configuration :

mchat:
    custVar:
        admin:
            admincmd:
                maxHomeByUser: 2
                immunityLvl: 150
                maxItemAmount: 30

in the Permission Bukkit Configuration

groups:
    admin:
            mchat.custVar.admin.admincmd.maxHomeByUser: true
            mchat.custVar.admin.admincmd.immunityLvl: true
            mchat.custVar.admin.admincmd.maxItemAmount: true

The Permission Node mchat.custVar.admin.admincmd.maxHomeByUser: true work on player permission too.

Official Bukkit Permission :

Use this node

admincmd.maxHomeByUser.X
admincmd.immunityLvl.X
admincmd.maxItemAmount.X

where X is the limit (max 150).

The override works like that : User Permissions Variable > Group Permissions Variable > Plugin Config File Of course if you set the variable for the group, every user of that group will have that variable.

Help

Help example

Settings

Configuration File

As you can see here : Configuration Explanations there is an important setting for help. getHelpForAllPlugins: true This setting mean, the help will look into every installed plugin to populate the index. Using the plugin's name as a Key.

Extra Help

As you saw in Configuration Explanations there is a folder called HelpFiles where you can put ... help file (like the one for AdminCmd).

They are extra help files created by the dev or other users. You can find them here : FabianN ExtraHelp Repository

To install it, you just have to create a directory having the name of the plugin and put the file in it. Now in the help command for that plugin, you'll have that help displayed.

The format for the help entries is like this:

acserverstop:
    command: stop [-t second]
    description: "Stop the server by kicking first every connected players. If the -t parameter is set, wait the time before stopping, else take the one configured in the configuration file."
    plugin: AdminCmd
    permissions: admincmd.server.stop
    cmdname: bal_stop

Where the variables are the following:

  • acserverstop - the name of the Help entry, each should be unique an only appear once
  • command - the command without the '/' and any parameters you can set
  • description - Should be self explanatory
  • plugin - The plugin to which this command belongs
  • permissions - The permission associated with the command, you can set this to OP (must be upper case!) or leave ommit it. IMPORTANT: Do not forget the s in permissions!!!
  • cmdname: The name under which this command is known for bukkit

How To Use

After checking the node.

Help command have 2 optional parameters : /help [Plugin || list ] Page

  • Plugin : the name of the plugin you want the help if you type list, it will list every plugin that you can have the help.
  • Page : the Page of the plugin help.

If you type /help list, you'll see :
Help List

AdminCmd

If you don't provide a plugin or a page to the command, you'll see the first page of AdminCmd help : First Page of Help

If you type /help 2 you'll have the second help page of AdminCmd.

Other Plugins

If you want the help for other plugins installed, and you put the help file in the helpFile dir or activated the help for every plugin in config :

/help Plugin Will show you the first page of that plugin.
/help Plugin 2 Will show you the 2nd page of that plugin
Etc ...

Color

Private Message, user prefix, motd, news and Sign can be colored using these color code :
Color
Replace # by &

Facts

Date created
Aug 29, 2011
Last updated
Feb 26, 2012