Sueta

SlashPlayer

v2.1.2

Easily moderate players on your server, useful for staff on small servers. (Ban/Mute/TP)

·Plugin

SlashPlayer is a lightweight plugin that allows staff to moderate players through the easy use of a Chest UI, and with one simple command, makes it the easiest plugin for moderating players!



Description

This plugin allows administrators and moderators to easily manage players on a server, features include:

  • Teleporting & Summoning Players
  • Change players' gamemode
  • Kick Players
  • Ban Players/Unban Players
  • Mute Players
  • Freeze/Unfreeze Players
  • Heal/Feed Players
  • Burn players
  • Kill Players
  • Open, Clear and Restore player inventories.
  • View & edit their Enderchest
  • Spawn a frend... yup... (explained below)
  • Whitelisting players

By the way, you cannot use this plugin on an 'Offline Mode server'
It MUST have access to the internet for User Data lookups.

Bungeecord-enabled Spigot servers are fine, though.

Heres the full list of Executables you can use in the GuiConfig

Executables
# These are all the functions you can use in the Gui 'Execute: " " '  
 # section of each gui item.  
 
Executables   : 
   Teleport  - teleports you to the player. 
  Summon  - summons  (  teleports  )  the player to you. 
  Heal  - fills up the player's health bar, and removes  all  potion effects. 
  Feed  - fills up their hunger bar, giving regeneration for 2 seconds. 
  Kick  - boots them off the server if they're online. 
  Kill  - kills them. Pure and simple. 
  Fly  - toggles their fly mode, if they're flying, their fly will be turned off, vice-versa. 
  Gamemode  - opens a gui to change the player's gamemode.  (  Gamemode<mode> like GamemodeSurvival  )  are also valid. 
  Whitelist  - toggles their whitelist status, can't add a player to the whitelist if they're already online! 
  Freeze  - forces them to chill out. 
  Unfreeze  - melt the ice, get outta jail free! 
  Mute  -  no  talking in chat! 
  Unmute  - unmutes them if they're muted  ...  
  Ban  - Get YEETED! 
  Unban  - Yup, removes them from being banned. 
  ClearInventory  - throws  all  the player's items into the void! permanently. 
  RestoreInventory  - restores the player's inventory from the last time you cleared it. 
  OpenInventory  - opens the player's inventory. 
  Enderchest  - opens their enderchest. 
  Burn  - GET HAWT!    (  toggle  )  
  Friend  - spawns a friend of your choosing at their location. 
  BackButton  - goes back to the previous menu.

And you can set permissions for each executable, allowing you to completely customize what your staff have access to:

