AdminPlayerMenu 管理员玩家菜单 GUI
作者:RonanCraft
发布时间:2017年2月15日
原生版本:未知
测试支持:1.8,1.9,1.10,1.11,1.12
用一个命令和多页控制面板管理在线/离线玩家!无限的命令!
点此下载插件详细介绍
AdminPlayerMenu 是一款旨在帮助服务器所有者辅助其工作人员学习并了解所有可用于管理玩家的命令的插件。通过一个简单的命令,让工作人员能够快速轻松地学习和掌握。此插件具有高度的可定制性,并会根据玩家的讨论和建议不断扩展。
🎉AdminPlayerMenu
📌功能特性
- 在一个菜单中列出所有在线/离线玩家,以便一次性管理!
- 设置插件中每个消息的前缀和文本!
- 设置控制面板中每个物品的物品类型、名称、描述、槽位和命令,支持无限页面!
- 能够搜索当前在线/离线玩家并打开控制面板,带有可选的建议过滤器!
- 确认界面!只需在当前物品下添加 "Confirm" 部分,让您的工作人员在执行命令前进行确认!
- 支持 PlaceholderAPI,添加数千个占位符!
- 全新的多页面控制面板!不仅仅是一页命令,您可以创建无限数量的页面,只需使用大于
(54 * CurrentPage)的 "Slot" 数字! - 全新的更新检查器!如果有新版本可用,当具有适当权限的玩家加入时,将显示一条包含当前版本的消息!
📦安装指南
- 下载 AdminPlayerMenu.jar
- 将 AdminPlayerMenu.jar 上传到您的 plugins 文件夹中
- 重新加载/重启您的服务器,配置并执行
/admin reload命令
🔑命令
/admin- 显示所有在线玩家的玩家界面,允许您单击并执行命令。(别名:apm)/adminoffline- 在 GUI 菜单中查看/管理所有离线玩家。(别名:apmo)/admin reload- 重新加载 config.yml/admin search <player>- 搜索指定的玩家,如果他们之前玩过,则显示控制面板!
🔒权限
adminplayermenu.use- 允许使用该插件!adminplayermenu.*- 以下所有节点的权限adminplayermenu.search- 能够使用 "/admin search <player>" 命令adminplayermenu.updater- 如果有可用的更新,则会收到一条消息!adminplayermenu.reload- 允许重新加载配置!
🔌依赖
- PlaceholderAPI
- 默认配置使用 PlaceholderAPI 的两个扩展,如果您想使用 PlaceholderAPI 并使默认配置在启动时工作,请执行
/papi ecloud download Player和/papi ecloud download Server!
⚙️配置示例 (config.yml)
# AdminPlayerMenu plugin by SuperRonanCraft! (Join my Public Server mc.RonanCraft.net) #
# Please give me credit, I'm a first time coder, and would love to see more discussions on my Spigot page! #
#DO NOT TOUCH!
Version: 1.10.1
General:
NextPage:
Name: '&6&lNext Page'
Item: 'book'
LastPage:
Name: '&6&lLast Page'
Item: 'book'
CurrentPage:
Name: '&6&lCurrent Page'
Item: 'book_and_quill'
Search:
## Whether or not to send the "SuccessMessage" if the player searching for exists!
SendSuccessMessage: true
SuccessMessage: '&aPlayer found! &7Opening %player%''s ControlPanel!'
## The placeholder %list% will list any players with SIMILAR names if the command failed to find a player
FailedMessage: '&cCould not find the player, &7%player%&c! &7Suggestions&f: %list%'
Menu:
Player:
Online:
PlayerHead: true
Enchant: true
Item: 'wool:5'
Offline: 'wool:14'
Confirm:
Rows: 3
Accept:
Name: '&a&lConfirm'
Item: 'wool:5'
Slot: 12
Lore:
- ''
- '&7Click to confirm'
- '&7Confirming will...'
## the "%itemLore%" placeholder will replace with rest of the lore with that of the item that is being confirmed (ENTIRE LINE MUST BE THIS PLACEHOLDER)
- '%itemLore%'
Deny:
Name: '&c&lCancel'
Item: 'wool:14'
Slot: 14
Lore:
- ''
- '&7Click to cancel'
Messages:
Prefix: '&7[&6AdminPlayerMenu&7] '
Reload: '&aReloaded'
## You can give permission to reload this plugin with "adminplayermenu.reload"
NoPermission: '&cSorry! &7You don''t have access to this command!'
Menu:
## Only put color codes here! You will not be able to execute command if you add text!
Name: '&a&l%player%'
## Text shown beneath every players head
Lore:
- ''
- '&7Click to open'
- '&b%player%''s'
- '&7control panel!'
## This placeholder will only work if you have PlaceholderAPI and the right expansions!
- '&cIP&7: %player_ip%'
Titles:
Main: '&lAdminPlayerMenu | Online'
Offline: '&lAdminPlayerMenu | Offline'
ControlPanel: '&lAdminPlayerMenu | Panel'
Confirm: '&lAdminPlayerMenu | Confirm'
⚙️控制面板配置示例
## Tutorial:
## [Name] the name of the item in the menu! Placeholder API Support!
## [Lore] a list of lores to describe the action of the item, will translate over to confirmation screen! Placeholder API Support!
## [Item] the item you want to show in the menu, if invalid, item will default to bedrock!
## [Slot] the slot you want the item to be in, maxes out at 54!
## [Command] a string OR list of command you want to make the player clicking execute! Placeholder API Support!
## [SeePermission] section can have ANY permission that you want! Even supports third party plugin permissions!
## [Confirm] Having the menu close when a player clicks the item (Good for the "/invsee" command from essentials)
## [Back] go back to the previous screen depending if the player was online or offline!
## Menu will increase in size respecting the greatest slot number given! Max of 54!
ControlPanel:
Ban:
Name: '&c&lBan %player%'
Lore:
- ''
- '&7Ban &b%player% &7forever!'
- ''
- '&c%player% has played&7: %statistic_time_played%'
Item: 'bedrock'
Slot: 3
Command:
- 'ban %player% Advertising/Hacking/Other:AdminPlayerMenu'
- 'broadcast &aThe player &c%player% &ahas been banned!'
SeePermission: 'staff.admin'
Confirm: true
TempBan:
Name: '&c&lTempBan %player%'
Lore:
- ''
- '&7Ban &b%player% &7for 1 day!'
- ''
- '&c%player% has played&7: %statistic_time_played%'
Item: 'magma'
Slot: 4
Command:
- 'tempban %player% 1d Spam/Profanity/Other:AdminPlayerMenu'
- 'broadcast &aThe player &c%player% &ahas been temp banned for 1 day!'
SeePermission: 'staff.admin'
Confirm: true
IpBan:
Name: '&c&lIPBan %player%'
Lore:
- ''
- '&7IPBan &b%player%'
- '&a%player%''s IP&7: %player_ip%'
Item: 'wool:14'
Slot: 6
Command:
- 'banip %player_ip%'
- 'broadcast &aThe player &c%player% &ahas been ip banned! Their ip was %player_ip%'
SeePermission: 'staff.admin'
Confirm: true
Kick:
Name: '&c&lKick %player%'
Lore:
- ''
- '&7Kicks &b%player%'
- ''
- '&c%player% has played&7: %statistic_time_played%'
Item: 'obsidian'
Slot: 7
Command:
- 'kick %player% Spam/Profanity/Other:AdminPlayerMenu'
- 'broadcast &aThe player &c%player% &ahas been kicked!'
SeePermission: 'staff.admin'
Confirm: true
Tp:
Name: '&a&lTeleport'
Lore:
- ''
- '&7Teleport to &b%player% &7position!'
- ''
- '&aWorld&7: %player_world%'
- '&aCoords&7: X:%player_x%&8, &7Y:%player_y%&8, &7Z:%player_z%'
Item: 'ender_pearl'
Slot: 13
Command: 'tp %player%'
SeePermission: 'staff.mod'
Seen:
Name: '&a&lSeen'
Lore:
- ''
- '&7See &b%player% &7information!'
Item: 'stained_glass:5'
Slot: 14
Command: 'seen %player%'
SeePermission: 'staff.mod'
Heal:
Name: '&a&lHeal'
Lore:
- ''
- '&7Heals &b%player%'
- ''
- '&aHealth&7: %player_health%'
Item: 'redstone'
Slot: 15
Command: 'heal %player%'
SeePermission: 'staff.mod'
InvSee:
Name: '&a&lInvSee'
Lore:
- ''
- '&7See &b%player% &7inventory!'
Item: 'chest'
Slot: 23
Command: 'invsee %player%'
Close: false
Decor1:
Name: '&6&lAdminPlayerMenu'
Item: 'stained_glass_pane:1'
Slot: 1
Back: true
Decor2:
Name: '&6&lAdminPlayerMenu'
Item: 'stained_glass_pane:1'
Slot: 9
Back: true
Decor3:
Name: '&6&lAdminPlayerMenu'
Item: 'stained_glass_pane:1'
Slot: 10
Back: true
Decor4:
Name: '&6&lAdminPlayerMenu'
Item: 'stained_glass_pane:1'
Slot: 18
Back: true
Decor5:
Name: '&6&lAdminPlayerMenu'
Item: 'stained_glass_pane:1'
Slot: 19
Back: true
Decor6:
Name: '&6&lAdminPlayerMenu'
Item: 'stained_glass_pane:1'
Slot: 27
Back: true