Skip to content

ethaniccc/SlapperPlayerCount

Repository files navigation

SlapperPlayerCount

Get the amount of players on a world or on a server with SlapperPlayerCount!

Updates

3.1.0

  • Fix server player count NPC's not updating their name tag.
  • Cleanup the server query task code.

Important: 3.0.0 brings support for PocketMine-MP API 4, dropping API 3 support. Check out the plugin by clicking here

3.0.0

  • PocketMine-MP API v4 support (drops API 3).
  • Rewrites a large amount of code to de-bloat the main plugin class by keeping all data loading/saving in a separate utility class.
  • Removes automatic Slapper plugin installation.

Important: 2.1.2 brings support for WPC support, which you can either choose to enable or disable in the config. WPC has more features for world querying, check out the plugin by clicking here

2.1.2

  • Add WorldPlayerCount support because it's unfair not giving people options.
  • Add version to config

2.1.1

  • Disable WorldPlayerCount if installed and enabled on the server.

This version has been nulled

2.1

  • Add config
  • Add configurable nametags
  • Add support for showing amount of players in a world

2.0

  • Inital release

Configuring Messages

If you go to the plugin_data folder for SlapperPlayerCount, you will see a config. You can change what the nametag will show for each event with the config.

Usage

If you are confused, this is the place where you can go for answers. I will show how to use this plugin for getting the amount of players in a world, and the amount of players on a server.

World Usage

When you have this plugin installed, go in-game and get your hands ready: (Note: The arguments must be on the second line of the plugin!) Type up the command to create a normal slapper like normal, with a name and everything:

/slapper create human MiniGames

From here, you want to seperate the amount of players from the name, so you would seperate it with the {line} tag.

/slapper create human MiniGames{line}

Now, since you want to get the amount of players on a world, you want to type in world and then the world name, spereated by a :.

Example: /slapper create human MiniGames{line}world:minigames WorldCommandExample

Then you get the amount of players on the world: WorldResult

Hope this helped :D

~ ethaniccc

Server Query Usage

When you have this plugin installed, go in-game and get your hands ready: (Note: The arguments must be on the second line of the plugin!) Type up the command to create a normal slapper like normal, with a name and everything:

/slapper create human Versai

From here, you want to seperate the amount of players from the name, so you would seperate it with the {line} tag.

/slapper create human Versai{line}

Now, since you want to get the amount of players on a server, you want to type in server, server ip, and the server port, spereated by a :.

Example: /slapper create human Versai{line}server:versai.pro:19132

ServerCreateExample

Then you get the amount of players on the server:

ServerResult

Hope this helped :D

~ ethaniccc

About

Get the amount of players on another server (or your own) while using Slapper!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages