Merge branch 'master' of https://github.com/Anuken/Mindustry into 6.0

# Conflicts:
#	core/src/mindustry/core/Logic.java
#	gradle.properties
This commit is contained in:
Anuken
2020-03-03 12:12:25 -05:00
17 changed files with 195 additions and 160 deletions

View File

@@ -646,6 +646,17 @@ public class ServerControl implements ApplicationListener{
err("That IP/ID is not banned!");
}
});
handler.register("pardon", "<ID>", "Pardons a votekicked player by ID and allows them to join again.", arg -> {
PlayerInfo info = netServer.admins.getInfoOptional(arg[0]);
if(info != null){
info.lastKicked = 0;
info("Pardoned player: {0}", info.lastName);
}else{
err("That ID can't be found.");
}
});
handler.register("admin", "<add/remove> <username/ID...>", "Make an online user admin", arg -> {
if(!state.is(State.playing)){