Description
This is the first mod that I've made from scratch and was originally made for a server that I administrate. It is a simple mod allowing players to list other players and what world they're in.
About
- Displays players online vs. max players (/online)
- Displays players in world vs. players online
- Does not show invisible players
- Configurable messages
- List all worlds and which players are in that world (/listplayers)
- List all players in a provided world (/listplayers worldname)
- Reload configuration with /online reload
- Reload function requires permission simpleonline.reload
Usage
/online
Displays Players online vs. Max players
Example: /online will output
- 5 of 20 online
/online reload
Reloads config
/listplayers
Displays Players online vs. Max players.
Displays a list of all players on the server and what world they are in. (Will skip worlds that are empty).
Example: /listplayers will output
- 5 of 20 online
- Online in "world1" (3/5): player1 player2 player3
- Online in "world2" (2/5): player4 player5
/listplayers [world name]
Displays Players online vs. Max players.
Lists all players in the world entered
If there are no online players in the world provided the player will get a message saying that there are no players online in that world.
If the world isn't found the player will be getting a message saying that the world couldn't be found.
Example - /listplayers world2 will output:
- 5 of 20 online
- Online in "world2" (2/5): player4 player5
Configuration
There's a configuration file generated for color changing, translation and formatting messages.
The configuration file looks like this: config.yml
More info
GitHub: https:github.com/getninjaN/SimpleOnline
Download
Mirror 1: Current version (1.1.5)
Changelog
1.1.5
- Fix so that it wont cast errors when using console.
1.1.4
- Fix so that invisible players does not show in /online
- Fix so that invisible players does not show in /listplayers
1.1.3
- Fix so that NPCs doesn't show up in /listplayers (at least NPCs in Citizens)
1.1.2
- Added /listplayers command (acts as the old /online worldname)
- /online will now only display Players online vs. Max players
- Added configuration key uselist which will be displayed together with /online
- Thank you dougmpv for your input
1.1.1
- Added reload function (permission simpleonline.reload)
- Added some forgotten variable replaces
- Some minor clean up
1.1
- Added configuration key showtotalonline in config.yml
- Added message key totalonline in config.yml
- Added output total online vs. max players
- Added output players in world vs. total online
1.0
- Initial release


