SkillAgentSearch skills...

StatsPE

A statistics plugin for MCPE Servers (Pocketmine-MP)

Install / Use

/learn @SalmonDE/StatsPE
About this skill

Quality Score

0/100

Supported Platforms

Claude Code
Cursor

README

StatsPE - Advanced Stats Plugin

Information

Want to test the features before using them? Test them on this server: salmonde.de:19132

Installation | StatsPE ------------------ | ------------------------------------------------------------------------------------------------------------------- Step 1 | Download the plugin here to get the latest pre-built phar! Step 2 | After it has downloaded, drag the plugin into your plugins folder of your server files. Step 3 | Start the server, and StatsPE has been added to your server! Optional | If you want to disable a statistic from showing on /stats [player], replace true with false in the config.


MySQL Configuration | Using MySQL with StatsPE ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- Step 4 | Put your MySQL Settings in these lines. Step 5 | Change the data providers from JSON to MySQL in this line.


Command | Description | Permission Node ----------------------------------- | ------------------------------------------------------------------------------------------ | ------------------------------ /stats | Shows the player's stats | statspe.cmd.stats /stats [player] | Shows the stats of another player | statspe.cmd.stats.others /statspe | Shows statistics of the plugin | statspe.cmd.statspe /statspe floatingtext add [name] | Adds a floatingtext to your server at your current position | statspe.cmd.statspe.floatingtext /statspe floatingtext remove [name] | Removes a floatingtext | statspe.cmd.statspe.floatingtext /statspe floatingtext list | Lists all floatingtexts on the server | statspe.cmd.statspe.floatingtext /statspe floatingtext info [name] | Shows information about a floatingtext such as the position and shown stats | statspe.cmd.statspe.floatingtext


FloatingText Setting | Description | Example ------------------------ | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------ Name | The name of the floating stat, specified by the creator | SpawnText Position | Contains information about the position of the floating stat (Array) | X => '100' Y => '50' Z => '400' Level => 'Lobby' Text | Contains text lines with statistics which will be shown on the floating text (Array) | OnlineTime: "Was online for {value}"


Default Entries | Description | Example | Does it save data? ----------------- | --------------------------------------------- | ---------------------------------- | ---------- Username | Name of the player (case sensitive) | SalericioDE | Yes Online | Is the player online | true (OR 1 in MySQL) | Yes ClientID | ClientID of the MCPE installation | -8655314918531 | Yes XBoxAuthenticated | If the user is authenticated with Xbox or not | false (OR 0 in MySQL) | Yes LastIP | Last used IP from the player | 192.168.1.35 | Yes UUID | Player's UUID | 3942e063-fa8f-3a43-8fc2-201dc6 | Yes FirstJoin | First time the player joined | 1491293910.542 (Unix timestamp) | Yes LastJoin | Last time the player joined | 149129395750.641 (Unix timestamp) | Yes JoinCount | How many times the player joined the server | 10 | Yes KillCount | How often the player killed another player | 69 | Yes DeathCount | How often the player died | 9 | Yes K/D | Player's Kill/Death Ratio | 2,5 | No OnlineTime | How long the player played on the server | 321 (seconds) | Yes BlockBreakCount | How many blocks the player destroye | 3 | Yes BlockPlaceCount | How many blocks the placer placed | 4 | Yes ChatCount | How many chat messages the player sent | 78 | Yes ItemConsumeCount | How often the player consumed an item | 13 | Yes ItemCraftCount | How often the player crafted something | 6 | Yes ItemsDropCount | How many items the player dropped | 294 | Yes

View on GitHub
GitHub Stars19
CategoryData
Updated1y ago
Forks7

Languages

PHP

Security Score

80/100

Audited on Jun 22, 2024

No findings