Open artfcl-intlgnce opened 7 years ago
Make like a thing what /list does but we can make it so its /cops and we can make a permission when the do /onduty something like cops.list.onduty and the /cops will print the players who have that permission, and if we want to do that for specific cop groups we can do like cops.list.onduty.DEA or somthing like that and the screenprint will have somthing like Sargent:
@Scarsz - Need a way to show current cops on duty. This is what we are currently doing using MyCommand, but there is one small piece missing which is a way for players to see what cops are on duty. I would like it to be command based, just like /staff, but if it needs a tablist color I can do that similarly.
ondutyfrisk: command: /ondutyfrisk type: RUN_CONSOLE permission-required: true permission-node: mycommand.cmd.ondutyfrisk permission-error: "&a$player! , &2You are not a Police Officer!" runcmd:
Requirements: With perm 'narco.police', add player command of /addtodutylist. With perm 'narco.police', add player command /removefromdutylist With perm 'narco.player', add player command of /police , to list all online players on the duty list (in session). On police player logout, remove player from duty list. Configurable broadcast text with number of cops on duty (when cops on duty > 1) i.e. 'There are 2 Cops on Duty! Check with /police' Configurable broadcast interval in seconds
This is very similar to the Duty.jar that you previously modified @Scarsz, minus things like ask staff a question. I am going to add these to the command sequence that triggers when cops use /onduty and /offduty
@Scarsz any update on this one?
We need something just like our staff duty plugin which shows and announces cops on duty. (just no /ask)
Currently /onduty and /offduty enable temp permissions (such as ability to frisk and place police vehicles)