Permissions
slashplayer.op  :  
    description   :  Gives access to everything! same as slashplayer.*  
    default   :  false  
    children  :  
      slashplayer.command   :  true  
      slashplayer.interactopen   :  true  
      slashplayer.rank   :  true  
      slashplayer.exempt.all   :  true  
      slashpalyer.notify   :  true  
      slashplayer.staff   :  true  
      slashplayer.ban   :  true  
      slashplayer.kick   :  true  
      slashplayer.mute   :  true  
      slashplayer.kill   :  true  
      slashplayer.clearinventory   :  true  
      slashplayer.whitelist   :  true  
      slashplayer.fly   :  true  
      slashplayer.gamemode   :  true  
      slashplayer.gamemode.all   :  true  
      slashplayer.freeze   :  true  
      slashplayer.summon   :  true  
      slashplayer.teleport   :  true  
      slashplayer.heal   :  true  
      slashplayer.feed   :  true  
      slashplayer.burn   :  true  
      slashplayer.friend   :  true  
      slashplayer.enderchest   :  true  
      slashplayer.openinventory   :  true  
  slashplayer.command  :  
    description   :  use the /player command  
    default   :  op  
  slashplayer.interactopen  :  
    description   :  click a player to open their GUI menu  
    default   :  op 
   
  slashplayer.notify  :  
    description   :  get notified of actions via broadcasts.  
    default   :  true 
   
  slashplayer.rank  :  
    description   :  base for rank settings  
    default   :  true 
   
  slashplayer.rank.0  :  
    description   :  default rank  
    default   :  true  
  slashplayer.rank.100  :  
    description   :  operator rank  
    default   :  op 
  
  
   # This makes the permisison holder exempt from all kills, mutes, bans and inventory clears... ect.   
  slashplayer.exempt  :  
    description   :  exempt from actions which hinders your fun  
    default   :  op 
   
  slashplayer.notify  :  
    description   :  notifies these players of unbans and unmutes  
    default   :  true  
  slashplayer.staff  :  
    description   :  permission to receive and process reports  
    default   :  op 
   
  slashplayer.ban  :  
    description   :  ability to ban and unban players through the gui  
    default   :  op  
  slashplayer.mute  :  
    description   :  ability to mute and unmute players through the gui  
    default   :  op  
  slashplayer.freeze  :  
    description   :  ability to freeze and unfreeze players through the gui  
    default   :  op  
  slashplayer.gamemode  :  
    description   :  ability to change a players' gamemode through the gui  
    default   :  op 
   
  slashplayer.gamemode.all  :  
    default   :  op  
    description   :   all  gamemodes  
    children  :  
      slashplayer.gamemode.survival   :  true  
      slashpalyer.gamemode.adventure   :  true  
      slashplayer.gamemode.creative   :  true  
      slashplayer.gamemode.spectator   :  true 
   
  slashplayer.gamemode.survival  :  
    default   :  op 
   
  slashplayer.gamemode.adventure  :  
    default   :  op 
   
  slashplayer.gamemode.creative  :  
    default   :  op 
   
  slashplayer.gamemode.spectator  :  
    default   :  op 
  
   
  slashplayer.heal  :  
    description   :  ability to heal a player through the gui  
    default   :  op  
  slashplayer.feed  :  
    description   :  ability to feed a player through the gui  
    default   :  op  
  slashplayer.teleport  :  
    description   :  ability to teleport to the player through the gui  
    default   :  op  
  slashplayer.summon  :  
    description   :  ability to summon the player to you through the gui  
    default   :  op  
  slashplayer.kick  :  
    description   :  ability to kick a player through the gui  
    default   :  op  
  slashplayer.fly  :  
    description   :  ability to toggle the fly of the player through the gui  
    default   :  op  
  slashplayer.kill  :  
    description   :  ability to kill the player through the gui  
    default   :  op  
  slashplayer.clearinventory  :  
    description   :  ability to clear and restore a players' inventory  
    default   :  op  
  slashplayer.whitelist  :  
    description   :  ability to add and remove players from the whitelist  
    default   :  op  
  slashplayer.burn  :  
    description   :  light me up baby!  
    default   :  op  
  slashplayer.openinventory  :  
    description   :  search their inv!  
    default   :  op  
  slashplayer.enderchest  :  
    description   :  it's the end-game version of a chest  ...  yea  ...   
    default   :  op

Benefits of using SlashPlayer

  • Uses a GUI to manage all your players
  • No dependencies
  • Small and compact
  • Simple config layout
  • Simple commands and permissions
  • Easy to learn
  • No unnecessary commands
  • No Lag!

Commands & Permissions
/player or /sp - Open the management GUI menu. (slashplayer.command)

Get notified of unbans and unmutes
slashplayer.notify

Ever tried right-clicking a player with your empty hand?? :>

Configuration Files
Heres the latest copies of the config.yml file
and the GuiConfig.yml file with all the comments ;)

config.yml
#-----------------------------------------------------------------  
 #==================================================================#  
 #                                                                  #  
 #               SlashPlayer by FlailoftheLord.                     #  
 #         -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-                  #  
 #       For questions please join my discord server:               #  
 #                https://discord.gg/wuxW5PS                        #  
 #   ______               __        _____                           #  
 #   |       |           /  \         |        |                    #  
 #   |__     |          /____\        |        |                    #  
 #   |       |         /      \       |        |                    #  
 #   |       |_____   /        \    __|__      |______              #  
 #                                                                  #  
 #==================================================================#  
 #-----------------------------------------------------------------  
 # - - -  
 # NOTE: Ranks go from 0 - 100 (in which 0 is the lowest rank) and can be applied to a user with the permission:  
 #   slashplayer.rank.#   - replace # with any number from 0 - 100,  
 # If a player does not have a rank permisison, their rank will default to 0.  
 # - - -  
 # Wether players of the same ranking can execute on each other.   
EqualsCanExecute   :  true 
 # Fill empty space in GUI's?  
 # You can set the filler item type in the 'GuiConfig.yml' file.   
FillEmptySpace   :  true 
 # Prefix for messages and commands.   
Prefix   :   "&8(&3&lSP&8)"  
 # Used for the %website% placeholder.   
Website   :   "www.myserver.com/ban-apppeals"  
 # Ban & Mute times (in seconds)  
 # 1 hour = 3600 seconds  
 # 1 day = 24 hours = 86400 seconds  
 # 1 week = 7 days = 604800 seconds  
 # 1 month = 30 days = 2592000 seconds   
BanTime   :  86400  
MuteTime   :  300 
 # Settings for frozen players.  
 # Use 'deny' or 'allow' to specify.   
Frozen  :  
  BlockInteract   :  deny  
  Interact   :  deny  
  Chat   :  allow 
  
 # Broadcast options, enable or disable for each one.   
