SalaryManager icon

SalaryManager -----

Pay periodic salaries, manage by group or user



[​IMG]
  • Managing player salaries.
    • Per player
    • Per group
  • Configurable period (1200s=20m by default)
  • Different salary combinations
    • Multiple groups (or personal + group)
      • Combined or most profitable (configurable)
      • Possible to get personal salary when set
  • Staff notifications
    • salarymanager.notify permissions
  • Essentials support
    • AFK players can be ignore when paying salaries (default, but configurable).
  • Fully configurable messages in the messages.yml
    • A German translated file also available
  • Payment logging in history.yml
    • can be disabled in the config.
  • Offline Salaries
    • the "-o" tag at the end of the /salary command
  • Setup a "server bank" account
    • Using /salaryfrom
    • Money comes from this account if present
  • PlacholderAPI support (optional)
    • Code (Text):
      %salarymanager_salary% - salary amount - normal
      %salarymanager_salary_formatted% - salary amount - formatted
      %salarymanager_salary_reason% - salary reason
      %salarymanager_salary_time% - time till next payment
      %salarymanager_salary_offline% - offline salary amount
      %salarymanager_salary_offline_formatted% - offline salary amount - formatted
      %salarymanager_salary_offline_reason% - offline salary reason
      %salarymanager_nr_salaries_paid_today% - number of payments made to the player today
       

[​IMG]

  • /salary <group or player> <amount> [-g or -p or -o]
    • set a salary of a group or a player. The optional -g or -p distinguish between a group and a user (if both have the same name) or an offline salary (-o)
  • /salarypay [nr]
    • pay the number of times right away
  • /salarylist <-p or -g> [page]
    • list group or player salaries (6 per page)
  • /salarysetperiod [period]
    • set a new period between payments
  • /salarynext
    • check when you're next getting paid
  • /salaryreload
    • reload the config
  • /salaryfrom <player or UUID or none or TNE> [tne account]
    • Setup an account where the money comes from
    • If The New Economy is installed, you can use an account from there
  • /salarysumup <filename> [-g or -p]
    • Sum up the salaries of groups and players (default), just groups (-g option) or just players (-p option)

Commands and permissions

Code (Text):
Command                Permission                  Description                    
salary                  salarymanager.set          Set a salary to a player or group
salarypay              salarymanager.pay          Pay all online players        
salarylist              salarymanager.list          List salaries of groups or players
salarysetperiod        salarymanager.setperiod     Set the period in seconds      
salarynext              salarymanager.next          When is your next payday      
salaryreload            salarymanager.reload        Reload the config              
salaryfrom              salarymanager.from          Setup an account where the money comes from
salarysumup            salarymanager.sumup        Sum up salaries of a given day/pre day history
Extra permissions

Code (Text):
Permission                  Children                                            Descrpition                    
salarymanager.set          None                                                Allow seting of salaries      
salarymanager.set.offline    None                                                Allow seting of offline salaries
salarymanager.pay          None                                                Allow paying of salaries      
salarymanager.get          None                                                Allow seting of salaries      
salarymanager.reload        None                                                Allow reloading the config    
salarymanager.list          None                                                Allow listing the salaries    
salarymanager.setperiod     None                                                Allow setting of the period    
salarymanager.notify        None                                                Get notified of payments same (totals and nr of people getting paid)
salarymanager.from          None                                                Allow changing the money source
salarymanager.sumup        None                                                Allows summing up a specific day      
[​IMG]

Code (Text):
default-delay: 1200
get-most-profitable: true                      # if set to true, users will get the most profitable salary (i.e considering all the groups they're in and the per-user salary)
get-player-salary-when-possible: false # if set to true, per player salary (if set) overrides any group salaries
get-all: false                                          # if set to true, gets a sum of all salaries (all group salaries and per user salary)
ignore-afk: true                                     # if Essentials is present, then people who are AFK will not be paid (if set to true)
message-player: true                           # send a message to players when they get paid
log-payments: true                               # whether or not to keep a log/history of payments by the plugin
log-payments-to-console: true             # whether or not to show payment totals to console
notify-staff: true                                    # whether or not to notify staff / the players with permission 'salarymanager.notify'
use-language: default                          # which language to use. You can customize it in all cases anyway
reschedule-on-reload: true                  # whether or not to reschedule the payment after using the /salaryreload command. If set to false, then the old timer will be in effect
allow-finding-offline-players: false      # whether or not to allow finding offline players in command input. If set to true, you will be able to find offline players, but it may result in a performance hit (especially on larger servers)
simpler-money-format: false              # whether or not to use a simpler money format where the default one results in incorrect behaviour
use-bstats: true                                  # whether or not to use bstats which collects some data from the server
offline-salaries-paid-when-online: true # whether or not to pay offline salaries to players who are online
do-daily-logs: false                             # whether or not to keep daily logs
ignored-worlds: []                               # list of worlds that should be ignored for payments
max-payments-per-day: -1 # negative value (default) means it's disabled. Only works with daily logs enabled
allow-negative-salaries: false            # whether or not negative values for salaries are accepted

Code (Text):
salary:
  player-not-found: "&cPlayer not found: &8{player}"
  no-player-or-group: "&cNo player of group by the name &8{player}&c   found!"
  provide-salary: "&cYou need to proivde a numerical salary!"
  got: "&5You got a salary of &8{amount}"
  list-start: "&5Salaries on page &8{page}"
  list-player-item: "&8{player}&5 has a salary of &7{salary}"
  list-group-item: "&6{group}&5 has a salary of &7{salary}"
  list-none-found: "&cNo entries found on this page"
  total-salaries-log: "&6A total of &7{total}&6 was paid to &7{nr}&6 players"
  provide_period_length: "&cYou need to provide a lengh (in seconds) for    the period!"
  time-until-next: "&6You've got &5{time}&6 until your next payday."
  set-offline-salary: "&6Set &7{amount}&6 as the &5offline&6 salary of &8{player}"
  set-new-from: "&6Set new account to take money from: &7{player}"
  taken-from: "&6A total of &7{total}&6 was taken from you (the bank)"
  sumup-header: "&6Total payments for {day} {options}"
  no-such-file: "&cNo such history file found: &7{file}"
  group-daily-total: "&6The group &7{group}&6 got a total of &8{amount}"
  player-daily-total: "&6The player &7{player}&6 got a total of &8{amount}"
  nothing-to-show-daily: "&cThere were no entries for the day"
time:
  seconds: s
  minutes: m
  hours: h
  days: d
  months: mo
  years: y
PS. German messages_de.yml available thanks to @Iluster

BStats
Resource Information
Author:
----------
Total Downloads: 12,774
First Release: Sep 12, 2018
Last Update: Apr 24, 2021
Category: ---------------
All-Time Rating:
19 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings