SethomeLuck

Sethome with luckperm add and you have perfect plugin for your serveur using luckperm and you have full controll of this plugin

24 downloads 0 followers

šŸ  SetHome Plugin — Paper 1.21.1

Complete SetHome plugin for Paper 1.21.1 featuring LuckPerms integration, cooldown system, teleport delays with cancellation, and fully customizable titles.


āœ… Features

  • Unlimited Homes (restricted per LuckPerms group)
  • Group-based Cooldowns (fully configurable)
  • Teleport Delay (cancels automatically if the player moves)
  • Fully Customizable Titles & Subtitles (supports hex colors &#RRGGBB)
  • Automated Saving (homes saved in YAML format)
  • Tab-completion enabled for all commands
  • Admin Commands (reload, list, delete)

šŸ“¦ Installation

  1. Drop the .jar file into your plugins/ directory.
  2. Ensure LuckPerms is installed on the server.
  3. Start the server — the plugins/SetHome/ folder will generate automatically.
  4. Modify config.yml according to your needs.
  5. Run /homeadmin reload to apply configuration changes without restarting.

šŸŽ® Commands

Command Description
/sethome <name> Create a home at your current position
/home <name> Teleport to a home
/delhome <name> Delete a home
/listhomes List your homes
/homeadmin reload Reload the configuration
/homeadmin list <player> View a specific player's homes
/homeadmin delete <player> <home> Delete a specific player's home

šŸ”‘ Permissions

Permission Description Default
sethome.use Grants access to basic commands true
sethome.admin Grants access to admin commands op
sethome.bypass.cooldown Bypasses teleport cooldowns op
sethome.bypass.limit Bypasses home limits op

āš™ļø LuckPerms Configuration

Group Limits (group-homes)

group-homes:
  default: 3
  vip: 6
  vip+: 10
  staff: 20
  admin: -1  # -1 = unlimited

Group Cooldowns (group-cooldowns, in seconds)

group-cooldowns:
  default: 10
  vip: 5
  vip+: 3
  staff: 0
  admin: 0

Note: If a player belongs to multiple groups, the group with the highest limit (or the lowest cooldown) takes priority.


šŸŽØ Title Customization

Titles support:

  • Legacy color codes like &a, &b, &l, etc.
  • Hex color codes like &#RRGGBB

Example in config.yml:

titles:
  teleport-success:
    enabled: true
    title: '&#00FF7F&lāœ” Arrived'
    subtitle: '&7Welcome to &a{home}&7!'
    fade-in: 10
    stay: 40
    fade-out: 20

Available Placeholders

Placeholder Available in
{home} All titles
{seconds} teleport-delay

šŸ—ļø Compilation

Prerequisites: Java 21, Maven

mvn clean package

The compiled jar file can be found in target/SetHome-1.0.0.jar.


šŸ“ Project Structure

SetHome/ ā”œā”€ā”€ src/main/java/fr/sethome/ │ ā”œā”€ā”€ SetHomePlugin.java # Main class │ ā”œā”€ā”€ commands/ │ │ ā”œā”€ā”€ SetHomeCommand.java │ │ ā”œā”€ā”€ HomeCommand.java # Teleportation + cooldown + delay │ │ ā”œā”€ā”€ DelHomeCommand.java │ │ ā”œā”€ā”€ ListHomesCommand.java │ │ ā”œā”€ā”€ HomeAdminCommand.java │ │ └── SetHomeTabCompleter.java │ ā”œā”€ā”€ listeners/ │ │ └── PlayerMoveListener.java # Cancellation on movement │ ā”œā”€ā”€ managers/ │ │ ā”œā”€ā”€ ConfigManager.java # Config loading + LP groups │ │ ā”œā”€ā”€ HomeManager.java # Home CRUD operations + YAML saving │ │ └── CooldownManager.java # Cooldown + pending tasks │ └── utils/ │ └── TitleUtil.java # Adventure API title sending └── src/main/resources/ ā”œā”€ā”€ plugin.yml ā”œā”€ā”€ config.yml └── homes.yml

No gallery available for this project.

Version Minecraft Loader Download

SethomeLuck 1.0.0

1.0.0

1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11
paper
Download