Added new Admin reset command and cleaned up config.yml
This commit is contained in:
parent
392f40bd40
commit
e24d9a23d7
|
@ -212,7 +212,7 @@ public class Settings implements WorldSettings {
|
||||||
private int maxHomes = 5;
|
private int maxHomes = 5;
|
||||||
|
|
||||||
// Reset
|
// Reset
|
||||||
@ConfigComment("How many resets a player is allowed (override with /bsbadmin clearresets <player>)")
|
@ConfigComment("How many resets a player is allowed (manage with /bsbadmin reset add/remove/reset/set command)")
|
||||||
@ConfigComment("Value of -1 means unlimited, 0 means hardcore - no resets.")
|
@ConfigComment("Value of -1 means unlimited, 0 means hardcore - no resets.")
|
||||||
@ConfigComment("Example, 2 resets means they get 2 resets or 3 islands lifetime")
|
@ConfigComment("Example, 2 resets means they get 2 resets or 3 islands lifetime")
|
||||||
@ConfigEntry(path = "island.reset.reset-limit")
|
@ConfigEntry(path = "island.reset.reset-limit")
|
||||||
|
|
|
@ -24,7 +24,7 @@ import world.bentobox.bentobox.api.commands.admin.blueprints.AdminBlueprintComma
|
||||||
import world.bentobox.bentobox.api.commands.admin.deaths.AdminDeathsCommand;
|
import world.bentobox.bentobox.api.commands.admin.deaths.AdminDeathsCommand;
|
||||||
import world.bentobox.bentobox.api.commands.admin.purge.AdminPurgeCommand;
|
import world.bentobox.bentobox.api.commands.admin.purge.AdminPurgeCommand;
|
||||||
import world.bentobox.bentobox.api.commands.admin.range.AdminRangeCommand;
|
import world.bentobox.bentobox.api.commands.admin.range.AdminRangeCommand;
|
||||||
import world.bentobox.bentobox.api.commands.admin.resets.AdminResetsResetCommand;
|
import world.bentobox.bentobox.api.commands.admin.resets.AdminResetsCommand;
|
||||||
import world.bentobox.bentobox.api.commands.admin.team.AdminTeamAddCommand;
|
import world.bentobox.bentobox.api.commands.admin.team.AdminTeamAddCommand;
|
||||||
import world.bentobox.bentobox.api.commands.admin.team.AdminTeamDisbandCommand;
|
import world.bentobox.bentobox.api.commands.admin.team.AdminTeamDisbandCommand;
|
||||||
import world.bentobox.bentobox.api.commands.admin.team.AdminTeamKickCommand;
|
import world.bentobox.bentobox.api.commands.admin.team.AdminTeamKickCommand;
|
||||||
|
@ -67,7 +67,7 @@ public class AdminCommand extends CompositeCommand {
|
||||||
// Range
|
// Range
|
||||||
new AdminRangeCommand(this);
|
new AdminRangeCommand(this);
|
||||||
// Resets
|
// Resets
|
||||||
new AdminResetsResetCommand(this);
|
new AdminResetsCommand(this);
|
||||||
// Delete
|
// Delete
|
||||||
new AdminDeleteCommand(this);
|
new AdminDeleteCommand(this);
|
||||||
// Why
|
// Why
|
||||||
|
@ -90,6 +90,7 @@ public class AdminCommand extends CompositeCommand {
|
||||||
new AdminPurgeCommand(this);
|
new AdminPurgeCommand(this);
|
||||||
// Settings
|
// Settings
|
||||||
new AdminSettingsCommand(this);
|
new AdminSettingsCommand(this);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# BSkyBlock Configuration 1.6.0
|
# BSkyBlock Configuration ${version}
|
||||||
bskyblock:
|
bskyblock:
|
||||||
command:
|
command:
|
||||||
# Island Command. What command users will run to access their island.
|
# Island Command. What command users will run to access their island.
|
||||||
|
@ -203,7 +203,7 @@ island:
|
||||||
# Accessed via /is sethome <number> or /is go <number>
|
# Accessed via /is sethome <number> or /is go <number>
|
||||||
max-homes: 1
|
max-homes: 1
|
||||||
reset:
|
reset:
|
||||||
# How many resets a player is allowed (override with /bsbadmin clearresets <player>)
|
# How many resets a player is allowed (manage with /bsbadmin reset add/remove/reset/set command)
|
||||||
# Value of -1 means unlimited, 0 means hardcore - no resets.
|
# Value of -1 means unlimited, 0 means hardcore - no resets.
|
||||||
# Example, 2 resets means they get 2 resets or 3 islands lifetime
|
# Example, 2 resets means they get 2 resets or 3 islands lifetime
|
||||||
reset-limit: -1
|
reset-limit: -1
|
||||||
|
|
Loading…
Reference in New Issue