gamerules
This commit is contained in:
parent
f9bc9cdeb1
commit
4503bbe022
2 changed files with 5 additions and 0 deletions
|
@ -49,6 +49,7 @@ public class Main extends JavaPlugin implements Listener {
|
|||
Bukkit.getServer().dispatchCommand(Bukkit.getConsoleSender(), "gamerule sendCommandFeedback false");
|
||||
Bukkit.getServer().dispatchCommand(Bukkit.getConsoleSender(), "gamerule doImmediateRespawn true");
|
||||
Bukkit.getServer().dispatchCommand(Bukkit.getConsoleSender(), "gamerule logAdminCommands false");
|
||||
Bukkit.getServer().dispatchCommand(Bukkit.getConsoleSender(), "gamerule naturalRegeneration false");
|
||||
|
||||
// Register Commands
|
||||
CommandManager.registerCommands();
|
||||
|
|
|
@ -37,6 +37,10 @@ public class Start implements ICommand {
|
|||
sender.sendMessage(errorPrefix + "No Seekers were found");
|
||||
return;
|
||||
}
|
||||
Bukkit.getServer().dispatchCommand(Bukkit.getConsoleSender(), "gamerule sendCommandFeedback false");
|
||||
Bukkit.getServer().dispatchCommand(Bukkit.getConsoleSender(), "gamerule doImmediateRespawn true");
|
||||
Bukkit.getServer().dispatchCommand(Bukkit.getConsoleSender(), "gamerule logAdminCommands false");
|
||||
Bukkit.getServer().dispatchCommand(Bukkit.getConsoleSender(), "gamerule naturalRegeneration false");
|
||||
playerData = new HashMap<String,HashMap<String,Integer>>();
|
||||
for(Player player : playerList.values()) {
|
||||
resetPlayerData(player.getName(),true);
|
||||
|
|
Loading…
Reference in a new issue