NewCommands
Main Page
English
Intro
Ever wanted to add new commands for your player's for TeamSpeak-IP, Donation-Info or other informations but not having the java knowledge?
Now you can simply add new commands for your players!
You can use formatting codes and add different variables!
Permissions
Permission | Description |
---|---|
newcommands.reload | Reload config |
newcommands.list | Show list |
newcommands.command.<command>.deny | Deny user the use of command <command> |
Note: Every user can run every NewCommands-command per default, only users with the permissions from the table can't run these commands.
Commands
Command | Description |
---|---|
/newcommands | Give information about NewCommands |
/newcommands reload | Reload config |
/newcommands list | Show all NewCommands |
Config
Simply add new commands like the example one, use color-codes (&a, &b, etc.) or variables.
- default config:
commands: newtestcommand: '&4Awesome Plugin'
TODO
Command for adding new commands
Reload - Done (07.05.2014)
Permissions for commands - Done (07.05.2014)
Tab-auto-completing - Done (07.05.2014)
IDEAS?
Write your own ideas in the comments (new variables, new features, etc.) and I'll take a look on it.
SOURCE
Source can be found here.
That's it.
Hey, I have tested the new version. It works perfectly! I have one question : Can you add a function that I can add commands ingame with all colorcodes and variables? That would be really nice!
@TheRealWoxin
As soon as the bukkit-dev-staff approves the file (2-4 day I guess).
When can I download v1.2?
Just uploaded v1.2
@ghac
that was quick, I will download and use this plugin when I update my server to 1.7.4!
Added new variable %PLAN% for playername.
Just uploaded v1.1
Change log
Added tab-auto-complete. Added reload-command. Added permissions. Known caveats
Command for adding new commands
While I'm not saying you should copy another plugin, there's a plugin that has similar functionality called "MCDocs". I'd look that up to find a better way to make commands that return text, like keeping each command data in its own file, and having the ability to return the player name, so on and so forth. Like I said, check out MCDocs for some ideas. People have had an amazing amount of trouble with MCDocs and could possibly want a simpler alternative.
Just a suggestion, though.
@ghac
sweet cannot wait for that to come through!
@DannySan626
Yeah, sounds really nice. I'm also working on tab-auto-completing.
so basically all you can do is create commands for information only? well this would be useful for my server, How about adding permissions like: newcommands.command.<name of command you created> to allow certain players to use certain commands you set up. And also other ones like newcommands.reload, and newcommands.create to only allow owners and or specified users to make a new commands and to reload the plugin if altered by config? if that is implemented, count me in on testing/using this plugin =)