Salary plugin with customization for each player group. The number of groups is unlimited. There is a delay setting.
Dependencies:Vault
Commands: /salary
Permissions: - netsalary.group.YOUR_GROUP
Permissions are optional. !#! The plugin will first check the availability of the salary according to the player's permissions, and only then for the group!
Config:
Code (Text):
# Plugin NetSimpleSalary by dd777mine
# Alpha 0.4
# ----------------------------->
# Variables:
# %n - newline
# %player - player name
# %salary - salary
# ----------------------------->
# Time Variables:
# %days
# %hours
# %minutes
# %seconds
# ----------------------------->
# PlaceholderAPI:
# %netsalary_cooldown_days%
# %netsalary_cooldown_hours%
# %netsalary_cooldown_min%
# %netsalary_cooldown_sec%
# %netsalary_available%
# ----------------------------->
# Permissions:
# Permissions are optional.
# !#! The plugin will first check the availability of the salary according to the player's permissions, and only then for the group!
#
# netsalary.group.YOUR_GROUP
#
# ----------------------------->
# Display availability in PlaceholderAPI variable %netsalary_available%
PlaceholderAPI:
# Available variable
AVAILABLE: "Available"
# Not available variable
NOT_AVAILABLE: "Not available"
# MESSAGES
MESSAGES:
# success message
SUCCESS: "&a> &fYou received a salary of &a%salary$"
# no configured message
NOT_CONFIGURED: "&a> &eThere are no salary settings for you."
# Salary groups (specify in lower case):
# Here you can specify the salary, both by the name of the player's
# permission group, and individually, which will be available to the
# player with the permission of the netsalary.group.YOUR_GROUP
GROUPS:
default:
# Salary
salary: 9000
# salary delay in seconds
cooldown: 86400
# Commands in addition with a salary. (console sender)
commands:
- "say %player hello!"
# salary delay message
message: "&c> &6Salary can be received once a day. Will be available only after &f%days &eDays &f%hours &eHours &f%minutes &emin. &f%seconds &esec."
# title message
title: "your salary"
# subtitle message
subtitle: "&a%salary$"