Cop
Cop
(Commands for OPs)
Commands for watching players, hiding and unhiding from players, and checking player inventory and armor.
Commands:
/cop watch {player}
- or -
/cop w {player}
To hide yourself from a player then teleport to them
/cop return
- or -
/cop r
To return to your last location and unhide yourself.
/cop hide
Hides yourself from all players, makes you invisible, removes your name from the players list, and sends a "left the game" message to simulate quitting the server.
/cop unhide
To reverse hiding from the players, makes you visible, adds your name to the players list, and sends a "joined the game" message to simulate joining the server.
/cop inventory {player}
- or -
/cop i {player}
To see a list of all the items the player is carrying and the armor they are wearing.
/cop name {player_realname} {player_newname)
To change the player's name. This is done via a Bukkit API, and only effects the on screen chat name, and the player list, not the player list accessed from the tab key.
/cop names
Resets all player names that were changed back to their real names. Only effects player names like the above /cop name command.
/cop speak {player} {message}
To make a player say something or to perform a command.
/cop list
To list all players that are currently hidden by Cop.
/cop alert {player}
- or -
/cop a {player}
Sends a tone to a player and a red message "[ALERT] from " and the senders name.
/cop tones
- or -
/cop t
Toggles on or off a player join tone that is sent you you.
/cop help
To see the syntax of all in game commands.
Console Command:
Syntax: cop {player} {message}
See the Console Command Page for examples and more information.
Permissions:
cop.watch
Allowed to use the watch command (default: op)
cop.hide
Allowed to use the hide and unhide commands (default: op)
cop.inventory
Allowed to use the inventory command (default: op)
cop.list
Allowed to use the list command (default: false)
cop.name
Allowed to use the name and names commands (default: false)
cop.alert
Allowed to use the alert command (default: false)
cop.jointones
Allowed to use the tones command (default: false)
cop.speak
Allowed to use the speak command (default: false)
cop.speakers
Allowed to use the speak command on other players with the speak command (default: false)
cop.speakcommands
Allowed to send commands via the speak command (default: false)
cop.help
Allowed to use the help command (default: op)
Message Formating:
Default Join Message: $YELLOW$NAME joined the game.
Default Quit Message: $YELLOW$NAME left the game.
To change the messages see the Messages Section of the config.yml file.
You may use the following keywords within your messages, they must be in uppercase:
<NONE> $NAME $AQUA $BLACK $BLUE $BOLD $DARK_AQUA $DARK_BLUE $DARK_GRAY $DARK_GREEN $DARK_PURPLE $DARK_RED $GOLD $GRAY $GREEN $ITALIC $LIGHT_PURPLE $RED $STRIKETHROUGH $UNDERLINE $WHITE $YELLOW
The <NONE> keyword is used by itself, and will tell Cop to not display a message.
@bizorrinho
The plan to date was to add custom join/quit messages for that reason.
It should be added in the next update for 1.6.
Download this plugins and so far its working great! Oonly problem is that my server connect and disconnect messages are not the deafult one. It would be nice if you could add a way to change the chat line from (player) has left the game from something else. Thanks!
@hotshark4
Please read the permissions above, by default the permission for the list command is set to false (so you need the cop.list permission to use it).
Heyy, I downloaded the plugin and quickly tested it - while no one was online - and some of the commands like /cop list said i didn't have permission whereas the /cop hide did. Do other people need to be on my server?
- Hotshark4
Cool plugin, thanks! :D
Cop 1.3 has been uploaded
Cop 1.3 will be out soon, with two new commands, one for changing player names and the other to chat or run commands as the player.
@lilacorn
There's no way for me to do that, the current method is to call a Bukkit API Directly that hides the character. You should talk to the author of Citizens2 and see if there is any option to not have the NPC turn invisible.
k can you set it to where if the staff is /cop hide the NPC version of them wont disappear too? We use Citizens2 and our clones hides when we hide. They say you need to use/add this command into the plugin entity.hasMetadata("NPC");
@lilacorn
If Bukkit adds a means to do it then I will add it one day, but for now, there is no way.
would be nice to sneak in logging into the server without login notice n etc
@supermazenizo
The tab list entry is removed via Bukkit's API Call to hide the player, but for some reason, the Bukkit API doesn't effect the /list command. The way I get around this on my servers is by blocking players from using the /list command via my permissions plugins.
Great plugin. I have a little suggestion that I hope you can add in an update. When you do /cop hide, you aren't on the tab list, but you are visible if somebody does /list. If you can hide players when you do /list, I would be very grateful. Even if you don't do it, this is an amazing plugin!
Like my plugins, please donate to my favorite minecraft server AuthentiCity, better yet, donate and then join us!
@buddhist09
I don't think so, because I'm using the Bukkit API for hiding players, I think dynmap is polling the data in a different way.
Works great thanks. One small thing, is there anyway to hide yourself from dynmap??
looks good, will try it out and report back :)