LagMeter

33 - Loaded chunks feature

What does the provided patch do?

show loaded chunks in every world

Please provide any additional information below.

you could make this optional
this is the code:

sender.sendMessage("Loaded chunks:");
for(World world : Bukkit.getServer().getWorlds())
{
   String chunks = String.valueOf(world.getLoadedChunks().length);
   sender.sendMessage(ChatColor.AQUA + world.getName() + ": " + chunks + " loaded.");
}
User When Change
TheLunarFrog Nov 09, 2012 at 23:38 UTC
TeamCobalt Oct 22, 2012 at 16:44 UTC Changed description:
  [b]Please provide any additional information below.[/b]

+ you could make this optional
  this is the code:
  [code]
  sender.sendMessage("Loaded chunks:");
----------------------------------------
     sender.sendMessage(ChatColor.AQUA + world.getName() + ": " + chunks + " loaded.");
  }
  [/code]
-
- you could make this optional
TeamCobalt Oct 22, 2012 at 16:43 UTC Changed description:
- What does the provided patch do?
+ [b]What does the provided patch do?[/b]
  show loaded chunks in every world
- Please provide any additional information below.
+ [b]Please provide any additional information below.[/b]
  this is the code:
  [code]
TeamCobalt Oct 22, 2012 at 16:43 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of TheLunarFrog TheLunarFrog Nov 09, 2012 at 23:37 UTC - 0 likes

    Well, I didn't even realize this ticket existed. I already implemented this from another suggestion.

    By the way, that's simple code, you probably don't need to share that with most devs.

  • 1 comment

Facts

Last updated
Nov 09, 2012
Reported
Oct 22, 2012
Status
Duplicate - This report duplicates an existing ticket.
Type
Patch - Source code patch for review
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees