Sueta

// ServerList | [1.8-1.12] | [Bungee Version of CustomList!]

1.3.7

Requested by @TheCrazyGamer678

·Plugin

THIS PLUGIN IS A COMPLETE AND I MEAN COMPLETE RIPOFF OF CustomList. I'M EVEN USING THEIR GRAPHICS BECAUSE I'M LAZY AND AS I SAID THIS PLUGIN IS OBVIOUSLY A RIP MIGHT AS WELL. I'M ONLY POSTING IT BECAUSE IT WAS REQUESTED BY TheCrazyGamer678. That said, I didn't steal any code because this version is for bungee rather than bukkit so I believe it can be posted. If this isn't the case, let me know and I'll change the graphics.


ServerList is a plugin that displays OnlinePlayers, Staff, and Donators with a simple command of /list. The whole entire /list can be customized in the configuration file because why not? There are variables for everything that will be listed down below.


Here are the variables that can be used ServerList

%Players% / %PlayersGlobal% gets the members online
%PlayersAmount% / %PlayersAmountGlobal% gets the number of members online
%MaxPlayers% / %MaxPlayersGlobal% gets the max players. Note: The maxplayers value for each individual server will only be registered once a player joins a server at least once while the bungee server is running. Until joined at least once, a 0 will show. This is done so to minimize lag as much as possible.

%Staff% / %StaffGlobal% gets the staff online
%StaffAmount% / %StaffAmountGlobal% gets the staff in an integer

%Donors% / %DonorsGlobal% gets the donors online
%DonorsAmount% / %DonorsAmountGlobal% gets the donors in an integer

%Famous% / %FamousGlobal% gets the famous players online
%FamousAmount% / %FamousAmountGlobal% gets the famous players online in an integer

%Youtube% / %YoutubeGlobal% gets the YouTubers online
%YoutubeAmount% / %YoutubeAmountGlobal% gets the YouTubers online in an integer

%Twitch% %TwitchGlobal% gets the streamers online
%TwitchAmount% / %TwitchAmountGlobal% gets the streamers online in an integer


Easy to read configuration with tutorial comments:

##########################################################
#                    ServerList Config                   #
##########################################################

Include_All_Servers: false
#If this is enabled it will send the genearl message for
#each server on the bungee rather than just the player's
#current server when '/list' is typed

Command_Aliases:
 - list
 - glist
#These are the commands that work as well as /slist

General_Message:
 - '&7&l&m-->%Server%<--'
 - '&aPlayers online: &7%PlayersAmount%&a/&7%MaxPlayers%'
 - '&aStaff online &7(&a%StaffAmount%&7)&a: &7%Staff%'
 - '&aDonators online &7(&a%DonorsAmount%&7)&a: &7%Donors%'
 - '&aFamous players online &7(&a%FamousAmount%&7)&a: &7%Famous%'
 - '&aYoutubers online &7(&a%YoutubeAmount%&7)&a: &7%Youtube%'
 - '&aStreamers online &7(&a%TwitchAmount%&7)&a: &7%Twitch%'
#This is the message format for when players type '/list'
#This message can potentially be sent for every server if
#'Include_All_Servers' is enabled

Server_Message:
 - '&7&l&m-->%Server%<--'
 - '&aPlayers online: &7%PlayersAmount%&a/&7%MaxPlayers%'
 - '&aStaff online &7(&a%StaffAmount%&7)&a: &7%Staff%'
 - '&aDonators online &7(&a%DonorsAmount%&7)&a: &7%Donors%'
 - '&aFamous players online &7(&a%FamousAmount%&7)&a: &7%Famous%'
 - '&aYoutubers online &7(&a%YoutubeAmount%&7)&a: &7%Youtube%'
 - '&aStreamers online &7(&a%TwitchAmount%&7)&a: &7%Twitch%'
#This is the message format for when players type '/list <server>'
#This will always be sent for a single server specified in the
#command typed

##########################################################
#                        Version                         #
##########################################################

VERSION: "6"
#Do not touch this. No touchy.

Permissions are given in bungeecord's config.yml just as a head's up!!!

The permissions are listed as follows:

serverlist.staff: Gives the player access to be shown on /list as a staff member.

serverlist.donor: Gives the player access to be shown on /list as a donator.

serverlist.famous: Gives the player access to be shown on /list as a famous player.

serverlist.youtube: Gives the player access to be shown on /list as a youtuber.

serverlist.twitch: Gives the player access to be shown on /list as a streamer.


The commands are listed as follows:

/slist: Displays the list.
/list: Added as alias in config by default.
/glist: Added as alias in config by default.

You can also add an argument to the command and it's aliases to specify which server you want information on. For example:
'/slist Factions'. Capitalization matters.

Similar projects

Plugin →