CommandBouncer
Introduction
CommandBouncer can help you in many ways. For example if a player sends a command such as /op you can make CommandBouncer send this /ban player Don't do that!
Or if you want your players to be able to get diamonds if they type /diamonds you can do that.
If you need help to understand the config.yml please check out this page!
What does it do?
Here is some examples on how to use this plugin:
In this example we can see how the player exacutes /op, and the plugin that listens on this command disables that command and executes a own one.
The plugin can also be used to send commands as the sender,(in this case named "player").
In this case it's used to use shortcut commands. For this to work the player will need permission for both this plugin to listen on the player and for the command that the plugin will execute.
Installation
- Download the .jar file
- Drag the .jar file into your plugins folder
- Restart your server
- Configure the Config.yml inside /plugins/commandbouncer/
Quote:
This plugin uses Gravity's Updater v2.0. To disable version checks set auto-update and warn-update to false. (Though that's not nice :( )
Commands
Command | Aliases | Description |
---|---|---|
/CommandBouncer | /Cmdbnc | Main command |
Permissions
Permissions | Default | Description |
---|---|---|
commandbouncer.* | op | Admin rights. The player can do everything and has every permissions for commandbouncer |
commandbouncer.cmd.commandbouncer | defeault | Give players permission to use /commandbouncer |
commandbouncer.cmd.commandbouncer.reload | op | Give players permission to use /commandbouncer reload |
commandbouncer.cmd.commandbouncer.list | op | Give players permission to use /commandbouncer list |
commandbouncer.cmd.commandbouncer.report | op | Give players permission to use /commandbouncer report |
commandbouncer.cmd.commandbouncer.support | op | Give players permission to use /commandbouncer support |
commandbouncer.cmd.commandbouncer.update | op | Give players permission to use /commandbouncer update |
commandbouncer.cmd.commandbouncer.about | default | Give players permission to use /commandbouncer about |
commandbouncer.listen.cmd<cmd number> | op | The plugin will listen when you do the command that's on cmd<number>: in your config.yml |
commandbouncer.listen.* | op | The plugin will listen on every command the player does |
Developer
Are you a Java/Bukkit developer?
You can find the code here (Note that this plugin is under GNU General Public License version 3 (GPLv3)!)
If you're intrested in helping us with this plugin contact us on our IRC!
Error?
Do you get a error when you try to use this plugin? Then follow these instructions:
- Change "debug:" to true in your config.yml
- Delete/Rename your server.log and restart your server
- Do as you did when you got the error.
- Stop you'r server and pastie your server.log
- Join our IRC and send us the pastie link. Then wait for a reply (It can take a while)
Remember to give your players permission to use the cmd! commandbouncer.listen.cmd<number> .
Replace <number> with the number of the cmd!
Need help?
This plugin is ecuiped with a pastebin module which makes it possible for us to recive your config and latest.log when ever you need help! Of cource you can choose not to share this with us via the config.
How do I do this?
- Enter /commandbouncer support in-game or in the console. You will now receive a message that looks like this:
Click the first blue link that starts with "http://cajs.co.uk/" and press "Yes" when minecraft asks you if you want to open the link. - A webpage will now open in your standard browser. Click the "Connect" button.
- You will now connect to a chatroom with some developers. When you connect please state your issue and wait for a reply. It might take a while for you to receive a reply from us. Be patient!
Statistics
We use mcstats for this plugin. Here's a graph over how many servers/players that use this plugin.
@fungreenfox
I imagine this is possible with the permissions.
What about a function for world based config? I really could use this a lot, including option for defining at each bounce, if command is retracted or led through.
@fungreenfox
Unlike PEX, Groupmananger doesn't give all perms to people with '*'.
The developers of Groupmanager don't want that. I suggest not giving op powers or * to anyone. Just configure the groups a little better ;)
I would like a group based feature for this.
your "other builds" links are not working.
cmd bouncer is not ignoring my operators. (using groupmanager). They have the commandbouncer.* node, and are listed in the config, but the bouncer dosn't care.
@Nightiky
Sure! You'd have to set the same commands on multiple cmd strings though.
Example:
cmd1: admin
cmd2: admin
console1: op
console2: say We have a new admin!
Can I set multiple commands execute? For example when player do /admin plugin will proccess for it /op and /say We have a new admin! commands.
@fungreenfox
Hmm join my IRC channel and I'll see what I can do.
i have for example 10 equal entrances, only difference is the destination. I dont want the warp used for worlds, i want the portal to be used. so i have for example
cmd5: warp abc
cmd6: warp cde
console5: msg %player% use the portal in spawn.
console6: msg %player% use the portal in spawn.
Most of the 10 entrances are working, but the others are just responding with "that warp does not exist".
It seems they are not cought.
@fungreenfox
No, not if you use console as the sender. If you use player as the sender of curse they'll need that. the command literally bounces back in it's new form.
If you wan't a player to execute a command you'll need to give them perms, the same goes with a command this plugin sends as that player. This plugin change the command before it goes to the server, it would be a security threat if it gave the sender permissions to use the command even though you haven't given the sender that permission. You'd basically be giving them op.
citate:
For this to work the player will need permission for both this plugin to listen on the player and for the command that the plugin will execute.
This will mean, that if you want to ban a player for trying to ban an op, you will have to compromize security further by giving the ban command permission to the player, before it can be used at him.
This is bad.
Unfortunately, after a server restart, it worked anyway. But your comment does not compute anylonger. (The offending testuser does not have ban permission).
when i add /suppert to respond with we have no soup, it doesnt work.
Real word is support, but lets say someone types /suppert , we want a response here.
cmd10: suppert
console10: msg %player% Vi har ingen suppe her. (danish)
does not work.
2nd edit: after yet another restart, this one works actually. I dont know why it took so long.
@fungreenfox
just add to cmd strings. use the lowest number to the command you want to run first.
what about responding with two commands?
Just commenting here with my wonderful experience with this plugin. The amazing developer PM'ed me a download, so i went ahead and downloaded it. I have been using it on my server for nearly 30 hours xD and so far not a single complaint it works excellently. I used it in a few ways: one being if someone tries to ban me they get banned first :P
Thanks so much @carlgo11
@carlgo11
Ok thanks It's just i've been depserate to get it on my server and working otherwise i've got to wait a little longer without a proper command system :P thanks for the help anyway
@danjb2000
Just wait for the plugin to get approved then. Just can always subscribe to see when it's out.
It says no files found i guess you noticed, so how can i get it?
@danjb2000
File waiting for approval.
You can find the unapproved file on http://dev.bukkit.org/bukkit-mods/commandbouncer/files/
@carlgo11
I Can't see the download button :P may u send me the latest version in a PM and Me and my server will be happy to use it and reply to you with our verdicts and bugs etc??