/
config.yml
101 lines (73 loc) · 3.95 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
###################################
########## CONFIGURATION ##########
###################################
# DO NOT TOUCH THIS SECTION !!!
configVersion: 4
# Do you want to enable '/kinv info' command?
# This command only shows the info about me (author) and shows my spigotmc account link
# I would be very grateful if you would enable this command (but you can also disable it easily)
enableInfoCommand: true
# Do you want to have one backup per world instead of one backup per server?
enablePerWorldBackup: false
# This option is used only if the plugin has to stop using perWorldBackups
# When plugin has to switch to one-backup-only mode it has to change the layout of player's backup file
# It has to stop using world names as sections and start using slot numbers as sections
# But only ONE backup can be converted, other will be removed
# The higher a world name is on this list, the bigger is a chance backup with that world name will be converted
# If none of this world names are in the converted file - plugin takes a random backup and converts it to new format
conversionWorldPriority:
- 'world'
- 'world_nether'
- 'world_the_end'
# If the plugin switches to perWorldBackups and there is a backup created in one-backup-only mode in the player's file - it has to be converted
# This backup will be saved as it belongs to the world you enter below
convertToWorld: 'world'
# Do you want to not backup player's inventory if he has survival gamemode on?
ignoreSurvival: false
# Do you want to not backup player's inventory if he has creative gamemode on?
ignoreCreative: true
# Do you want to not backup player's inventory if he has adventure gamemode on?
ignoreAdventure: false
# Do you want to backup player inventories when they change world?
# In my opinion this option is useful only if you have perWorldBackup enabled
backupOnWorldChange: false
# Do you want to backup player inventories on their join?
backupOnJoin: true
# Do you want to backup player inventories on their quit?
backupOnQuit: true
# Do you want to backup player inventories on their kick?
backupOnKick: true
# Do you want to backup player inventories on server enabling?
backupOnServerEnabled: true
# Do you want to backup player inventories on server disabling?
backupOnServerDisabled: true
# Do you want to enable autoBackup?
autoBackupEnabled: true
# How frequently do you want autoBackup to save inventories?
# Interval must be given in seconds
autoBackupInterval: 300
# Do you want to delete backup after player's inventory is restored?
clearBackupAfterUse: false
###################################
############# MESSAGES ############
###################################
# Shown when player has no permission to use a command
msgNoPermission: "&cNo permission!"
# Shown when player uses a command with wrong arguments
msgCorrectUsage: "&cCorrect usage: {COMMAND}"
# Shown when console uses a player-only command
msgPlayerOnlyCommand: "&cThis is a player-only command!"
# Shown when someone wants to backup/restore inventory of the player that is not online
msgNoSuchPlayer: "&cThis player is not online!"
# Shown when someone wants to restore/show backuped inventory of the player, but there is no such backup
msgNoSuchBackup: "&cThis player has no backuped inventory!"
# Shown when someone wants to restore/show backuped inventory of the player, but there is no backup for the world the player is currently in
msgNoBackupForThisWorld: "&cThis player has no backuped inventory for {WORLD}!"
# Shown when player's inventory is successfully restored
msgInventoryRestored: "&6{PLAYER}'s &ainventory has been successfully restored to the state from &6{DATE}&a!"
# Shown when player reloads a config file
msgConfigReloaded: "&aConfig file has been reloaded!"
# Shown when player's inventory is successfully backuped
msgBackupCreated: "&6{PLAYER}'s &ainventory has been succesfully backuped!"
# Shown player has a gamemode which is ignored
msgGamemodeIgnored: "&cYou cannot create a backup - player's gamemode is set to be ignored!"