▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Random Persistent Spawns
Random Persistent Spawns

Random Persistent Spawns

Random first time spawns, which then stay the same.

21
0

book description

Random Persistent Spawns!

Do you want to make the game more fair and random? Well now you can! People will spawn randomly around the world, depending on your settings, but that spawn point is permanent unless it becomes dangerous or they reroll it or they join someone elses.

Players are able to share their spawns by doing: /spawn share

also if they dont like it they can do: /spawn reset

The plugin requires a permissions plugin

Luckperms is supported out of the box.

Commands and perms

Player Commands (/spawn) Usage: /spawn

Description: Teleports the player to their currently set persistent spawn point.

Usage: /spawn reset

Description: Generates and sets a brand new random persistent spawn for the player (subject to cooldown).

Usage: /spawn share

Description: Sends a request to allowing them to adopt your current spawn location.

Usage: /spawn accept

Description: Accepts a pending spawn share request from , changing your spawn point to theirs (subject to cooldown).

Admin Commands (/rps) Usage: /rps reload

Description: Reloads the plugin's configuration files (cooldown times, messages, etc.).

Usage: /rps spawn

Description: Teleports the administrator directly to the specified player's persistent spawn point.

Usage: /rps remove spawn

Description: Deletes the persistent spawn point for the specified player.

Usage: /rps set spawn

Description: Sets the specified player's persistent spawn point to the administrator's current location.

Random Peristent Spawns Config

config-ver: 0
debug: true
permissions:
  add_perm_command: "lp user {PLAYER} permission set {PERMISSION} true"
  remove_perm_command: "lp user {PLAYER} permission unset {PERMISSION}"

spawn_area:
  type: radius          # options: world (worldborder), radius
  amount: 5000           # radius size (ignored if type=world)
  min_y: 64              # minimum Y level allowed
  max_y: 80            # maximum Y level allowed

biomes:
  whitelist: []          # list of allowed biomes (empty = all allowed)
  blacklist:
    # --- Standard Ocean Biomes ---
    - "minecraft:ocean"
    - "minecraft:deep_ocean"

    # --- Cold and Frozen Ocean Biomes ---
    - "minecraft:cold_ocean"
    - "minecraft:deep_cold_ocean"
    - "minecraft:frozen_ocean"
    - "minecraft:deep_frozen_ocean"

    # --- Warm Ocean Biomes ---
    - "minecraft:lukewarm_ocean"
    - "minecraft:deep_lukewarm_ocean"
    - "minecraft:warm_ocean"
    - "minecraft:deep_warm_ocean"

share:
  enabled: true          # allow spawn sharing
  distance_radius: 100   # radius around shared spawn for friends
  max_share_amount: 3    # maximum number of times a player can share
  allowed_time_between: 1h   # minimum time between /spawn accept

spawn_reset:
  allowed_time_between: 1h   # minimum time between /spawn resets

kill_on_spawn_change: true

teleport:
  enabled: false         # /spawn teleport command
  delay: 5        # seconds before teleport executes

messages:
  share_invited: "You have invited <yellow><sharee></yellow> to share your spawn."
  share_invite: "<yellow><sharer></yellow> has invited you to share their spawn. <accept_button>"
  accept_button: "<click:run_command:/spawn accept <sharer>><hover:show_text:'<green>Click to accept</green>'><green>[Accept]</green></click>"
  share_accepted: "<yellow><sharee></yellow> has accepted your spawn share."
  share_accept: "You are now sharing spawn with <yellow><sharer></yellow>"
  reset_command: "<yellow>Your spawn has been reset.</yellow>"
  teleport_start: "Teleporting to your spawn in <yellow><delay></yellow> seconds..."
  teleport_complete: "You have arrived at <yellow>your spawn</yellow>!"
  admin_spawn: "Teleported to <player>'s spawn."
  admin_remove: "Removed <player>'s spawn."
  admin_set: "Set <player>'s spawn to your location."
  error_no_spawn: "<red>No spawn is set for <player>.</red>"
  error_no_bed: "<red>No bed found, using your persistent spawn.</red>"
  error_share_disabled: "<red>Sharing is disabled.</red>"
  error_share_limit: "<red>You have reached your share limit.</red>"
  error_invalid_player: "<red>Player not found.</red>"
  error_not_safe: "<red>Spawn was unsafe; it has been rerolled.</red>"
  spawn_look: "Looking for a <green>safe spawn</green> location..."
  error_reset_cooldown: "<red>You must wait <yellow><remaining></yellow> before resetting your spawn."
  error_accept_cooldown: "<red>You must wait <yellow><remaining></yellow> before accepting another spawn share."
  config_reloaded: "<yellow>RPS has been reloaded</yellow>"

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:MIT
Опубликован:3 месяца назад
Обновлён:3 месяца назад
Главная