CityRP Paychecks | Vault | Fully Configurable | 1.20.x icon

CityRP Paychecks | Vault | Fully Configurable | 1.20.x -----

A simple paycheck or salary plugin for your server.



[​IMG]

[​IMG]

This plugin is a simple paychecks plugin. This plugin will add money to a player's balance every x minutes as defined in the configuration.

There are endless paycheck groups that you can add, just simply copy the template "100" in the configuration and paste it following YAML format.

With this plugin, you can pay players differently based on a permission (which you set in the configuration) per each paycheck group. If the player has one (or multiple) of those permissions, they will have the amount you set deposited into their vault balance.


Server Administrators:

Anybody who is opped on the server will by default receive a paycheck from every paycheck group you have set in the configuration. If you would like for opped players to only receive specific paycheck groups, simply add the negate permission to the player or to groups that player is in to combat this from occuring.


For example: If your paycheck group permissions are "paycheck.100" and "paycheck.200", and you give an opped player the permission node "-paycheck.100", that player would only receive the paycheck assigned to the "paycheck.200" permission.

The main permission to allow players to use the commands listed in the screenshot below is "paycheck.admin".



[​IMG]

[​IMG]
[​IMG]



[​IMG]

Code (YAML):

#####################################
#          CityRP Paychecks         #
#             by: aDrew1            #
#####################################

#####################################
#              SETTINGS             #
#####################################

# USE /pc help TO VIEW COMMANDS!

# Permissions:
# paycheck.admin - Allows usage of the help, reload, and send commands.

# Placeholders:
# %a% - Amount of money deposited.
# %p% - Player's name who is seeing the message. (For "Invalid Player", this variable will represent the target player!)

Prefix
: '&c&lCityRP &8&l»'
Incorrect Usage
: '&cError! &7Incorrect command usage. Use &e/paycheck help &7to see all commands.'
No Permission
: '&cError! &7You do not have permission to do this!'
Invalid Player
: '&cError! &e %p% &7was not found or is not online.'
Reload
: '&7Configuration reloaded.'

Message
:
   - ' '
    - '&c&lCityRP Paycheck'
    - '&eA Paycheck has been deposited to your account!'
    - '&7Deposited
: &e$%a%'
    - ' '

Paycheck Frequency
: 1 # in minutes

#########################################################################################
#                                        PAYCHECKS                                      #
#########################################################################################
#  100: # Add as many of these groups as you would like. You can name them anything.    #
#    perm: 'cityrp.paycheck.100' # Set the permission to whatever you would like.       #
#    amt: 100 # This amount must be a positive whole number (integer).                  #
#########################################################################################

Paychecks
:
  100
:
    perm
: 'paycheck.100'
    amt
: 100.00
  200
:
    perm
: 'paycheck.200'
    amt
: 200.00
 



[​IMG]

If you are having any issues with the plugin, or need to report a bug with the plugin, please DM me on Discord (Drew#0973). Please do not post bug reports in the reviews.



[​IMG]

You can DM me (aDrew1) for support if needed.



[​IMG]

CityRP: Paychecks is an open source project. You can access the source code on my github, here.

Please do not modify the code to remove any watermark or indication that the plugin was created by my. If used in a project, please credit myself (aDrew1) for the original code.
Resource Information
Author:
----------
Total Downloads: 391
First Release: Mar 16, 2022
Last Update: Dec 3, 2023
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings