@@ -0,0 +1,1379 @@
+#!/usr/bin/env python%0A%0A%22%22%22%0APrints out raw scoreboard data.%0A%22%22%22%0A%0Aimport os,sys%0A%0A# local module%0Atry:%0A    import nbt%0Aexcept ImportError:%0A    # nbt not in search path. Let's see if it can be found in the parent folder%0A    extrasearchpath = os.path.realpath(os.path.join(__file__,os.pardir,os.pardir))%0A    if not os.path.exists(os.path.join(extrasearchpath,'nbt')):%0A        raise%0A    sys.path.append(extrasearchpath)%0Afrom nbt.nbt import NBTFile, TAG_Long, TAG_Int, TAG_String, TAG_List, TAG_Compound%0A%0Adef main(world_folder, show=True):%0A    scorefile = world_folder + '/data/scoreboard.dat'%0A    scores = NBTFile(scorefile,'rb')%0A%0A    for player in scores%5B%22data%22%5D%5B%22PlayerScores%22%5D:%0A        print(%22%25s: %25d %25s%22 %25 (player%5B%22Name%22%5D, player%5B%22Score%22%5D.value, player%5B%22Objective%22%5D.value))%0A%0Aif __name__ == '__main__':%0A    if (len(sys.argv) == 1):%0A        print(%22No world folder specified!%22)%0A        sys.exit(64) # EX_USAGE%0A    if sys.argv%5B1%5D == '--noshow' and len(sys.argv) %3E 2:%0A        show = False%0A        world_folder = sys.argv%5B2%5D%0A    else:%0A        show = True%0A        world_folder = sys.argv%5B1%5D%0A    # clean path name, eliminate trailing slashes. required for os.path.basename()%0A    world_folder = os.path.normpath(world_folder)%0A    if (not os.path.exists(world_folder)):%0A        print(%22No such folder as %22+world_folder)%0A        sys.exit(72) # EX_IOERR%0A    %0A    sys.exit(main(world_folder, show))

Add really simple example for scoreboards.