Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Big Request: Allowing Players to Be Police #20

Open
lordegeorge opened this issue Dec 8, 2018 · 12 comments
Open

Big Request: Allowing Players to Be Police #20

lordegeorge opened this issue Dec 8, 2018 · 12 comments
Assignees

Comments

@lordegeorge
Copy link

Hello,
I was wondering how feasible it might be to make it so players can play the part of the NPCs and be police officers. This could be a configurable option and a good feature to have for servers that might want more player interaction.
I realize that it's a big request, but I feel that it could be worth while.
Regards,
Jesse

@Nutty101
Copy link
Owner

Nutty101 commented Dec 9, 2018

Long story short, it's being worked on. The problem is balancing it out and how to manage it. I have been working on how to utilize jobs reborn for this as I feel it's the perfect plugin to accompany this. The images below are from the test code that I did a long time ago when implementing it. There are really two types I was implementing. A police officer, and bounty hunter. The police officer would get paid based on a flat fee, where as a bounty hunter gets paid on captures. Attacking a cop would add to your wanted status, but a bounty hunter wouldn't give you anything.

image

@lordegeorge
Copy link
Author

Amazing. Do you have any idea when this might be completed? I'm very interested in something like this and would be glad to help figure out any logistics in regards to how it should work.

@Nutty101
Copy link
Owner

Nutty101 commented Dec 9, 2018

The issue with Jobs is that they don't really expose much. They also don't allow the addition of custom actions. I have asked in the past and got nodda back several times. So it's pretty much me trying to figure out how to deal with it on my own. No idea on a timeline though. This is almost a year in the making.

@lordegeorge
Copy link
Author

Maybe you could create permissions that could be manually applied to players by server owners by whatever means the server owner deems reasonable? Then, if a player has that particular permission, they would be able to do whatever an NPC police officer can do. This would allow for the utmost flexibility for both the server owner and the developer.

@Nutty101
Copy link
Owner

I will see what i can come up with outside of Jobs for now. Most likely it will be an addon plugin. That way it's a base and others can modify it as they see fit.

@Nutty101 Nutty101 self-assigned this Dec 10, 2018
@MrKiller01
Copy link

MrKiller01 commented Feb 10, 2019

The issue with Jobs is that they don't really expose much. They also don't allow the addition of custom actions. I have asked in the past and got nodda back several times. So it's pretty much me trying to figure out how to deal with it on my own. No idea on a timeline though. This is almost a year in the making.

OMG, the attitude of some devs is so hard to understand, Not willing to update and yet getting almost angry if someone els wanted to broaden the range of their plugin...
Id say Nutty101, keep banging on their doors!!!!
(and if you wish us, the community, to back you up, I'd say "Why not!" A job as police / bountyhunter / sherrif would be so great)

@lordegeorge
Copy link
Author

Any progress on this?

@Nutty101
Copy link
Owner

None really. :(

@CodeDoctorDE
Copy link

And?

@Nutty101
Copy link
Owner

Nutty101 commented Jan 4, 2020

Welp, I couldn't make it work so easy with the plugin. So while re-writing the Destinations, I was pointed to another issue with this one around permissions managers. So I said to the heck with it, and its being re-written as well.

@CodeDoctorDE
Copy link

Please do it! I need this feature too :) And if you rewrite it, you have a cleaner code :)

@Nutty101
Copy link
Owner

This one will not be built into the new version though. It will more than likely be an addon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants