You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GuildsUpkeep is a Minecraft plugin designed to work with the Guilds plugin. It provides an upkeep system that periodically pulls money from all guilds as a form of maintenance. If a guild does not have enough money in their bank balance, it will be declared bankrupt and deleted.
4
+
5
+
## Features
6
+
7
+
- Configurable upkeep interval (default is 1 day).
8
+
- Configurable amount to pull from each guild during upkeep.
9
+
- Tracks the last time upkeep was performed.
10
+
- Deletes guilds that cannot afford the upkeep and broadcasts a message to the server.
11
+
12
+
## Configuration
13
+
14
+
The configuration file (`config.yml`) allows you to set the upkeep interval, amount, and track the last upkeep time.
15
+
16
+
```yaml
17
+
upkeep:
18
+
interval: 86400# in seconds (default 1 day)
19
+
amount: 1000# amount to pull each time
20
+
last_upkeep: 0# timestamp of the last upkeep
21
+
```
22
+
23
+
## Installation
24
+
1) Download the GuildsUpkeep plugin jar file.
25
+
2) Place the jar file in the `plugins` directory of your Minecraft server.
26
+
3) Start the server to generate the default configuration file.
27
+
4) Edit the `config.yml` file in the `plugins/GuildsUpkeep` directory to customize the upkeep settings.
28
+
5) Restart the server to apply the changes.
29
+
30
+
## Usage
31
+
Once installed and configured, the plugin will automatically perform upkeep at the specified interval. It will pull the configured amount from each guild's bank balance and handle bankrupt guilds accordingly.
32
+
33
+
## Dependencies
34
+
- [Guilds](https://github.com/guilds-plugin/Guilds) plugin version 3.5.7.0 or higher.
35
+
- Spigot API version 1.21.4-R0.1-SNAPSHOT or higher.
0 commit comments