Broadcast   :   
  Kick   :  false  
  Mute   :  false  
  Ban   :  true 
  
 # How close to stay to your frend, to be invincible   
FrendProtectionRange   :  3 
 # More console output?  
 # Note: All actions are logged in the logs files located under /logs/[Date]   
ConsoleVerbose   :  true  [  /SIZE  ]  

 [  SIZE=4  ]
GuiConfig.yml
#   There will be a sample GuiFile for each gui-filetype... just so you can see how to configure yours.  
 #  You can also follow the format of the default files like the 'PlayerGui and ReportGui' files.  
 # - - -  
 # This is the GUI which shows the players info when you click on their skull  
 # after typing /player  
 # For the Display Items, make sure to use the BUKKIT NAME  
 # You can get the full list of Bukkit Item Names from here:  
 #   https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html  
 # If you want a slot to be empty, set it to ""  
 # - - -  
 # For the Execute: "" set it to one of the Moderation Executables from the list below,  
 # This will run the command on the player when clicked  
 # For the %player% placeholder is the name of the player you selected in the player list.  
 # - - -  
 # Full List of Executables:  
 #  Teleport  - teleports you to the player.  
 #  Summon  - summons (teleports) the player to you.  
 #  Heal  - fills up the player's health bar, and removes all potion effects.  
 #  Feed  - fills up their hunger bar, giving regeneration for 2 seconds.  
 #  Kick  - boots them off the server if they're online.  
 #  Kill  - kills them. Pure and simple.  
 #  Fly  - toggles their fly mode, if they're flying, their fly will be turned off, vice-versa.  
 #  Gamemode  - opens a gui to change the player's gamemode. (Gamemode<mode> like GamemodeSurvival) are also valid.  
 #  Whitelist  - toggles their whitelist status, can't add a player to the whitelist if they're already online!  
 #  Freeze  - forces them to chill out.  
 #  Unfreeze  - melt the ice, get outta jail free!  
 #  Mute  - no talking in chat!  
 #  Unmute  - unmutes them if they're muted...  
 #  Ban  - Get YEETED!  
 #  Unban  - Yup, removes them from being banned.  
 #  ClearInventory  - throws all the player's items into the void! permanently.  
 #  RestoreInventory  - restores the player's inventory from the last time you cleared it.  
 #  OpenInventory  - opens the player's inventory.  
 #  Enderchest  - opens their enderchest.  
 #  Burn  - GET HAWT!  (toggle)  
 #  Friend  - spawns a friend of your choosing at their location.  
 #  BackButton  - goes back to the previous menu.  
 # - - -  
 # = = = = = = = = = = = = = = = = = #  
 # - - -  
 # For the GamemodeInventory set the Execute: "" to whatever gamemode you want each one to change,  
 # The GamemodeInventory is only 36 slots... so any slot from 1 - 36 is allowed  
 # Modes:  
 #  Survival  - survival gamemode - this is normal for all players  
 #  Adventure  - adventure mode - this prevents the player from breaking any blocks  
 #  Creative  -  creative mode - you know what this is... :> if you don't... rip your server.  
 #  Spectator  - spectator mode - this puts the player in a state of perpetual torture, he cannot do anything except fly around... dying... xD  
 #  BackButton  - goes back to the players menu  
 # = = = = = = = = #  
 # For CloseInventory:  if not specified or not included it will default to false.  
 # if set to true, it will close the player inventory when you click that button.  
 # = = = = = = = = #  
 # The Header is permanent, it shows the information of the player selected.  
 # If no slot is specified or the slot is invalid, it will put it in slot number 5 by default.  
 # = = = #  
 # The FillerItem: "" is the item which fills the empty space in the inventory if the option is  
 # enabled in the config, you can get a full list of 1.13 item names from here:  
 #   https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html  
 # = = = = = = = = = = #   
FillerItem   :   "Light_gray_stained_glass_pane"   
Editor  :  
  title   :  '&2SlashPlayer Gui editor'  
Header  :  
  NameColor   :   "&a"   
  info  :  
  - "&bIsFrozen&8   :   &e%status-frozen%"   
  - "&bIsMuted&8   :   &e%status-mute%"   
  - "&6Gamemode&8   :   &7%gamemode%"   
  - "&2Health&8   :   &7%health%"  

 [  SIZE=4  ]


What is a Frend?

The Frend executable will spawn a random mob at the subject's location, this mob will be named '<insert-player-name-here>'s Frend'
and if the player who owns that mob is within a set radius (you can change it in the config), they are immune to damage from all sources ... pretty neat eh? don't let your player's abuse it though >;D
However, the frend is vERy weak, two punches will kill it, (it has one heart)


Downloads:
Wow, hit 200!!
WOottt, we got 300 downloaddss!! :D
yeet... 400 O_O

Support :

Similar projects

Plugin →