FrostSpawnPlugin

Codexe Enginev1.0

Context: I need a custom Minecraft plugin for a Paper 1.21.1 server. Goal: Teleport players to a specific location based on their primary LuckPerms group, but ONLY on their very first join. Requirements: API Integration: Use the LuckPerms API to check the player's primary group. Logic: > - Listen for the PlayerJoinEvent. Check if the player has NOT played before (!player.hasPlayedBefore()). If it's their first join, wait 5 ticks (to ensure the player is fully loaded) and then teleport them based on their LuckPerms group. Configurable: Create a config.yml where I can set the World, X, Y, Z, Yaw, and Pitch for 4 groups: noord, zuid, west, and oost. Commands: > - Add a command /frostspawn reload to reload the config (permission: frost.admin). Add a command /frostspawn set <group> to set the location for a group at my current position (permission: frost.admin). Deliverables: Provide the complete Main.java class code, the plugin.yml (including the LuckPerms dependency), and a default config.yml.

8 views0 upvotes

The code of this project is kept private by its owner.

You can see its files on the left. Want something like it? Describe it to Codexe and try it on a free test server.

Make one with Codexe