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 Jan 31, 2012Version 1.1.3 released - Minor update regarding NPCs
For changes see Change log
Wait for file approval or use mirror.
-
View User Profile
-
Send Message
Posted Jan 31, 2012Worked! Thanks.
There is another issue that you have to deal with :P
The /listplayers command shows the NPC's online cause I have citizens installed, I only want it to show players, not npcs! :P, may u fix this?
Thanks =)
-
View User Profile
-
Send Message
Posted Jan 31, 2012@getninjaN
Thanks, I will test it =p
-
View User Profile
-
Send Message
Posted Jan 31, 2012Version 1.1.2 released.
For changes see Change log
Wait for file approval or use mirror.
-
View User Profile
-
Send Message
Posted Jan 31, 2012@mantegudo
Ah, ok. I'll look into it. Maybe add an argument to it. So that perhaps "/online total" displays the "Players Online (5/10)".
Anyway, I will look into it.
getninjaN
-
View User Profile
-
Send Message
Posted Jan 30, 2012@getninjaN
I wanna two different commands, one for just show the online/max players like this:
Players Online (5/10)
and another command like /listplayers to show the players names... Player1, Player2, Player 3.
Get it? =)
-
View User Profile
-
Send Message
Posted Jan 30, 2012@mantegudo
I'm not sure if I understand what you mean. Do you mean that you want to list all the players without the world info?
Because from what I can see you want what this mod provides? :)
getninjaN
-
View User Profile
-
Send Message
Posted Jan 30, 2012Just a suggestion, make another plugin to display only the player list, like this: Online in "world2" (2/5): player4 player5, cause I need two commands :P /online to show only numbers like I configured now and the /listonline to display that I just said
Thanks =D
-
View User Profile
-
Send Message
Posted Jan 30, 2012Working!
Thanks! :)
-
View User Profile
-
Send Message
Posted Jan 30, 2012@getninjaN
Thank you! I will test it them feedback!
-
View User Profile
-
Send Message
Posted Jan 30, 2012Did the update just now actually.
Either wait for file approval or use mirror.
-
View User Profile
-
Send Message
Posted Jan 30, 2012@mantegudo
Hi! Sorry for taking so long to reply. I will look into the variables not working and a reload command.
Will update later tonight.
Thank you for your feedback!
getninjaN
-
View User Profile
-
Send Message
Posted Jan 28, 2012Great plugin, just to let you know but my Online config is like that:
online: <green>Players Online <white>(%online%/%maxplayers%)
The coloring thing is normal but the variables isnt working! its showing %online%/%maxplayers%.... and how about a reload comand?
Thanks! =)