Coder Social home page Coder Social logo

papershredder432 / pspoliceutilities Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 2.0 5.22 MB

A RocketMod plugin so your police can do their job (For RP ofc)

License: GNU General Public License v3.0

C# 100.00%
rocketmod rocketmod-plugin rocketmod4 unturnedplugin unturned-plugin unturned

pspoliceutilities's Introduction

PSRMPoliceUtilities

A RocketMod plugin so your police can do their job (For RP ofc)

Requires Uconomy to work. Needed for some commands.

Admins are immune to being jailed by default.

Github All Releases Discord

Contributors

papershredder432
Charterino

Permissions

Permission Name Command Usage Is Implemented? Description
ps.policeutilities.jailmanager /createjail <JailName> Yes Creates a jail
ps.policeutilities.jailmanager /deletejail <JailName> Yes Deletes a jail
ps.policeutilities.jailmanager /setrelease Yes Sets the universal release position
ps.policeutilities.free /free <Player> Yes Frees a player from a jail
ps.policeutilities.isjailed /isjailed <Player> Yes Checks if a player is in jail
ps.policeutilities.jail /jail <Player> <JailName> <LengthInSeconds> [Reason] Yes Puts a specified player in jail for a chosen amount of seconds
ps.policeutilities.jailimmune N/A Yes Makes a player immune to being jailed
ps.policeutilities.bail /bail [Player] Yes Use your Uconomy balance to bail a player out of jail
ps.policeutilities.activefines /activefines Yes Shows the active fines you have
ps.policeutilities.fine /fine <Player> <Amount> [Reason] Yes Fines a player
ps.policeutilities.payfine /payfine <FineID> Yes Pays off a fine
ps.policeutilities.removefine /deactivate <FineID> Yes Deactives a fine
ps.policeutilities.fineimmune N/A Yes Makes a player immune to being fined

To Do

  • Add DeleteJail command
  • Add JailImmune
  • Implement jailed players get out after specified time
  • Implement optional Discord webhooks
  • add more to this list
  • Teleport players to the universal release position when /freed or on timeout
  • Add a paid bailout command and config option to set X credits for every Y second
  • Find my will to live
  • Fix the jail list, despite being freed from timer or command, the timer teleports you to release position
  • Fine commands, e.g.: /fine /payfine, etc. etc..

pspoliceutilities's People

Contributors

charterino avatar papershredder432 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pspoliceutilities's Issues

Suggestion

Just a suggestion but why dont you add it so that the police officer can fine and check the fines by doing /history or some other command. It could also show if the player was jailed and for what reason.

error in coordinates

Teleport(new Vector3(PSRMPoliceUtilities.Instance.Configuration.Instance.RelaseLocation.x, PSRMPoliceUtilities.Instance.Configuration.Instance.RelaseLocation.x, PSRMPoliceUtilities.Instance.Configuration.Instance.RelaseLocation.z)

you need to replace x with y

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.