JPEssentials
Everyday commands, jails, AFK, nicknames and sitting for Paper servers.
Downloads open soon.
Features
- Around 85 everyday commands: fly, heal, gamemode, nick, AFK, seen, whois, give, time, weather and more
- Each command can be on, off or left to other plugins (
commands.yml) - Jails, AFK detection, nicknames and join commands
- Custom commands and text pages (
custom-commands.yml,texts.yml) - Announcer and sitting
/jpess commandsshows which plugin handles each command
Requirements
- Paper 26.1 or newer (Java 25)
- Optional:
- PlaceholderAPI: placeholders in texts, and this plugin's own placeholders
- Vault: money (any Vault economy) and ranks
- LuckPerms: ranks, prefixes and suffixes
Installation
- Put
JPEssentials-<version>.jarin your server'spluginsfolder. - Restart the server.
plugins/JPEssentials/is created with the config and messages. - Change what you want in the files, then reload or restart.
Type /jp as an operator to see every JP plugin you have installed, its version and which optional plugins it found.
Commands
Each command can be switched on or off in commands.yml. Commands marked (*) are for every player; the rest need jpessentials.<command>.
Player
| Command | Description | Aliases | Everyone |
|---|---|---|---|
/fly | Turn flying on or off. | ||
/speed | Change how fast you fly or walk. | /flyspeed /walkspeed | |
/god | Take no damage. | /godmode | |
/heal | Fill health and hunger, remove bad effects. | ||
/feed | Fill hunger. | /eat | |
/gamemode | Change game mode. | /gm | |
/gmc | Creative mode. | ||
/gms | Survival mode. | ||
/gma | Adventure mode. | ||
/gmsp | Spectator mode. | ||
/afk | Mark yourself as away. | /away | yes |
/nick | Change the name shown in chat and the tab list. | /nickname | |
/realname | Find who uses a nickname. | yes | |
/suicide | Kill yourself. | yes | |
/ping | Show connection delay. | yes | |
/playtime | Show time played on the server. | yes | |
/seen | When a player was last online. | yes | |
/whois | Everything about a player. | ||
/near | Players close to you. | /nearby | |
/list | Players online, by rank. | /online /who /playerlist | yes |
/getpos | Show coordinates. | /coords /whereami /pos | yes |
/compass | Which way you are facing. | /direction | yes |
Moving around
| Command | Description | Aliases | Everyone |
|---|---|---|---|
/top | Go to the highest block above you. | ||
/jump | Go to the block you are looking at. | /j /jumpto | |
/descend | Go down to the next open floor. | /down |
Workstations
| Command | Description | Aliases | Everyone |
|---|---|---|---|
/enderchest | Open your ender chest (or another player's). | /ec /echest | |
/trash | A menu that deletes what you put in. | /disposal /bin | |
/craft | A crafting table anywhere. | /workbench /wb /crafting | |
/anvil | An anvil anywhere. | ||
/grindstone | A grindstone anywhere. | ||
/smithing | A smithing table anywhere. | /smithingtable | |
/stonecutter | A stonecutter anywhere. | ||
/loom | A loom anywhere. | ||
/cartography | A cartography table anywhere. | /cartographytable |
Items
| Command | Description | Aliases | Everyone |
|---|---|---|---|
/hat | Wear the item you hold. | ||
/repair | Repair items. | /fix | |
/more | Fill the stack in your hand. | ||
/give | Give an item. | ||
/item | Get an item. | /i | |
/head | A player's head. | /skull | |
/rename | Rename the item you hold (no name = reset). | /itemname | |
/lore | Edit the item's description lines. | ||
/enchant | Enchant the item you hold (level 0 removes). | ||
/unbreakable | Make the item you hold unbreakable (or not). | ||
/condense | Turn ingots, gems and more into blocks. | /compact /blocks | |
/firework | Get a random firework rocket. | /fw | |
/powertool | Run a command by clicking with the held item. | /pt | |
/book | Edit a written book. |
Time and weather
| Command | Description | Aliases | Everyone |
|---|---|---|---|
/time | Show or change the time. | ||
/sun | Clear weather. | /sunny | |
/rain | Rain. | ||
/thunder | Thunderstorm. | /storm | |
/weather | Change the weather. | ||
/ptime | Your own time of day (only you see it). | /playertime | |
/pweather | Your own weather (only you see it). | /playerweather | |
/day | Set the time to day. | ||
/noon | Set the time to noon. | ||
/night | Set the time to night. | ||
/midnight | Set the time to midnight. |
Staff tools
| Command | Description | Aliases | Everyone |
|---|---|---|---|
/invsee | Look into a player's inventory. | ||
/clearinventory | Empty an inventory. | /ci /clearinv | |
/sudo | Make a player run a command or chat. | ||
/kill | Kill a player. | ||
/smite | Strike lightning. | /lightning /thor | |
/burn | Set a player on fire. | ||
/extinguish | Put out fire. | /ext | |
/spawnmob | Spawn mobs. | /mob /spawnentity | |
/butcher | Remove mobs around you (named and tamed mobs are kept). | /killall /killmobs | |
/removeentities | Remove dropped items and other entities. | /remove /rem | |
/exp | Show or change experience (add L for levels). | ||
/broadcastworld | Announce to one world. | /bcw | |
/gc | Server speed, memory and loaded worlds. | /lag /memory /mem /uptime |
Jail
| Command | Description | Aliases | Everyone |
|---|---|---|---|
/jail | Lock a player in a jail (time like 10m, 2h, 1d; none = until). | /unjail /tjail | |
/unjail | Let a player out of jail. | ||
/setjail | Make a jail where you stand. | /createjail | |
/deljail | Remove a jail. | /removejail | |
/jails | All jails and who is in them. |
Sitting
| Command | Description | Aliases | Everyone |
|---|---|---|---|
/sit | Sit down where you stand (sneak to stand up). | /chair | yes |
/lay | Lie down (sneak to get up). | /lie /laydown | yes |
/crawl | Crawl (sneak or again to stop). | /crawl | yes |
/sittoggle | Turn sitting on stairs, or others sitting on you, on or off. | /togglesit | yes |
Server info
| Command | Description | Aliases | Everyone |
|---|---|---|---|
/rules | The server rules. | yes | |
/motd | The message of the day. | yes | |
/help | Help pages. /? | yes | |
/jpessentials | JPEssentials admin. | /jpess /ess /essentials |
/jpess is the admin command (/jpess commands, /jpess reload).
Permissions
| Permission | Default | Description |
|---|---|---|
jpessentials.admin | operators | /jpessentials reload and commands. |
jpessentials.others | operators | Use JPEssentials commands on other players. |
jpessentials.afk.exempt | nobody | Never marked AFK automatically. |
jpessentials.afk.kickexempt | operators | Never kicked for being AFK. |
jpessentials.nick.color | operators | Use colour codes in nicknames. |
jpessentials.nick.realname | operators | Use another player's real name as a nickname. |
jpessentials.repair.all | operators | /repair all |
jpessentials.enchant.unsafe | operators | Enchant above the normal level or on items that cannot normally get it. |
jpessentials.rename.color | operators | Colour codes in /rename. |
jpessentials.lore.color | operators | Colour codes in /lore. |
jpessentials.book.edit | operators | Change a written book's author and title. |
jpessentials.book.others | operators | Unsign books written by others. |
jpessentials.powertool | operators | Use powertools. |
jpessentials.invsee.modify | operators | Move items in /invsee. |
jpessentials.invsee.exempt | nobody | Your inventory cannot be changed with /invsee. |
jpessentials.enderchest.modify | operators | Move items in another player's ender chest. |
jpessentials.sudo.exempt | nobody | Cannot be targeted by /sudo. |
jpessentials.kill.exempt | nobody | Cannot be killed with /kill. |
jpessentials.jail.exempt | nobody | Cannot be jailed. |
jpessentials.seen.ip | operators | See IP addresses in /seen and /whois. |
jpessentials.seen.location | operators | See where a player logged out in /seen. |
jpessentials.keepinventory | nobody | Keep your items when you die. |
jpessentials.keepxp | nobody | Keep your levels when you die. |
jpessentials.color.sign | operators | Colour codes on signs. |
jpessentials.color.anvil | operators | Colour codes when renaming in an anvil. |
jpessentials.color.book | operators | Colour codes in books. |
jpessentials.sit.chairs | everyone | Sit on stairs, slabs and carpets by right-clicking them. |
jpessentials.sit.player | everyone | Sit on other players by right-clicking them. |
Placeholders
Needs PlaceholderAPI.
| Placeholder | Shows |
|---|---|
%jpessentials_afk% | true / false |
%jpessentials_afk_tag% | the AFK tag from messages.yml, or nothing |
%jpessentials_nick% | nickname (or the real name when none) |
%jpessentials_has_nick% | true / false |
%jpessentials_god% | true / false |
%jpessentials_fly% | true / false |
%jpessentials_jailed% | true / false |
%jpessentials_jail_time% | time left in jail |
%jpessentials_playtime% | e.g. 2d 5h |
%jpessentials_playtime_hours% | whole hours played |
%jpessentials_pose% | sit / lay / crawl / none |
Configuration
All files are in plugins/JPEssentials/. Files: commands.yml, config.yml, custom-commands.yml, messages.yml, texts.yml.
When you update the plugin, new options are added to your config.yml by themselves, with their comments. Your own settings stay as they are, and the old file is kept as config.old-v<number>.yml.
Languages: English, Spanish, Portuguese, French and German. Set language: in config.yml (en, es, pt, fr or de).
Default config.yml
# Used to add new options to this file after an update. Don't change it.
config-version: 1
# ╔══════════════════════════════════════════════════════════════════╗
# ║ JPEssentials · config.yml ║
# ╚══════════════════════════════════════════════════════════════════╝
# Everyday commands (fly, heal, gamemode, repair, invsee...), jails, AFK, nicknames
# and sitting. Apply changes with /jpess reload.
#
# The other files:
# commands.yml turn single commands on/off, and what happens when another
# plugin already has the same command (restart to apply)
# messages.yml every text players see
# texts.yml MOTD, /rules and /help pages
# custom-commands.yml your own info commands like /discord, /website, /vote
#
# Overlaps with your other plugins are handled for you:
# - A command another plugin already has (e.g. /vanish in JPStaff, /home in JPTeleport)
# is left to that plugin. "/jpess commands" shows who handles what.
# - "auto" features below are only done by JPEssentials while JPChat does not do them.
#
# Permissions: every command is jpessentials.<command> (e.g. jpessentials.fly), and
# jpessentials.<command>.others to use it on someone else. Players get /afk, /sit, /lay,
# /crawl, /list, /ping, /seen, /playtime, /rules, /motd, /help, /suicide, /getpos,
# /compass and /realname by default; everything else is for ops until you give it out,
# e.g. /lp group vip permission set jpessentials.fly true
# Language of the messages: en (messages.yml), es, pt, fr or de (lang/<code>.yml).
# Your own language: copy a file in the lang folder to lang/<code>.yml, translate it
# and set its code here (for example it for lang/it.yml).
language: en
# Replace messages.yml with the new design when the plugin is updated.
# Your old file is kept as messages.old-vX.yml. false = never touch it.
auto-update-style: true
# ----------------------------------------------------------
# Features: true = on, false = off.
# "auto" = on, unless JPChat is installed and already does it.
# ----------------------------------------------------------
features:
# Join and leave messages ([+] Player / [-] Player).
join-quit-messages: auto
# The welcome message for a player's very first join.
first-join-message: auto
# The MOTD (texts.yml) shown to players when they join.
motd: auto
# Automatic announcements (see "announcer" below).
announcer: auto
# Commands run when players join (see "join-commands" below).
join-commands: true
# /afk and automatic AFK. JPTab's [AFK] tag follows it when both are installed.
afk: true
# /nick. Nicknames show in JPChat and in the JPTab player list.
nicknames: true
# /jail and friends.
jail: true
# Keep items/levels on death with jpessentials.keepinventory / jpessentials.keepxp.
keep-on-death: true
# & colour codes on signs, anvils and books (needs jpessentials.color.sign/anvil/book).
colour-codes: true
# /sit, /lay, /crawl, sitting on stairs and on other players (settings below).
# auto = off while the standalone JPSit plugin is installed (it does the same).
sitting: auto
# /powertool (bind a command to an item).
powertools: true
hooks:
# Fill %placeholders% in MOTD, rules, help, custom commands and announcements.
placeholderapi: true
# Ranks for /list and balances for /whois.
vault: true
# How dates are written in /seen and /whois.
date-format: 'dd MMM yyyy HH:mm'
# ----------------------------------------------------------
# AFK
# ----------------------------------------------------------
afk:
# Seconds without moving before a player is AFK. 0 = only with /afk.
after-seconds: 300
# Kick players who are AFK this long (seconds). 0 = never.
# jpessentials.afk.kickexempt is never kicked.
kick-after-seconds: 0
# Tell everyone when someone goes AFK or comes back. false = only tell the player.
announce: true
# AFK players cannot be hurt.
invulnerable: false
fly:
# Players who were flying when they left are still allowed to fly when they come back.
keep-on-join: true
god:
# Players in god mode do not get hungry.
no-hunger: true
# ----------------------------------------------------------
# Nicknames (/nick)
# ----------------------------------------------------------
nick:
# Put in front of every nickname, e.g. '~' -> ~Steve. Empty = nothing.
prefix: ''
min-length: 3
max-length: 16
# Characters allowed in nicknames (a Java regex for ONE character).
allowed-characters: '[A-Za-z0-9_]'
# ----------------------------------------------------------
# Limits for commands
# ----------------------------------------------------------
near:
# /near without a number uses this radius; nobody can go above max-radius.
default-radius: 200
max-radius: 1000
jump:
# How far /jump (and /smite) can reach.
max-distance: 120
give:
# Most items /give and /item hand out at once.
max-amount: 2304
spawnmob:
# Most mobs /spawnmob makes at once.
max-amount: 50
butcher:
# Radius of /butcher and /removeentities when no number is given.
default-radius: 64
# ----------------------------------------------------------
# Jail
# ----------------------------------------------------------
# /setjail <name> where you stand, then /jail <player> [jail] [time] [reason].
# Times look like 30s, 10m, 2h, 1d, 1h30m. No time = until /unjail.
jail:
# How far jailed players may walk from the jail point. 0 = no limit.
radius: 25
# The sentence keeps running while the player is offline.
count-offline-time: true
allow-building: false
allow-interacting: false
allow-fighting: false
# Commands jailed players can still use (without the /).
allowed-commands: [rules, msg, tell, r, reply, helpop, jails, login, l, register]
# ----------------------------------------------------------
# Commands run when players join
# ----------------------------------------------------------
# "console: ..." runs as the console, "player: ..." as the player. {player} = their name.
join-commands:
first-join: []
# - 'console: give {player} bread 16'
# - 'player: spawn'
every-join: []
# ----------------------------------------------------------
# Announcer (only while JPChat's announcer is off, see features.announcer)
# ----------------------------------------------------------
announcer:
interval-seconds: 300
# Skip announcements while fewer players are online.
min-players: 1
# false = in order, true = random.
random: false
sound: BLOCK_NOTE_BLOCK_CHIME
# Each entry is one announcement, which can have several lines.
messages:
vote:
- ''
- ' <gradient:#F7971E:#FFD200><bold>ᴛɪᴘ</bold></gradient> &8» &7Vote for the server with &f/vote &7for rewards!'
- ''
discord:
- ''
- ' <gradient:#5865F2:#8EA1FF><bold>ᴅɪꜱᴄᴏʀᴅ</bold></gradient> &8» &7Join our Discord: &f/discord'
- ''
# ----------------------------------------------------------
# Sitting, lying and crawling
# ----------------------------------------------------------
sitting:
# Raise (+) or lower (-) where players sit, in blocks, if it looks off with your
# resource pack. 0.0 = normal.
height-adjust: 0.0
# Right-click a stair, slab or carpet with an empty hand to sit on it.
chairs:
enabled: true
# Only with an empty hand (so you can still place blocks on stairs).
empty-hand: true
# How close you must be, in blocks.
max-distance: 3.0
# Blocks that work as seats. *_STAIRS = every stair. Only the lower half of
# stairs and slabs counts.
blocks: ['*_STAIRS', '*_SLAB', '*_CARPET']
# Right-click another player with an empty hand to sit on their head.
# Players can turn this off for themselves with /sittoggle player.
player-sit:
enabled: true
# The player below can sneak to throw the rider off.
eject-on-sneak: true
lay:
enabled: true
crawl:
enabled: trueSupport
Questions, bugs or ideas? Join the JP Plugins Discord.
License
JPEssentials is free to use on any server, including servers that make money, but it is not open source. Don't reupload, sell or share modified copies of it. The full terms are in LICENSE.txt, which is also inside the jar.