Sueta

OnlinePlayers

2.4.3

Player list in GUI

·Plugin

This plugin add Online Players list in GUI.
When you start use new version plis delete old config.yml
You can teleport to the selected player or teleport him to you
( PlaceholderAPI required)

upload_2022-10-1_22-22-5.png
upload_2022-10-1_22-15-18.png
You can choose where some blocks are located in Smal Gui builder(it may be bugged)
upload_2022-10-3_18-4-11.png

Tips to smal guild builder (Click)

Small plugin descripiton:

The plugin contains a list of online players in gui and many configurable functions, such as: choosing whether the player should be teleported to you, or whether he should perform some command in the console for that player
configure your own placeholders to description player's head lore and more

Commands:
/
online - open gui command
/opr - reload command
Permisions:
Can be changed in config.yml

Default config:

#------------------------------------------------------------------------
# OnlinePlayers plugin
# By: Indian Bartonka
# Support: https://discord.gg/aq6NaXsy2k
# § for colors
#-------------------------------------------------------------------------
#Permision name
OnPl: "OnPl.admin"
#Messages
admin-perms: "§4You don't have permisions"
player-not-be: "§4YYou must be a player"
player-null: "§4YThis player don't exist"
shelf-command: "§4Shelf use not allowed"
feature-off: "§4This feature is off "
#Player head options
head-name-prefix: "%vault_prefix% §4 "
head-name-sufix: " %floodgate_device% "
#Under player head description (PlaceHolderAPI supported)
description:
- "§bPing:§6 %player_ping%"
- "§bGame time: §a%statistic_minutes_played%"
- "§bGamemode: §a%player_gamemode%"
- "§bMinecraft version: §a%viaversion_player_protocol_version%"
- "§bRegion owner: §6%worldguard_region_owner%"
- "%discordsrv_user_name%"
- ""
- ""
- ""
- "§b*Right click to get Player head"
- "§b*Click to teleport*"
- "<tp>"
#lores
player-to-head: "§ayou §b-> §6player"
head-to-player: "§6player §b-> §byou"
cmd-tp: "§aTeleport on"
tp-cmd: "§aCommand on"
#Config Placeholder
ConfigPlaceholder: "Config placeholder :D"
#Smal Gui Builder
refresh-slot: 49
#to prevent bagging when closing inventory, I use timed closing, define for yourself when to close and open inventory when you refresh it, in seconds
refresh-time: 1
refresh: "§bRefresh"

TPswitch: "§eTp switch"
tpswitchslot: 50

#Command
command: "say <player> example test"
cmd-switch: "§eCommand & Tp switcher"
cmdslot: 48

barriername: "§4Back to menu"
#the command you enter here is executed as you, for example online
#Determine what is to happen when you click the barrier, do you want to execute? for example one that opens other gui?
barriercommand: ""
barrierslot: 53


#Player list in free slot / non slot
#Reguire PlayerList placeholder
#papi ecloud download playerlist
Playerlist: true
# these items appear in front of the last player's head if you enable this option
free&non-slots: true
free-slots: "§eFree slot"
non-slots: "§4No more slots"

#in this option you can select the slots where the players' heads are located, if you choose the glass slot, it can break very badly
# you can use slots which are not written in GRAY_STAINED_GLASS_PANE
start-counting-players-from-the-slot: 10
#select the slots where gray stained glass pane appears
GRAY_STAINED_GLASS_PANE:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 17
- 18
- 26
- 27
- 35
- 36
- 44
- 45
- 46
- 47
- 51
- 52

#Don't touch
tp: "§6player §b-> §byou"
cmdl: "§aTeleport on"

Plugin Placeholders:
%OnlinePlayers_version%
- Plugin version
%OnlinePlayers_expansion_version% - Expansion version
%OnlinePlayers_online_players_count% - Online players count
%OnlinePlayers_max_players_count% - Max Online Players count
%OnlinePlayers_admin_perm% - admin perm name
%OnlinePlayers_config_placeholder% - config placeholder

Coming soon:
Advanced Gui Builder
Multiple pages

Important info:

By right-clicking you take the head of the player you are clicking on
why don't I make the right button teleport and the left button execute the command?
since I want this plugin to support geysermc, you can't right-click or left-click on your phone without a mouse


This plugin is in the process of being done


Support:

https://discord.gg/qRdRRajU7e

Similar projects

Plugin →