Skip to main content

cbstats - CraftBukkit Stats

Author: Joar Wandborg http://github.com/jwandborg

  • cbstats outputs usage statistics for your server based on your server log.

  • cbstats is neither a plugin nor a mod for CraftBukkit.

Example

Live example

Plain text:

# Server stats for mc.wandborg.se

Operators: raidonrai, jwandborg, rocketseed, rscott147

Online right now:

Average user session length: 0:27:26

# Toplist - Time online

15:58:41 rscott147
11:06:18 jwandborg
7:57:00 rocketseed
2:51:05 dushkin
2:29:39 neuemod
1:18:19 SmiJa
1:17:43 Dennet
0:50:24 retro_grade
0:06:05 omnidonk
0:05:26 ErrorOfRuto
0:03:01 robnowelljr
0:02:51 SerfaBoy
0:01:46 macktns
0:01:41 Dazaki

# Configuration

online-mode: true
pvp: true
spawn-monsters: false
spawn-protection: 16
max-players: 20
spawn-animals: true
white-list: false
level-name: worlds/Reddit
server-ip:
server-port: 25565
hellworld: false

Installation

  1. pip install cbstats or pip install cbstats --upgrade, or, to install from this source python3 setup.py install

  2. Use the python help function to get a description of the package.

    $ python3
    Python 3.1.3 (r313:86834, Nov 28 2010, 10:01:07)
    [GCC 4.4.5] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from cbstats import CraftBukkitStats
    >>> stats = CraftBukkitStats('/home/jwandborg/bukkit-1.3/') # craftbukkit.jar folder
    >>> help(stats)
    [...]

Known issues

  • As your server log increases in size, the time and memory needed by cbstats will too. See `#1 <https://github.com/jwandborg/cbstats/issues/1>`_.

Metadata

Release files for cbstats 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cbstats 1.0.4
File Size Uploaded Provenance
cbstats-1.0.4.tar.gz 3.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cbstats 1.0.4
File Interpreter ABI Platform
cbstats-1.0.4.linux-x86_64.tar.gz Details

Total release size: 9.9 kB

Release files / cbstats-1.0.4.tar.gz

Download URL cbstats-1.0.4.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
40c07ce6e1a6c8cfc635c905d406ffc146183d4e8e1a951a63d74d288e58f901
BLAKE2b-256 checksum
How to use checksums
b910d1ed120e34f64244fd6d0bcf2ac76a2edff0061b01e9a7898f2bd673cb21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cbstats-1.0.4.linux-x86_64.tar.gz

Download URL cbstats-1.0.4.linux-x86_64.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
66aecc3bbf98321f68b109b8cb24e9cbcf4934beeab7e1198743162381a4053a
BLAKE2b-256 checksum
How to use checksums
6ebee0087bcb41aa84a697bcd4ad690a4a4e20a7c0a01b31d76779a8228cc66c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for cbstats 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page