Pay out a daily wage (needs the great DKCoins plugin!).
Installation
1. Install and configure DKCoins
2. Download the current DailyWage version
3. Put the plugin DailyWage v1.0.1.jar in your plugin folder (ignore any other files in the .zip file!).
4. Restart your server.
Configuration
After running the plugin on your server a config.yml file is created in the plugin folder. Adjust these settings to your needs:
CoinsPerDay: the amount of coins payed as the daily wage (default 1 )
Password: set a password for the command, use digits 0-9 and the letters a/A to z/Z only (default empty )
BackPayment Enable: set it to true to back pay the wage since last pay out (default true )
BackPayment MaxDays: maximum days for back payment since last pay out (default 100 )
Restart your server after changing any of those values!
Usage
/wage (or /lohn or /salaire - these are command aliases for german and french).
Run this command (without any parameters) to receive your daily wage. If run more than once a day an error message is issued.
If there is a password set in the config (see Configuration above), you need to attach the password
/wage mysecretpassword
You may pay out the wage to a named person by adding the target player name with
/wage playername
or if a password is set then use
/wage mysecretpassword playername
In order to use it in a command block you may state @p as the player name in order to pay out to the nearest player
/wage mysecretpassword @p
Localization
After running the plugin on your server a messages.yml file is created in the plugin folder. Feel free to adapt those messages to your needs. The messages.yml file uses short color codes (eg. &c for red), see Color Codes .
There is a german translated message file called messages-german.yml in the zip file. Rename it to messages.yml and replace the above mentioned messages.yml on the server.
Restart your server after changing any of those messages!
License
This project is licensed under the Apache License - see the LICENSE file for more information.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta