SimpleOnline
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
-
View User Profile
-
Send Message
Posted Apr 16, 2013Tested and seems to work in 1.5.1
-
View User Profile
-
Send Message
Posted Apr 16, 2013@MrGobbles
Is it broken in 1.5.1? I'm not really playing Minecraft at the moment, but I can test it out.
-
View User Profile
-
Send Message
Posted Apr 11, 2013is this gonna be updated to 1.5.1?
-
View User Profile
-
Send Message
Posted Jul 10, 2012Perhaps add/display to which group a player is in/belongs to?
Nice plugin btw! ;-)
-
View User Profile
-
Send Message
Posted Jul 10, 2012@Enrux
Not a bad idea, I might look into that.
Thanks
-
View User Profile
-
Send Message
Posted Jul 10, 2012Maybe add the posibility to add an auto display, so that for example every 5 minutes it tells the number of players online?
-
View User Profile
-
Send Message
Posted Jul 10, 2012Sorry for the extreme delay.
Version 1.1.5 is now released and should fix the errors in console.
-
View User Profile
-
Send Message
Posted Jun 16, 2012@getninjaN
Agreed with @dougmpv
Same error. Not really a biggy, but it is saddening when I don't have time to be ingame :p
Any progress since the last error like this was reported? 1.2.5 RB 3 is my server build.
-
View User Profile
-
Send Message
Posted Apr 5, 2012@getninjaN
Alright :P
-
View User Profile
-
Send Message
Posted Mar 28, 2012@mantegudo
Oh, that's not good, I'll look into it asap.
-
View User Profile
-
Send Message
Posted Mar 27, 2012@getninjaN
All works in-game. But the /online command fails on console:
Thanks
-
View User Profile
-
Send Message
Posted Mar 26, 2012Version 1.1.4 released - Minor update involving invisible players
For changes see Change log
Wait for file approval or use mirror.
-
View User Profile
-
Send Message
Posted Mar 26, 2012@getninjaN
Thank you!
-
View User Profile
-
Send Message
Posted Mar 26, 2012@mantegudo
Sorry! I've had a lot to do but I'll release the next version this week.
-
View User Profile
-
Send Message
Posted Mar 8, 2012@getninjaN
When you intend to release next version? :D
-
View User Profile
-
Send Message
Posted Feb 29, 2012@mantegudo
That I can do ;)
Regarding not to hard code I feel that the overhead would be to great, so the commands will stay hard coded for now. I will however add some aliases so the risk of conflict is lower.
-
View User Profile
-
Send Message
Posted Feb 26, 2012@getninjaN
Hello, I have another suggestion! Hide the player from the list if he can't be seen, you just need to do the see check: player.cansee();
Thank you!
-
View User Profile
-
Send Message
Posted Feb 2, 2012Ok, just a suggestion, can u dont hardcode the commands? It would be awesome if u add the command in the config file so we could translate :P
-
View User Profile
-
Send Message
Posted Feb 2, 2012Sorry my mistake, I found another plugin with commands related.
-
View User Profile
-
Send Message
Posted Feb 2, 2012Hey!
My players can't use the command /lisplayers because of permissions... what is the permission node to allow them to use that?
Thanks