AdminPlayerMenu

AdminPlayerMenu

19.7k Downloads
 Need Help? Click Here!

Join us on Discord!

If you would like to seek live support, feel free to join our discord server by entering the following code in your Discord app: 011FSqSDe1KB4C1hX

Metrics 

This plugin collects metrics on the following statistics such as Server count, Cores, Players Online, and more... You may opt out at any time under the file named "bStats" please do not disable this as is motivates me to publish more updates!

Banners provided by R1NZLER
Images
    

AdminPlayerMenu is a plugin meant for the Server Owner to help out their staff learn/know every command they can execute to manage players, and make them learn quickly and easily with just one command! The plugin is extremely customizable and hoping to expand it as players discuss and give suggestions :) Will your suggestion get added? Lets find out, go to the discussion page and post your thoughts!
 
- Have a list of all online/offline players in one menu to manage all at once!
- Set prefix's and text of every message in the plugin!
- Set the item, name, lore, slot, and the command of each item in the Control Panel, with infinite pages!
- Ability to Search for a currently online/offline players and open up the ControlPanel, with an optional suggestions filter!
- Confirmation screen! Just add a "Confirm" section under the current item and have your staff confirm a command before execution!
- PlaceholderAPI support, add thousands of placeholders!
- New Multi-page Controlpanel! Not just one page of commands, oh no! You can create an infinite amount of pages by just using a "Slot" number higher than (54 * CurrentPage)!
- New Update checker! If there is a new version available, when a player joins with the proper permission, a message will be displayed with the current release!
- #1 - Download AdminPlayerMenu.jar
- #2 - Upload AdminPlayerMenu.jar into your plugins folder
- #3 - Reload/Restart your server, configure and execute "/admin reload" and set!
- /admin - Shows all online players in a player interface, allowing you to click and execute command on one click! (alias: apm)
- /adminoffline -  View/Manage all offline players in a menu GUI! (alias: apmo)
- /admin reload - Reloads the config.yml
- /admin search <player> - Searches for the specified player, and shows up the ControlPanel if they've played before!
- adminplayermenu.use - Allows the use of the plugin!
- adminplayermenu.* - All nodes that follow below
- adminplayermenu.search - Ability to use the "/admin search <player>" command
- adminplayermenu.updater - Receive a message if there is an update available!
- adminplayermenu.reload - Allows to reload the config!
- PlaceholderAPI
Default config uses two expansions of placeholderAPI, please execute "/papi ecloud download Player" and "/papi ecloud download Server" if you want to use PlaceholderAPI and make the default config work on startup!
# 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.5

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

Mind donating to a hardworking Developer!
 You may distribute this plugin as long as the download link stays on this page!
You may not copy/rename/decompile this code and claim it as yours!
Please leave a 5 Star Review if you like it! Please don't use reviews to post bugs :( Please post bugs/errors in the Discussion page! Please leave me suggestions to add on to the plugin to make it even better!
A version of this plugin that is meant for players and not primarily for admins/moderators check out OnlinePlayersMenu